|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Don't know still how much sense it makes to have an arbitrary direction
> vector... maybe better would a be a way to just rotate the camera around y.
Yes, but i aim allow people to open it's source and simply render with
spherical/ods.
plants, for example, have a
# look_at posTree+y*yCam
In my C edition, i'm thinking to take the current direction, compute the
rotation around Y axis, and apply it, without any additional parameter.
In my user_defined edition, i can add a "#declare rotationY = 0" and use it in
formulas.
The fact that user_defined have 6 different function, and not 2 that can return
a vector, it's a pain.. also force me to expand theta/phi in each function, i
cannot find a syntax to declare outside. Maybe this are the reason of the little
performance drop VS the C edition.
> For the moment, you can do with adding a - sign to the z function of
> the direction to reverse it: it works with my cave to have the interior
> as the initial view.
Thanks. Anyway i know that: original ODS Google algorithm is right-handed, i
invert the Z to the left-handed POV-Ray coordinate system. I will comment this
for my rendering of plants.
Post a reply to this message
|
|