[ODE] Dynamically changing the rendering...

Martin C. Martin martin at metahuman.org
Sun Oct 6 20:16:02 2002


Hey Josh,

Good to see you here, I just got back from IROS in Lausanne.  The OpenGL
library, "drawstuff," is separate from the physics library, "ode."  When
using drawstuff, you call dStepWorld() from your own function, called
simLoop() in the tests.  simLoop() is called automatically by drawstuff
every frame.  When you don't use drawstuff, you just call dStepWorld()
yourself in a loop.  It would be easy to put these into a single
executable, although I use two different executables personally.  Check
out the source code to the examples for more details.

- Martin

Joshua Bongard wrote:
> 
> Yes; can I bracket the drawstuff in an if-else so that it doesn't always
> open an OpenGL window?
> 
> On Sat, 5 Oct 2002, Benny Kramek wrote:
> 
> > Joshua Bongard wrote:
> > > Hi,
> > >   Can someone tell me how I can dynamically suppress OpenGL rendering, for
> > > example by supplying "-null" at the command prompt?
> >
> > I don't understand the question. Are you talking about the drawstuff
> > companion for ode?