|
|
clipka <ano### [at] anonymousorg> wrote:
> 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.
Thanks! That solves almost everything, but how would I create an array for the
orientation matrices (I assume I would to create an array of matrices and then
index through it using 'clock')?
Post a reply to this message
|
|