Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] shootOneRay


Chronological Thread 
  • From: Thiago Ize <thiago@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [MANTA] shootOneRay
  • Date: Sun, 15 Apr 2007 18:27:43 -0600

I noticed that shootOneRay in RTRT.cc is saying that shade is being called twice. Looking at the code, I see in RTRT.cc that shootOneRay does:
      result_rays.getHitMaterial(0)->shade( render_context, result_rays );
which is one of the shade calls. But a little above that traceEyeRays is called, which calls traceRays, which also calls hit_matl->shade(context, subPacket) -- the other shade call.

Since I don't consider myself an expert with the manta infrastructure, is that a bug? If not, why is that happening?
Thanks,
Thiago





Archive powered by MHonArc 2.6.16.

Top of page