Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2020-07-22 06:28:43 +0300
committerMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2020-07-22 06:28:43 +0300
commit85173fa5263a34924154f26c0c457dd5e79621ea (patch)
tree0361a4ec00d77194730ad6a4e4cd28a4732864a8 /lighting_tri_lights.py
parentdbb4c80f22f7004c4f72e22b3a47e69f3cd782d2 (diff)
PLY: binary export
Thanks to Adrian Vogelsgesang (@vogelsgesang) and his binary ply export implementation proposal D4252. I did not reuse any code from his patch, but it gave me a good starting point as I had no idea how to work with binary data. In this commit: * Implement export to binary little-endian file format. * Remove information about blend filename from exported file, it has no purpose. * Binary is the default format from now on. I cannot see any reason to implement big-endian option, if there is, please let me know. Below you will find performance comparison between ASCII and binary formats. Test geometry: * Verts 379 000 * Faces 378 000 Export: * ASCII (old) 8.0 sec * ASCII 3.0 sec * Binary 2.4 sec Note: difference between old and new ASCII export is due to avoiding unnecessary normal claculation when export normals is disabled. Import: ASCII 5.75 sec Binary 4.9 sec File sizes: * ASCII 20.6 MB * Binary 10.4 MB
Diffstat (limited to 'lighting_tri_lights.py')
0 files changed, 0 insertions, 0 deletions