POV-Ray : Newsgroups : povray.newusers : comparing POV images and photos - camera attributes : Re: comparing POV images and photos - camera attributes Server Time
28 Jul 2024 16:21:14 EDT (-0400)
  Re: comparing POV images and photos - camera attributes  
From: Jan Dvorak
Date: 18 Mar 2008 15:38:11
Message: <47e02833$1@news.povray.org>
Francesco napsal(a):
> Hi,
> 
> I need to compare POV images with some photos I took. The photo camera view
> angles were 31.5 x 24.25 degrees. I would ask:
> 
> - perspective is the most appropriate camera type?
> 
> - in my .pov file I wrote:
>   camera
> {location  <0,3,0>         // i used scale 1:1 and the height of
>                            // photocamera was 3 meters
> 
> angle 31.25
> 
> look_at   <0,0,0>}
> 
> and i noticed if i double camera height, halving camera angle, the generated
> images are different among them. Why? Should I use up and right vectors? I used
> camera location because i need to generate different images rotating the camera
> location around the origin.
> Thank you.
> 
> Francesco
> 
> 
1) If you move the viewport you can not get the same view simply because 
   of the parallax.

2)if you only consider the ground plane - if you want this to be the 
same you need to half tan(angle/2) instead of the angle itself.
In the case of your angle you should use 15.92 degrees instead of 15.62.

You can use right/up instead and you may actually find it easier.
-- 
the ultimate time-killer:
+a0.0 +am2 +r9

Johnny D


Post a reply to this message

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