POV-Ray : Newsgroups : povray.general : how to use the SKY vector for CAMERA? : Re: how to use the SKY vector for CAMERA? Server Time
12 Aug 2024 07:18:43 EDT (-0400)
  Re: how to use the SKY vector for CAMERA?  
From: Nieminen Mika
Date: 19 Mar 1999 05:40:33
Message: <36f229a1.0@news.povray.org>
Lance Birch <lan### [at] usanet> wrote:
: Because with a camera there should be an easier way to control it's roll,
: since the axis should not be a world-coordinate system by an
: object-coordinate system...

  I still don't understand. I don't see any difficulty in controlling the
roll of the camera. I roll it just like any other object.
  Or do you mean that you have to use rotate _after_ location and look_at
and after that making the camera to look at a certain point is difficult?
Well, you can use something as simple as this:

#declare CamTiltAngle=radians(30);

camera
{ sky <sin(CamTiltAngle),cos(CamTiltAngle),0>
  location <1,2,-4>
  look_at 0
}

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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