POV-Ray : Newsgroups : povray.beta-test : Newbie question on beta10 camera behavior-Not a bug report- : Re: Newbie question on beta10 camera behavior-Not a bug report- Server Time
30 Jul 2024 00:20:27 EDT (-0400)
  Re: Newbie question on beta10 camera behavior-Not a bug report-  
From: Coridon Henshaw
Date: 29 Jan 2002 12:17:59
Message: <Xns91A57D1AF6C1Dcsbhccse@204.213.191.226>
"Thorsten Froehlich" <tho### [at] trfde> wrote in
news:3c5670ea@news.povray.org: 

>> Beta 10 ignores the angle statement unless it is the last
>> component in the camera block (this change wasn't documented) and
>> requires the up and right vectors to be given when using the
>> orthographic camera. 
> 
> Neither is correct.  Both work at any place in the camera statement.

Try it yourself.

AngleFirst.pov:

sphere {0,2000 pigment {rgb 1} finish {ambient 1}} camera {location 
<0,0,15000> right x*(image_width/image_height) angle 25 look_at <0,0,0>}

AngleLast.pov:

sphere {0,2000 pigment {rgb 1} finish {ambient 1}} camera {location 
<0,0,15000> right x*(image_width/image_height) look_at <0,0,0> angle 25}

The angle statement in the first example is ignored.  

Orthographic vs. perspective camera:

Perspective.pov

sphere {0,2000 pigment {rgb 1} finish {ambient 1}} camera {location 
<0,0,15000> right x*(image_width/image_height) look_at <0,0,0>}

Orthographic.pov

sphere {0,2000 pigment {rgb 1} finish {ambient 1}} camera {orthographic 
location <0,0,15000> look_at <0,0,0>}

Note that the latter camera generates a completely white image rather than 
a non-perspective version of the image generated by the perspective camera.  
The up and right vectors must be specified (as I said) in order to get a 
usable field of view.


Post a reply to this message

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