Does Irrlicht have a way of loading textures from resources? I want to use the resource compiler to save a little space in my project. And so I need to be able to load the files from compiled resources.
Thanks.
Loading textures from resources.
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
Loading textures from resources.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 26
- Joined: Sat Jan 02, 2010 12:48 pm
I know it can either load zips/pk3s
or else it can load precompiled quake levels
Code: Select all
device->getFileSystem()->addZipFileArchive("filename")
Code: Select all
scene::IQ3LevelMesh*) sm->getMesh("filename");
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
Yeah I knew about those. I mean the resources that MSVC compiles into the program.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
I wrote a cross platform Windows RSRC loader just before the 1.6 release, but it still needs a little work to bring it up-to-date with the changes that went in to the release.
You can find some info and links to the project here:
http://bitplane.net/projects/irrlicht/loaders/rsrc/
You can find some info and links to the project here:
http://bitplane.net/projects/irrlicht/loaders/rsrc/