POV-Ray : Newsgroups : povray.general : user_defined camera : Re: user_defined camera Server Time: 18 Jun 2019 07:08:43 GMT
  Re: user_defined camera  
From: IGM
Date: 18 May 2019 20:00:01
"IGM" <iar### [at] gmailcom> wrote:
> After some testing, I've a question: with user_defined camera, camera
> transformations (rotate and translate) won't work. Once created the three
> functions{} (for direction and location) suitable to obtain a particular effect,
> is there a way to "rotate" the whole camera? The insertion of translation is
> very simple, but for rotation things seem more complicate..

By the way, the second example found in
uses "rotate", but it has no effect...:

// Only direction functions specified
#declare Camera01 = camera {
    direction {
      function { x }
      function { y }
      function { 1 }
    location  <0,0,-2>
    rotate    y*5

Where am I wrong?

Post a reply to this message

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