POV-Ray : Newsgroups : povray.beta-test : Problem with camera vectors : Re: Problem with camera vectors Server Time
5 Oct 2024 00:07:34 EDT (-0400)
  Re: Problem with camera vectors  
From: clipka
Date: 19 Jun 2009 14:15:00
Message: <web.4a3bd570e6874bfc7080f32a0@news.povray.org>
Chambers <Ben### [at] gmailcom_no_underscores> wrote:
> Try the following scene.
>
> Basically, if the "right" vector is x, then shouldn't the sphere be on
> the right side of the screen?

> camera {
>  orthographic
>  up z*3
>  right x*4
>  location y*10
>  look_at 0
> }

You're operating at "gimbal lock" here (see "Apollo 13" for the dangers
associated with this condition :P) by looking straight down on your scene,
confusing POV-Ray's standard way of determining what coordinate system you want
and such.

Explicitly specifying both "direction" and "sky" should fix the ambiguities
POV-Ray is facing. You'll probably want "sky z" and "direction -z".


Post a reply to this message

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