POV-Ray : Newsgroups : povray.general : How to calculate the width of an object at a given clock time? : How to calculate the width of an object at a given clock time? Server Time: 25 Oct 2020 01:44:56 GMT
  How to calculate the width of an object at a given clock time?  
From: Kima
Date: 8 Oct 2019 12:45:01
I put all the objects within a final object by union. Then, I calculate the
final object width to estimate the camera location (to have a full view of all
objects).

This approach works perfectly, but when using for an animation, the final object
width is calculated separately at each frame, which gives different camera
locations at different frames. In other words, the camera location changes
during the animation.

How can I calculate the final object width at first frame to estimate the camera
location and used it in all frames?


Post a reply to this message

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