POV-Ray : Newsgroups : povray.newusers : Camera pitfalls? : Re: Camera pitfalls? Server Time
2 Nov 2024 15:27:29 EDT (-0400)
  Re: Camera pitfalls?  
From: Warp
Date: 26 Nov 2003 16:25:03
Message: <3fc51a2f@news.povray.org>
In the camera definition transformations are applied after all the
camera parameters regardless of which order you write them.

  If you want to calculate the location of the camera with transformations
and then make it to look at a certain point, you should transform the
camera location vector itself instead of the camera. (That is, use
vrotate(), multiplication as scale and addition as translate, or if
more complex transformations are needed, vtransform().)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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