POV-Ray : Newsgroups : povray.general : God's Eye system ? : Re: God's Eye system ? Server Time
3 Aug 2024 20:16:07 EDT (-0400)
  Re: God's Eye system ?  
From: nospam
Date: 23 Oct 2003 17:49:45
Message: <3f97ff87.361455@localhost>
On Wed, 22 Oct 2003 10:57:06 EDT, "timothy76" <tim### [at] freemailhu>
wrote:

>Hi guyz!
>
>Maybe somebody can help me. :) How can I define a
>God's Eye coordinate system (or a camera orientation)
>in POV?
>(a right-handed coordinate system where z points
>to upward)
>
>Thanks,
>Timothy
>


like this? :

camera {
  location
  direction <0, 0, 1> // y points forward (maybe -1,
                      // depending on what you mean
                      // by right handed)
  up <0, 0, 1>  // z points to upward
  right <(image_width / image_height), 0, 0>
  // or -(image)width / image_height, depending
  // on what you mean by right handed)
  // optional rotate camera here
  // optional translate camera here
}


direction, up, and right define the coordinate
system for the render.  don't use look_at with
them or it might revert to the regular POV
coords


Post a reply to this message

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