Jump to content
  • Advertisement


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


DirectX 7 IM X-File Problem...

This topic is 6589 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!