|
|
On 9/8/2016 6:58 PM, clipka wrote:
> Am 09.09.2016 um 00:00 schrieb Mike Horvath:
>
>> The camera is spherical. Do I really need to scale the "up" and "right"
>> vectors to the image dimensions? I was under the impression that the
>> spherical camera already automatically fills a 2:1 aspect ratio image.
>
> My bad, I didn't pay much attention to the camera type.
>
> Having had a closer look at the source code, here's my updated
> (counter-intuitive) advice:
>
> - To mirror the image vertically, flip the _right_ vector.
> - To mirror the image horizontally, flip the _up_ vector.
> - To mirror the image vertically _and_ turn the camera 180 degrees, flip
> the direction vector.
>
> Entirely untested, but that's what I infer from the source code.
>
I still suspect POV-Ray messes up when confronted with left-handed
coordinate systems in the spherical camera code. My up, right, location
and direction values work fine with a normal perspective camera. It's
only when they are applied to a spherical camera that the results are
incorrect.
Mike
Post a reply to this message
|
|