POV-Ray : Newsgroups : povray.newusers : lens shift camera : Re: lens shift camera Server Time
1 Jun 2024 04:03:42 EDT (-0400)
  Re: lens shift camera  
From: Reactor
Date: 9 Sep 2009 19:35:00
Message: <web.4aa83a7ff237a03d921da9530@news.povray.org>
"tony" <nomail@nomail> wrote:

> camera {
>         FieldCam ()
>         perspective
>         location CamPos
>         angle 49.1343
>         //right 1.33333*x   blender parametter
>         //sky <-0.31737,0.895343,0.312469> blender parametter
>         up y <7.16376,6.23901,-6.19517>
>         transform {NoFall}
>         look_at CamLook
>         }
>
>
> I'm trying to render and make error in "up y" (Parse Error: No matching) in
> 'camera, <found instead.
>
> I'm approaching the process but I do not know what is bad.
>


The line
>         up y <7.16376,6.23901,-6.19517>

POV-ray expects a single vector after up, and you have two:  the y vector, which
is <0,1,0>, and <7.16376,6.23901,-6.19517>.  You should only have one, probably
the second one, since up y is the default for perpendicular camera vectors.
Try removing the y after up but leaving the second vector.


-Reactor


Post a reply to this message

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