• Advertisement


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

DirectX 7 IM X-File Problem...

This topic is 6324 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m using the CD3DFile functions (load/scale/render) to load and display my X-files in my 3d application. What I can''t figure out is how to add textures to my x-files and to get the Render() function to show them. I load the texture from a .bmp file into a LPDIRECTDRAWSURFACE7 witn the CreateTexture() function and I use SetTexture() function to add the texture to the display, and finally i use the CD3DFILE::Render() to Display the mesh, but then the texture dosn''t appear... I suppose i miss something, but what?.... lurkie...

Share this post

Link to post
Share on other sites

  • Advertisement