Hi,
How is the perspective canonical view volume transformed to parallel canonical view volume? I am interested in the step-by-step (if possible) tutorial on how the following matrix is derived:
[...1...0...0......................0..............................]
[...0...1...0......................0..............................]
[...0...0...1/(1 - zmin)....-zmin/(1 - zmin)....]
[...0...0...-1.....................0..............................]
(The dots in the above matrix are to maintain formatting of the matrix :))
where zmin = -(_VRPz + F) / (_VRPz + B)
_VRPz = z component of View Reference Point after translating the Perspecfive Reference Point to origin and shearing the view volume such that the "center line" of view volume is parallel to the z-axis.
F is front plane and B is the back plane.
This is from the Computer Graphics book by Dr. Foley et.al (Chapter 6).
In that book the derivation of this matrix is not explained and I want to know how this is done.
BTW, what does the following equation mean and how is this derived:
z' = A + (B / z)
The eqaution is used in the book Computer Graphics using OpenGL by Prof. Hill Jr.
Cheers,
~Ajit
[HOWTO] Perspective to Parallel Canonical View Vol
Started by ajit_kamat, Jul 04 2005 09:31 AM
4 replies to this topic
#1
Posted 04 July 2005 - 09:31 AM
#2
Posted 04 July 2005 - 02:45 PM
If Prolog is the answer, what is the question ?
#3
Posted 05 July 2005 - 04:59 AM
Thanks anubis, but then again how is the following equation derived:
z' = A + (B / z)
Cheers,
~Ajit
z' = A + (B / z)
Cheers,
~Ajit
#4
Posted 05 July 2005 - 03:29 PM
What's the context of the equation z' = A + (B / z)? I.e. what are the z', z, A, and B?
reedbeta.com - developer blog, OpenGL demos, and other projects
#5
Posted 06 July 2005 - 03:30 AM
Hi Reedbeta,
Consider the Perspective Canonical View Volume (CVV) to Parallel CVV transformation.
z' is the transformed value of z from perspective CVV to parallel CVV (thats my understanding).
z' = A + (B / z)
A proper illustration for values of A, B, z and z' is given in the link provided by anubis above. (I am not able to draw the figures here)
I want to know how the above equation was derived.
Thanks and regards,
~Ajit
Consider the Perspective Canonical View Volume (CVV) to Parallel CVV transformation.
z' is the transformed value of z from perspective CVV to parallel CVV (thats my understanding).
z' = A + (B / z)
A proper illustration for values of A, B, z and z' is given in the link provided by anubis above. (I am not able to draw the figures here)
I want to know how the above equation was derived.
Thanks and regards,
~Ajit
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











