POV-Ray : Newsgroups : povray.binaries.animations : ODE simualtion test render : Re: ODE simualtion test render Server Time
3 Jul 2024 01:18:32 EDT (-0400)
  Re: ODE simualtion test render  
From: Jaap
Date: 10 Apr 2006 13:35:00
Message: <web.443a96ff9fd94bc6a8399d8d0@news.povray.org>
"Hasan3" <PRO### [at] Yahoocom> 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

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