POV-Ray : Newsgroups : povray.animations : How to align objects to camera. : Re: How to align objects to camera. Server Time
4 May 2024 14:18:21 EDT (-0400)
  Re: How to align objects to camera.  
From: Allen
Date: 15 Jan 2009 03:45:01
Message: <web.496ef6d925793fec8f162dfb0@news.povray.org>
"Bob Hughes" <omniverse charter net> wrote:
> "Allen" <bri### [at] yahoocom> wrote in message
> news:web.496ecaad4b0681c28f162dfb0@news.povray.org...
> >I have an animation which the camera is moving through the scene.  However,
> > certain objects are to remain aligned to the camera as if the camera was
> > at <0,
> > 0, 0> with right in the +x direction and up in the +y direction and
> > looking
> > along +z.  How can I take an object(s) and transform them based on the
> > camera's
> > current position, angle, etc to achieve this?
>
>
> Not absolutely positive about this but maybe you could change
> splinefollow.pov example scene (scenes\animations subfolder) to be opposite.
> Camera as object and object as camera...?
>
> Bob

I had problems because I was generating part of the file from a script.  I
didn't think to incorporate the same changes applied to the camera to the
objects, but now I just use Spline_Trans on the objects as well as the camera.


Post a reply to this message

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