|
|
OK I looked at the source again and I found where the change is made. It
scales the up and right vectors, but I don't understand exactly by what
values.
What is k1/k2 equal to?
Here's the section of POV's code:
if (((had_up == false) && (had_right == false)) || (had_angle == true))
{
// resize right and up vector to get the same image
// area as we get with the perspective camera
VSub(tempv, New->Look_At, New->Location);
VLength(k1, tempv);
VLength(k2, New->Direction);
if ((k1 > EPSILON) && (k2 > EPSILON))
{
VScaleEq(New->Right, k1 / k2);
VScaleEq(New->Up, k1 / k2);
}
}
Post a reply to this message
|
|