Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] trouble with Triangle


Chronological Thread 
  • From: Thiago Ize <thiago@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: Re: [MANTA] trouble with Triangle
  • Date: Sat, 14 May 2005 19:27:02 -0600

ok, turns out r309 broke the Triangle class, so no need to spend time verifying whether it's broken. I'll see if I can fix it after eating some food.

Thiago

Thiago Ize wrote:

Am I missing something or is the Triangle class having issues? Try running this code for example:
   Group *model = new Group();
model->add(new Triangle(matl, Point(0,0,0), Point(2,2,0), Point(0,2,0)));
model->add(new Triangle(matl, Point(0,2,0), Point(2,2,0), Point(0,0,0)));
   group->add(model);
I would expect the output to be two triangles in the same spot, but instead I see the second triangle shifted away.

I was under the impression though that this was working fine yesterday, so I'm not sure if maybe it's because I'm running this on a different system. In any case, any ideas on whether it's me or the code?

Thanks,
Thiago







Archive powered by MHonArc 2.6.16.

Top of page