Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Wavefront .obj reader?


Chronological Thread 
  • From: Li-Ta Lo <ollie@lanl.gov>
  • To: manta@sci.utah.edu
  • Subject: [Manta] Wavefront .obj reader?
  • Date: Fri, 08 Feb 2008 12:00:18 -0700
  • Organization: Los Alamos National Lab

Hi,

I am looking at OjbGroup.cc and glm.cc. I found that the version of 
glm.cc is pretty old and its interpretation ob ,mtl file may not be
correct (according to the "specification" available from 
www.fileformat.info). I found a supposed to be newer version of
the glm.cc on http://devernay.free.fr/hacks/glm/ . Are you going
to update it?

BTW, is there some kind of memory leak with this?

Flat::Flat(const Color& color)
{
  colortex = new Constant<Color>(color);
}

Flat::Flat(const Texture<Color>* colortex) : colortex(colortex)
{
}

Flat::~Flat()
{
}

why isn't colortex deleted in the destructor?

Ollie







Archive powered by MHonArc 2.6.16.

Top of page