POV-Ray : Newsgroups : povray.general : Aspect Ratio? : Re: Aspect Ratio? Server Time
2 Aug 2024 12:17:16 EDT (-0400)
  Re: Aspect Ratio?  
From: Warp
Date: 15 Oct 2004 04:16:06
Message: <416f8746@news.povray.org>
Slime <fak### [at] emailaddress> wrote:
> I think that's only true
> if the 'angle' keyword is specified

  Good to know.

  Seems like if you change the visual range of the camera with 'direction'
instead of 'angle', then 'right' will adjust the horizontal viewing range
of the image.
  So, if you want to implement this behaviour, it can be done eg. as:

camera
{ direction z*4
  location <5, 2.5, -10>
  look_at 0
  right x*image_width/image_height
}

  This is, in fact, a good tip. I'll take it into account if I write
something for the Q&T site.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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