obj2rad: "bad face" and "bad triangle" workaround

Final note on this: if you don't want to run the bleeding edge version of Radiance 4.0, make sure your obj2rad mapping file has a default material and does not use "void". As far as I can tell, those two things will keep the bug from being tickled.

Randolph

···

On 2010-09-28 15:09:32 -0700, Randolph M. Fritz said:

Thanks very very much for the prompt fix, Greg. This also fixed my second bug, which involved a surface which had no assigned material type and was therefore treated like "void", triggering the bug.

Randolph

On 2010-09-28 14:30:12 -0700, Greg Ward said:

Thanks, Randolph. This was a bug. Obj2rad is supposed to quietly elide surfaces that map to the "void" type, but this has been broken, perhaps from the beginning. I just checked a fixed version into CVS.

-Greg