Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Idle/Redraw


Chronological Thread 
  • From: Abe Stephens < >
  • To:
  • Cc:
  • Subject: [Manta] Re: Idle/Redraw
  • Date: Mon, 9 Jun 2008 14:24:09 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=LlmzjNGVpxjrxXUMxrwRnirJ/TXhs9N+qQNPuHWVdcVcsltdBzjnT2rUO8VcMED5sN SF5eaR9sfKAjeYVsFe0LgYLgzDOsDQ/IggYx+WzI9dho1VJNCZ2jhyglRl9VmrO8eBpm cqneyZh1sgCvGFyT9eiGXN8I1MHYUYqnxM/Ns=

Manta is designed to run at the maximum frame rate possible (like a video game) it is never idle. If your application needs to do something else during the rendering loop with the cores running manta threads, perhaps that activity could be placed inside of a parallel animation callback?

It is possible to force synchronization between Manta threads and a GUI (for example) by adding a serial animation callback that waits at a barrier shared with the GUI thread. You'd need to use the synchronization primitives in Core/Thread/. It seems likely that ray tracing will be the bottleneck in most traditional graphics applications- is this not the case in your situation?

Abe

On Jun 9, 2008, at 2:06 PM, Li-Ta Lo wrote:

Hi,

Is there a way (condition variable?) to stop the renderer after every
frame is drawn make really idle when "idle"?

Ollie






Archive powered by MHonArc 2.6.16.

Top of page