POV-Ray : Newsgroups : povray.text.scene-files : Looking for rendering Omnidirectional Stereo images for VR headset : Re: Looking for rendering Omnidirectional Stereo images for VRheadset Server Time
9 May 2024 15:49:23 EDT (-0400)
  Re: Looking for rendering Omnidirectional Stereo images for VRheadset  
From: Clodo
Date: 12 Mar 2016 07:25:01
Message: <web.56e409c63b547fa14e8811590@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.