Jump to content
  • Advertisement
Sign in to follow this  

[D3D] question about the canonical view

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

Hey everyone I have a small question about the so called "canonical view" (volume where all visible data should be transformed to before rasterization.). I wonder what the exact coordinates of the canonical view are. According to CodeGuru: http://www.codeguru.com/cpp/misc/misc/math/article.php/c10123/ the canonical view is a cube that extends from (–1, –1, 0) to (1, 1, 1). But i need a little more exact info on those boundaries. Should the Z be within (0 <= Z < 1) or within (0 < Z <= 1)??? and what about X and Y? The problem is, that i made an application which renders billboards at different Z coordinates. When i run it on vista, everything within the (0 <= Z <= 1) is displayed. When i run it on my XP laptop, everything within the (0 < Z <= 1) is displayed (Z=0 is not visible). How come this difference between the two systems, is it because the GFX drivers are different?? And what Z-Range is ACTUALLY VALID?? Can someone plz help me with this?

Share this post

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

  • 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!