• Advertisement
Sign in to follow this  

Texture doesnt appear

This topic is 4425 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 made a D3D class to draw a texture on the screen. but when i run it the texture doesnt appear. I also looked at the artikel "2D in Direct3D using Textured Quads" here on gamedav but couldnt find what he was doing diffrent than me. I just give a link the the whole projectfile becouse i really dont know where im doing something wrong. I used Visual Studio 2003 to build it. Linky to the Projectfile. Fyber

Share this post


Link to post
Share on other sites
Advertisement
You are trying to draw transformed vertices. As such, they contain an RHW value. In the FVF, you need to use D3DFVF_XYZRHW instead of D3DFVF_XYZ.

Hope this helps :).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement