Jump to content
  • Advertisement

Archived

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

ZeroEffect

concern when using D3DFVF_XYZRHW

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

Why is is that when I''m using the D3DFVF_XYZRHW flag for my vertex format and I set my z-value to 1.0f for all of the vertices in my vertex buffer the object doesn''t appear. (Any value below 1.0f and the object does appear.) I was under the assumption that 1.0f was the furtherest depth still visible. Has anyone else encounter this problem or possibly have an explanation for it? Thanx.

Share this post


Link to post
Share on other sites
Advertisement
It''s simple, the value has to be between 0.0f and 1.0f. The values range from 0.0f to 0.99999f so 1.0f is not a valid depth value but 0.99999f is.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!