Blender Git Loki
Git Commits -> Revision 444e4e3
Revision 444e4e3 by Campbell Barton (master) May 2, 2006, 11:26 (GMT) |
Commited 3ds export enhancements from Mark Stijnman (beowulff) Will need to do some updates, Mesh over NMesh and optimize some areas but it works and is a big improvement. from https://projects.blender.org/tracker/index.php?func=detail&aid=4156&group_id=9&atid=127 Detailed description: Modified the 3ds export script 3ds_export.py: - It now exports face UV correctly. 3ds only supports one UV coordinate per vertex. The script now duplicates vertices that had multiple UV pairs assigned to them so that each duplicate now only contains one and only one UV. Faces have their vertex indices adjusted accordingly. - Quads are now split into triangles better. 3ds only supports triangles, so quads need to be split into two triangles. Instead of rather arbitrarily splitting along the diagonal between points 0 and 2, the script now splits along the shortest diagonal. This creates a higher quality triangular mesh, as well as better preservation of symmetry. - Now creates an object node block, exporting object nodes, needed by some 3D importers. Among others, allows one to export object hierarchy. - Now exports Empties as 3ds Dummies. To be able to add all of the above new features, the script has been mostly rewritten and strongly restructured. Motivation for the rewrite was the desire to be able to use Blender to produce custom 3d cars for Trackmania:Sunrise (TM:S). Previously, the TM:S importer could not correctly handle the 3ds files from the Blender 3ds export script. With this version, one can export cars complete with UV textures, correct wheel placement and light placement. To my knowledge, this script would make Blender the first fully free 3d modeller that allows one to export 3ds models for TM:S (expect a tutorial soon). The ability to have proper UV coordinates exported into the 3ds file should also be very welcome to many. Add A Comment: Notepad |
Commit Details:
Full Hash: 444e4e36feab32f86cda95c22e37b2d84ebee674
SVN Revision: 7346
Parent Commit: bd09b77
Lines Changed: +687, -491
1 Modified Path:
/release/scripts/3ds_export.py (+687, -491) (Diff)