How do loaders work?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Alopex
Posts: 41
Joined: Sat Sep 12, 2015 10:12 pm

How do loaders work?

Post by Alopex »

I've read the documentation for IMeshLoader and ISceneLoader, but I'd like to know more about how irrlicht loads files, especially files with animations.

Where should I look?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: How do loaders work?

Post by mongoose7 »

CXMeshFileLoader.cpp?
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Re: How do loaders work?

Post by Seven »

Most of irrlicht classes have an interface class and then an implentation class. For example there is the video driver interface class ivideodriver but many implentation classes like the OpenGL and direct3d classes. When trying to understand one of those it might be better to look at the implentation class since it has the "real" code. The interface classes just allow you to use any derived implementation class to do the work.
Alopex
Posts: 41
Joined: Sat Sep 12, 2015 10:12 pm

Re: How do loaders work?

Post by Alopex »

@Seven

Fascinating. I assume these are found in irrlicht-1.8.2/source/irrlicht. They're the CPP files like mongoose mentioned, right?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: How do loaders work?

Post by CuteAlien »

Irrlicht 1.8.3 now ;-) But yes.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Alopex
Posts: 41
Joined: Sat Sep 12, 2015 10:12 pm

Re: How do loaders work?

Post by Alopex »

@CuteAlien

Hey, man, I'm old school. :lol:

Regardless, thanks.
Post Reply