POV-Ray : Newsgroups : povray.general : Camera angles problem : Re: Camera angles problem Server Time
29 Jul 2024 08:10:43 EDT (-0400)
  Re: Camera angles problem  
From: Bald Eagle
Date: 20 Aug 2013 15:36:37
Message: <5213c545$1@news.povray.org>
> So basically what I would like to see is the following:
> A) Rotation angle of the camera that can be used as a rotation value for
> an object taking into account the up vector as well. For instance if you
> wanted to model a specific real-life camera and test it.

I must admit, I don't really know what you're trying to accomplish.
Are you just trying to make sure that the camera is always looking at a 
certain object the same way after you move the camera?

> B) A look_at(Pos, LookAt, Up) transform macro for objects that rotates
> an object exactly like a camera.

I think that having a way to position objects absolutely, rather than 
relative to the last position would be helpful in certain instances.

Look_at ... what?  The camera?  There would need to be a way to define 
what part of the object was the "front" or however you're thinking about it.

The UP part - do you want to just make sure it's the same vector 
direction as the camera UP?  You should be able to do this by working 
from the line of sight from the camera to the center of view.
Use that axis as the center of your object's rotational movements.


Post a reply to this message

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