"Hasan3" <PRO### [at] Yahoo com> wrote:
> Jaap, very good . How can I use the Ode library with Povray OR visual basic.
> is there a sample code?
ODE is an (open source) software library. It looks like it should work with
Visual basic:
http://www.google.com/search?q=ode+"open+dynamic+engine"+"visual+basic"
I use a simple C program to run the simulation and save the transformation
matrix to a text file:
http://jwstolk.xs4all.nl/wisse/main.c (work in progress, but have a look)
then use the matrix transformation to position and rotate the objects in a
povray file:
http://jwstolk.xs4all.nl/wisse/test2.pov
some swapping withing the transformation matrix is needed, because ODE and
povray use different coordinate systems.
(and finally ffmpeg to turn the rendered frames into an mpg)
Jaap.
Post a reply to this message
|