- Kaunas, Lithuania
- https://aras-p.info/
- Joined on
2022-01-20
Not quite like hardcoding unit system indices in that way. As far as I can tell, these would only work as long as no one reorders to alters the unit systems arrays inside unit.cc
. Would it be better to use something like BKE_unit_base_scalar
to get the scaling factors instead?
That's an interesting idea, but it makes me wonder: should some other formats that are "unit-less" (e.g. OBJ, PLY) also get the same feature?
which is actually why this change has been in the back of my mind for a while :)
Ah!
but I'm sure there are smarter ways to compress a potentially sparse array
If the "sparse array"…
Ha! I was just looking at a very similar topic some 1.5 years ago. Two possible notes:
- At least in my tests back then, zstd compression level 1 was a tiny bit of compression ratio loss, but…
@Sean-Devonport can you check the Linux build from https://builder.blender.org/download/patch/PR128107/ to see if it behaves better?