POV-Ray : Newsgroups : povray.general : user_defined camera : Re: user_defined camera Server Time
24 May 2024 16:09:21 EDT (-0400)
  Re: user_defined camera  
From: IGM
Date: 18 May 2019 16:00:01
Message: <web.5ce063e257450ea956a775350@news.povray.org>
"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
"http://wiki.povray.org/content/Reference:Camera#User_defined_projection"
uses "rotate", but it has no effect...:

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

Where am I wrong?
igmar


Post a reply to this message

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