Archived

This topic is now archived and is closed to further replies.

Raistlin

Texture mapping objects

Recommended Posts

OK people I have loaded a model of my super new space fighter using D3D .... How do I map a single skin on to it ??? (Model is in DXF fromat....) PS->Any idea what format I should use for object import ?

Share this post


Link to post
Share on other sites
Hi,
.bmp and .tga are quite easy to load or you could use LibPNG for loading .png files. I don''t know the .dfx format, but I guess the UV-coordinates and the specific textures are stored in it, so it shouldn''t be a big problem to get it textured.

CU

Graphix Coding @
Skullpture Entertainment
http://www.skullpture.de

Share this post


Link to post
Share on other sites
I use the X-File format of DX. Its somewhat well documented and contains all the usefull information(except vertex transformation (hopefully with DX8)). Just write a little parser for it and be happy.
Joscha

Share this post


Link to post
Share on other sites