Jump to content
  • Advertisement

Archived

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

Dave2001

3D coordinates to Screen Coordinates (D3D)

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

Hi! Is there any way to convert a vertex (D3DVERTEX) to screen coordinates (D3DTLVERTEX) in Direct3D? Thanks! Dave2001, MAILTO(Forrester6@msn.com);

Share this post


Link to post
Share on other sites
Advertisement
Yes, put the vertices in a vertex buffer then use ProcessVertices() to transform them. Since ProcessVertices() is always done in software you are able to retrieve the transformed vertices from the target vertex buffer.



- WitchLord

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!