annoyances with texture mapping

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
zateam
Posts: 3
Joined: Fri Mar 19, 2004 12:30 pm

annoyances with texture mapping

Post 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?
pheadbaq
Posts: 33
Joined: Wed Dec 31, 2003 4:41 pm
Contact:

Post 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.
Pronunciation: 'feedback' ;)
Serg Nechaeff
Posts: 162
Joined: Wed Nov 26, 2003 5:24 pm
Location: Europe

Post 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.
http://www.javazing.com
P-III-950, WinXP, GeForce FX5600 128 MB ForceWare 52.16, DX9, Eclipse IDE, JRE 1.6
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post 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.
pheadbaq
Posts: 33
Joined: Wed Dec 31, 2003 4:41 pm
Contact:

Recently made some progess on a related issue.

Post 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!).
Pronunciation: 'feedback' ;)
Post Reply