annoyances with texture mapping
annoyances with texture mapping
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?
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.
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'
-
- Posts: 162
- Joined: Wed Nov 26, 2003 5:24 pm
- Location: Europe
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
P-III-950, WinXP, GeForce FX5600 128 MB ForceWare 52.16, DX9, Eclipse IDE, JRE 1.6
Recently made some progess on a related issue.
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!).
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'