kambi_mgf2inv is just a slightly modified version
mgf2inv program by Greg Ward.
files in MGF (Materials and Geometry Format,
also developed by Greg Ward) format into VRML 1.0 models (or Inventor
1.0 or 2.0).
six additional fields of node
that describe physical material properties for Phong BRDF.
These properties are already available in MGF (with the exception of two
they have to be calculated from MGF's
so writing these values into VRML was not a problem. It allowed me to test
rayhunter — raytracer based on
VRML models — on existing MGF models.
All I had to do was to convert MGF models with this program.
kambi_mgf2inv fixes also a small bug in
were sometimes marked as convex with
mgf2inv. (This is already fixed
in the current Radiance version (current, i.e. experimental, not official;
http://www.radiance-online.org/) so soon it will be fixed in official
mgf2inv version too)