Sign in to follow this  
spiffycrony

D3DFVF_XYZRHW & D3DFVF_XYZ vertices

Recommended Posts

spiffycrony    122
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
ET3D    810
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this