|
|
On Tue, 1 Jan 2002 01:27:58 +0100, "Rune"
<run### [at] mobilixnetdk> wrote:
>You also say that the order dependency will not and cannot be removed. I
>don't understand either.
I'll dissect the source for you, namely Parse_Camera in parse.cpp, and
extract some tissue for further inspection.
* if the 'orthographic' keyword is parsed
- the camera type is changed to orthographic
- the up and right vectors are adjusted to get the same image area
as with the perspective camera
* if the 'angle' keyword is parsed
- the direction vector length is adjusted accordingly
* the 'direction', 'up' and 'right' vectors directly change the
respective camera parameters
* if the 'look_at' keyword is parsed
- the up vector is calculated
- the right vector is calculated
- the direction vector is calculated
You can see that there are different means to address the various
parameters of a perspective/orthographic camera. So you can see the
order they are specified in really counts.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|