Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] Per-thread storage during intersection??


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: Re: [MANTA] Per-thread storage during intersection??
  • Date: Fri, 22 Jul 2005 12:19:26 -0700

Steven Parker wrote:

- Make a method in RenderContext similar to getScatchpad that returned a pointer to a buffer and would reallocate that buffer if it were too small. Abe, is this what you had in mind?

Yeah, this is basically what I was thinking (we could use a mutable member for the context scratchpad right?), although the first idea could work also--if there was a constant number of such objects in the scene. In either case we will make sure that the memory is allocated on the thread's node.

Abe





Archive powered by MHonArc 2.6.16.

Top of page