POV-Ray : Newsgroups : povray.general : Rotate on local axis? : Re: Rotate on local axis? Server Time
9 Aug 2024 13:21:46 EDT (-0400)
  Re: Rotate on local axis?  
From: Greg M  Johnson
Date: 19 Jul 2000 10:28:18
Message: <3975B9D7.BE0D0BE1@my-dejanews.com>
If you meant rotate around a fixed position not at the origin:

camera{
    location<0,0,0>
    look_at <10,0,0>
    rotate Whatever
    translate Wherever
    }

If you meant rotate while staying pointed at an object not at the origin:

camera{
    location<10,0,0>
    look_at <0,0,0>
    rotate Whatever
    translate Objectposition
   }


Simple enough?

Jason Miller wrote:

> Is it possible to rotate the camera around the vector formed by its position
> to the point it is looking at?  I ask because a scene I am doing turned out
> to be 90 degrees off.
>
> Jason


Post a reply to this message

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