Texture mapping objects

Started by
2 comments, last by Raistlin 24 years ago
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 ?
Advertisement
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
Graphix Coding @Skullpture Entertainmenthttp://www.skullpture.de
Great
but as far as I know dxf doesn''t have textures
or texture coordinates
any alternate formats ?
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
The last truth is that there is no magic(Feist)

This topic is closed to new replies.

Advertisement