Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] preprocess changes


Chronological Thread 
  • From: Solomon Boulos <boulos@cs.utah.edu>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: [Manta] preprocess changes
  • Date: Mon, 20 Aug 2007 17:23:44 -0600

Hi everyone,

I just checked in revision 1668 which makes some huge sweeping changes to the way PreprocessContext is going to work across Manta. Hopefully, the current changes won't really affect you that much, but here are some things to be wary of in the future:

preprocess will soon be called by every thread in parallel
preprocess will need to call context.done() to use the shared barrier
Dummy preprocess contexts will allocate a barrier (so that correct usage of context.done() doesn't segfault)

The reason this message doesn't tell you that preprocessing in Manta is going to be 8x faster now is that it's not. Until we start making some more parallel preprocess style algorithms (in the spirit that Thiago started with the rebuild and update code), we'll not see any benefits. However, the hope is that this will allow those algorithms to be expressed more easily.

One thing that is still on the TODO list is to handle bounding box updates, but the code change was already incredibly massive. So for now, the preprocess is not yet parallel, just ready to become so.

Solomon





  • [Manta] preprocess changes, Solomon Boulos, 08/20/2007

Archive powered by MHonArc 2.6.16.

Top of page