Page 1 of 1

annoyances with texture mapping

Posted: Fri Mar 19, 2004 12:39 pm
by zateam
All the model formats that I have seen being used will not automatically texture themselves except for the Quake 3 map demo. Is there a way to get the models, for example .3ds format, to texture themselves in the way their files specify instead of manually skinning them with a single texture?

Posted: Fri Mar 19, 2004 7:05 pm
by pheadbaq
I haven't actually had success texturing a .x file in Irrlicht (shows up as completely black geometry: http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1783), but based on what the console spat out, it appears Irrlicht reads the texture info that .x files carry around with them and loads those textures automatically, so perhaps using .x would be a good way to go for you.

It looks like we're having the same problems with .x files though :( so what I just said may be a moot point.

Posted: Fri Mar 19, 2004 8:24 pm
by Serg Nechaeff
check the format of your textures, play with different formats, irr seems to ignore some of them, but jpg will work for sure.

Posted: Fri Mar 19, 2004 9:00 pm
by Tyn
It ignores PSD's but I suspect that irr doesn't support multi layered files.

Would be cool if it did tho, because I could map out an entire PSD file with a GUI screen and be able to hide certain layers at will to get the rest of the screens.

Recently made some progess on a related issue.

Posted: Wed Mar 24, 2004 5:57 am
by pheadbaq
This post may be of assistance if you use Blender. I was able to get a DirectX mesh exported that worked in both MeshView (comes with DX9 SDK) and Irrlicht:

http://www.elysiun.com/forum/viewtopic.php?t=22670

To work with Irrlicht, you have to open the .x file in MeshView, then resave it as a txt .x file (thanks Serg!).