Text archives Help
- From: Abe Stephens <abe@sci.utah.edu>
- To: manta@sci.utah.edu
- Subject: [MANTA] RNG's broken in RenderContext??
- Date: Sat, 21 Jul 2007 16:14:49 -0600
Hi, can anyone (svn blame suggests the author of r1464) shed some light
on why the rng field in render context would occasionally not be
initialized? This (presumably race condition) has only occurred outside
of Debug mode.
-Thanks
Abe
* 1 process 19749 0xb4eeaa60 in
Manta::TiledImageTraverser::renderImage (this=0x84007a8,
context=@0xab2ee2bc, image=0x8580d38)
at
/local/abe/Manta/Engine/ImageTraversers/TiledImageTraverser.cc:273
Current language: auto; currently c++
(gdb) list
273 context.rng->seed(x*xres+y);
274
context.pixelSampler->renderFragment(context, frag);
275
276 image->set(frag);
277 }
278 }
279 }
280 }
281 break;
282 default:
(gdb) p context
$1 = (const Manta::RenderContext &) @0xab2ee2bc: {rtrt_int =
0x83f26b0, channelIndex = 0, proc = 2, numProcs = 3,
frameState = 0x83f28f8, loadBalancer = 0x83f3fe0, pixelSampler
=
0x83f3fb0, renderer = 0x83eddf0, shadowAlgorithm = 0x83d4f10,
camera = 0x8400720, scene = 0x8400960, storage_allocator =
0x84002c0, rng = 0x0}
(gdb) p context.pixelSampler
$2 = (class Manta::PixelSampler *) 0x83f3fb0
(gdb)
|
- [MANTA] RNG's broken in RenderContext??, Abe Stephens, 07/21/2007
Archive powered by MHonArc 2.6.16.