forked from bartvdbraak/blender
A fairly major revision of the VRML97 export script.
Changes include, but may not be limited to: * Support for meshes with multiple materials/face images * Mode modular design that more closely reflects Blender's internal workings * Position, scale, and orientations are now exclusively dealt with in Transform nodes, making the math more unified and way easier to understand. * vertex colors either written when mesh has SHARED_COL face property, or when mesh has vertex colors and first material with VCOL_PAINT (a little crufty, but maybe will try a better way later) * Support for debugging output to the console by setting the 'rt' button to 42 (for mild verbosity) or 43 (for more verbosity) * Potentially long lists like vertex coordinates, face indices, etc. are now unindented (why potentially waste thousands of tab characters?) * All lines in the script are under 79 characters (as per the python style guide). A major revision will usually beget major bugs, so please test, test, test to make sure I haven't broken your favorite feature in this script! (I've done a number of tests loading output into the Bitmanagement viewer and into 3DSMax.)
This commit is contained in:
parent
2f337b6e62
commit
d41fd9079d