POV-Ray : Newsgroups : povray.newusers : lens shift camera : Re: lens shift camera Server Time
17 May 2024 01:50:55 EDT (-0400)
  Re: lens shift camera  
From: tony
Date: 9 Sep 2009 17:50:00
Message: <web.4aa8220cf237a03d15c9dce10@news.povray.org>
Thanks Stephen:

When decompressing "FieldCam.zip" -> FieldCam, I put the zip extension and
returned to decompress. So are the three folders.

I put FieldCam3.inc in the "include" folder.

To obtain the parameters of lens shift, I exported to yafaray who has
implemented. These are the parameters yafaray:

<camera name="cam">
 <aperture fval="0"/>
 <bokeh_rotation fval="0"/>
 <bokeh_type sval="disk1"/>
 <dof_distance fval="0"/>
 <focal fval="1.09375"/>
 <from x="7.48113" y="-6.50764" z="5.34367"/>
 <resx ival="800"/>
 <resy ival="600"/>
 <to x="6.82627" y="-5.89697" z="4.89842"/>
 <type sval="perspective"/>
 <up x="7.16376" y="-6.19517" z="6.23901"/>
</camera>


On Povray:

#declare CamPos=<7.48113,5.34367,-6.50764>;
#declare CamLook=<6.82627,4.89842,-5.89697>;

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.

Greetings.

Tony


Post a reply to this message

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