Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Idle/Redraw


Chronological Thread 
  • From: Li-Ta Lo < >
  • To:
  • Subject: [Manta] Re: Re: Idle/Redraw
  • Date: Tue, 10 Jun 2008 13:27:17 -0600
  • Organization: Los Alamos National Lab


On Mon, 2008-06-09 at 14:24 -0600, Abe Stephens wrote:
> 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?
> 

Why do you want to draw exactly the same thing over and over? Shouldn't
most GUI applications be event driven and redraw the scene only when it
is necessary?

> 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?
> 

I am not so sure what I am expecting. When integrating Manta with VTK,
I would like to make Manta drawing a scene only when the VTK pipeline
has (new) data/primitive ready. The VTK pipeline may have a very large
dataset or are very computational intensive and I want the raytracer
yield the processor to the pipeline.

Ollie





Archive powered by MHonArc 2.6.16.

Top of page