Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] computeBounds


Chronological Thread 
  • From: Thiago Ize <thiago@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [MANTA] computeBounds
  • Date: Tue, 19 Jun 2007 16:44:47 -0700

computeBounds takes in a PreprocessContext, but I have yet to see where that gets used. Most of my code, since it deals with dynamic scenes that occur after the preprocess stage, require calling computeBounds when I don't have access to a legit PreprocessContext, so I just make up a fake one to pass it.

Could we get rid of the requirement to pass in a PreprocessContext (and modify a bunch of code in the process)?

Also, calling computeBounds on a group that contains lots of things (imagine a 10M tri statue) is a major bottleneck on a multi core system. Could we parallelize computeBounds? Can we make Group::computeBounds return an already precomputed bbox and do the actual bounding box calculation elsewhere? Does anyone have a specific way they'd like to do this or can I just run rampant doing what I want?

Thiago





Archive powered by MHonArc 2.6.16.

Top of page