Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] setTimeMode()


Chronological Thread 
  • From: Abe Stephens < >
  • To: "' '" < >
  • Subject: [Manta] setTimeMode()
  • Date: Wed, 23 Jul 2008 15:13:50 -0600

Does anyone understand how MantaInterface::setTimeMode() is supposed to work?

If I call setTimeMode( FixedRate, 1.0 ), the timeScale gets set to 1.0, the frameRate stays at the default fixed rate of 15.0. It seems that in order to change the fixed frame rate for simulation, it is necessary to call setTimeMode twice, first to change the timeScale and then a second time to change the frameRate?

I think part of this was added by Steve in r1960. It looks like it is designed to facilitate switching from realtime to fixed time while an animation is running.

Abe


  • [Manta] setTimeMode(), Abe Stephens, 07/23/2008

Archive powered by MHonArc 2.6.16.

Top of page