Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] InstanceMaterial


Chronological Thread 
  • From: Austin Robison <arobison@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] InstanceMaterial
  • Date: Sun, 30 Sep 2007 23:49:56 -0600

Has anyone used InstanceMaterial::overrideMaterial successfully lately? I think it may be broken, unless I'm doing something wrong here:

   ....
   Instance* instance = new Instance(object, t);
   instance->overrideMaterial( getMaterial(object_material, color) );
   group->add(instance);
   ...

Thanks!

~Austin




  • [Manta] InstanceMaterial, Austin Robison, 10/01/2007

Archive powered by MHonArc 2.6.16.

Top of page