• Advertisement
Sign in to follow this  

D3DFVF_XYZRHW & D3DFVF_XYZ vertices

This topic is 3961 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 am trying to draw a few triangles whose vertices are of type D3DFVF_XYZ(3d points are supplied) and few lines whose vertices are of type D3DFVF_XYZRHW(2d screen coordinates are supplied). For some reason the lines are also drawn as if their vertices are of type D3DFVF_XYZ. Should we not mix these two types of vertices?

Share this post


Link to post
Share on other sites
Advertisement
There should be no problem mixing FVFs (as long as you set the correct FVF type before drawing). What exactly are you seeing?

Share this post


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

  • Advertisement