just wanted a professonal opinion in this but is there any format supported by irrlicht witch packages the mesh and textures together.
So say i create a level in 3ds max but then i want to use multiple textures, how would i produce an abstracted file that can be imported to irrlicht on the fly?
level loading and textures
Re: level loading and textures
I think the pk3 format does put textures inside. Or just put all the files into a zip-file (pk3 is basically just doing that).
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: level loading and textures
hmm i have done somethign like thgat already but i probably need support for more than one texture which i see as writing a parser for a text file which indicates what textures go where.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: level loading and textures
Seems like you have a major misconception here. Your files will automatically load all textures they require. At least most file formats do so. If you put all mesh files and textures into a zip file and mount that as a virtual device into Irrlicht, the textures will automatically be loaded from there. No need for manual parsing or any such stuff. If you intend to do something completely different you should probably descibe your intentions in detail so we can help.