Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: r2304 - in trunk: Engine/PixelSamplers Engine/RenderersEngine/Shadows Interface Model/AmbientLights Model/Instances Model/Materials Model/Primitives Model/Textures


Chronological Thread 
  • From: Thiago Ize < >
  • To:
  • Cc:
  • Subject: [Manta] Re: Re: r2304 - in trunk: Engine/PixelSamplers Engine/RenderersEngine/Shadows Interface Model/AmbientLights Model/Instances Model/Materials Model/Primitives Model/Textures
  • Date: Thu, 17 Jul 2008 12:08:38 -0600

Update to the latest version of valgrind http://valgrind.org/downloads/valgrind-3.3.1.tar.bz2 and it will just work.
Thiago

Li-Ta Lo wrote:
" type="cite">
How do you use valgrind with SSE enabled?

Ollie

On Thu, 2008-07-17 at 12:02 -0600, Thiago Ize wrote:

  
Log:
Valgrind was detecting uninitialized values in several places (often
while path tracing). This can cause or be indicative of weird hard to
track bugs. For instance, during path tracing, the interpolated
triangle normals were using the wrong barycentric coordinates. This
would result in the reflected rays being slightly off. It's a hard
effect to notice, but it is wrong.

    

  
Model/Materials/Lambertian.cc:
  -Fixed a bug where sse shading was iterating over the rays and not
   shadowrays. This results in unintialized data being accesed as well
   as slower code.

Model/Primitives/Torus.cc:
  -Added an assert to require positive radius values.

Engine/PixelSamplers/JitterSampler.cc:
  -Need to initialize rng. Otherwise you're using an uninitialized
   variable.

Engine/Renderers/KajiyaPathtracer.cc:
  -Need to swap scratchpads. It's possible other things, such as the
   scratchpad<char> and other data members also need to be swapped.

    

  



Archive powered by MHonArc 2.6.16.

Top of page