Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] Unregister a callback?


Chronological Thread 
  • From: Christiaan Paul Gribble <cgribble@sci.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [MANTA] Unregister a callback?
  • Date: Wed, 16 Aug 2006 10:14:44 -0600

Hi,

Is there a way to unregister a callback? I only want it to execute under certain conditions (that tend to persist over a large number of frames), and when the termination criteria are reached, I'd like to unregister the callback. I could accomplish the same thing by having each frame that meets the criteria register a OneShot for the next frame, but that seems like a lot of overhead, given that the callback will persist for some time (e.g., over the course of a camera path).

Ideas?

C





Archive powered by MHonArc 2.6.16.

Top of page