3ds models?
Okay, im trying to load a 3ds max file into a direct3d program... I have used Conv3ds.exe to convert the file to a *.x file, and i have succesfully loaded the file as a CD3DFile. The problem is with the textures. The model is pure white. I have heard that i need to do something wiht D3Dpath, but i can''t find anyhting on that... If you can help me in any way i would appreciate it.
az
------>az
Assuming you are using directx 8. You need to make sure your texture is in your current path. If you load the file "Meshes/foo.x" the texture CD3DFile will looking for is just "foo.bmp". If CD3Dfile does not find the texture there it will look in the media directory (something like c:\mssdk\multimedia\media) for the texture. Check out http://msdn.microsoft.com/directx for more info.
ReikoX
ReikoX
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement