POV-Ray : Newsgroups : povray.animations : best to animate simple moving meshes : Re: best to animate simple moving meshes Server Time
18 Apr 2024 18:07:02 EDT (-0400)
  Re: best to animate simple moving meshes  
From: clipka
Date: 16 May 2012 19:07:30
Message: <4fb43332$1@news.povray.org>
Am 16.05.2012 22:53, schrieb noam:
> Hi Guys,
> I am new to the povray community, and after reading the manual I am still not
> sure what's the best way to achieve my goal:
>
> I have a simulation written in c++ in which I simulate rigid bodies moving. In
> each time step each body's position and orientation change.
> I want to render my simulation using POV-Ray. What is the correct way? I can
> output a pov file for each frame and then render each pov file and make an
> animation.
> However, as the meshes are rather large and do not change between frames (only
> their orientation and position change), I hope there's a simpler way to just
> write the mesh once and then reference it when producing the animation.
>
> What is the best way to achieve my goal?

You can generate one include file (see "#include") for the shapes, 
another one specifying their locations for each frame, and tie 
everything together in a manually created .pov file.


Post a reply to this message

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