"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
>...
> Below is some more code for you.
>...
BTW:
It would be nice if user defined cameras could be transformed directly like
other cameras. E.g. like this:
camera {
user_defined
location 0*z
direction {
function { image_width*u }
function { image_height*v }
function { image_width/2/tan(radians(Angle/2)) }
}
transform {
LookAtTransform
AnotherTransform
translate pLocation
}
}
- Then one would not have to transform the functions in order to transform the
camera.
The transformation block above does not seem to have any effect on the user
defined camera in the 3.8 version of POV-Ray that I'm using right now on my
Ubuntu PC; 3.8.0-x.freetype.unofficial (g++ 7 @ x86_64-pc-linux-gnu). I haven't
tested this on any 3.8 versions for Windows yet.
--
Tor Olav
http://subcube.com
Post a reply to this message
|