Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] computeBounds


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: Re: [MANTA] computeBounds
  • Date: Tue, 19 Jun 2007 20:19:05 -0400


On Jun 19, 2007, at 7:44 PM, Thiago Ize wrote:


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

I second this. I don't think I've ever used a preprocess context while computing bounds... I'm not sure what the original intention was.....


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?

DynBVH does this, it calls extendByBox on the input bounding box and passes in the bounds of the root node... The bounds are computed during a call to rebuild.

Abe





Archive powered by MHonArc 2.6.16.

Top of page