Jump to content
  • Advertisement
Sign in to follow this  
Great_White

About Projection Transform

This topic is 3750 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, I'm wondering sth. about the projection of 3d objects. After the projection transformation, are these vertices of 3D objects projected to the near plane or the far plane ?

Share this post


Link to post
Share on other sites
Advertisement
The perspective transformation (including the nonlinear divide by w) maps the frustum volume into the box volume [-1,1]x[-1,1]x[0,1] (Direct3D style).

Share this post


Link to post
Share on other sites
The far plane is part of the frustum description. Without it, your frustum would be unbounded. It is basically to clip geometry far away from the eye.

Share this post


Link to post
Share on other sites
perspective transform maps the view frustum

into a rectangle with depth

each point on the rectangle maps

to everything in world space

that could be behind that pixel

ie: something small close up

or something big along way away

imagine each pixel is a window into the 3D world

like a real window one meter wide

it can show something close up to one meter wide

but a mountain range could be 10 thousand meter's wide

both visible in the same window

the Z coordinate of each pixel represents how far
from the camera that vertex is

hope that helps

Share this post


Link to post
Share on other sites
Quote:
Original post by skytiger
perspective transform maps the view frustum

into a rectangle with depth

each point on the rectangle maps

to everything in world space

that could be behind that pixel

ie: something small close up

or something big along way away

imagine each pixel is a window into the 3D world

like a real window one meter wide

it can show something close up to one meter wide

but a mountain range could be 10 thousand meter's wide

both visible in the same window

the Z coordinate of each pixel represents how far
from the camera that vertex is

hope that helps


It helps, so this window is near-plane of the frustum, right?

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!