Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Mesh::addTriangle()


Chronological Thread 
  • From: Li-Ta Lo <ollie@lanl.gov>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: [Manta] Mesh::addTriangle()
  • Date: Wed, 05 Mar 2008 15:45:27 -0700
  • Organization: Los Alamos National Lab

Hi,

I am confused with the Mesh::addTriangle() method (well actually the 
Mesh class). It looks like the triangles are created implicitly when
we do vertex_indices.push_back() three vertex indices at a time and
the only purpose of addTriangle is to define which kind of triangle
it is. Am I right? Can someone also explain to me what these tree
kinds of triangles are? Thanks.

Ollie







Archive powered by MHonArc 2.6.16.

Top of page