Hello,
I did this rewriting of get_uvs() function to correctly merge the uvs.
Previously would merge all uv points with exact same coordinates with no regard to actual topology, thus merging superposed uv islands.
Differential D4006
Correctly merge uvs before exporting to alembic Authored by Maxime Robinot (maxime.robinot) on Nov 29 2018, 9:52 AM.
Details Hello, I did this rewriting of get_uvs() function to correctly merge the uvs.
Diff Detail
Event TimelineComment Actions @Sybren A. Stüvel (sybren), could you look into this? I have neither the Blender sources nor my Alembic files on my computer at the moment. Overall, apart from some style issues it looks good to me. (On a side note, some loops (here and elsewhere in the Alembic code) could be parallelized.) Comment Actions This patch appears to be against an old version of the code, please update it to latest master.
Comment Actions This is more complicated than it needs to be, there is no need for UV hashing if we are going to compare them directly. We also do not use long, because its size is platform dependent. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||