About Projection Transform

Started by
8 comments, last by Waramp81 16 years ago
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 ?
"A human being is a part of a whole, called by us,universe, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."A. Einstein
Advertisement
near plane.
Ok then what is the purpose of the far plane?
"A human being is a part of a whole, called by us,universe, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."A. Einstein
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).

-----Quat
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.
-----Quat
So we are actually seeing the near plane on the screen right?
"A human being is a part of a whole, called by us,universe, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."A. Einstein
no answer yet?
"A human being is a part of a whole, called by us,universe, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."A. Einstein
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
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?
"A human being is a part of a whole, called by us,universe, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."A. Einstein
yes.

This topic is closed to new replies.

Advertisement