I am trying to use UVAtlas code from github in order to create a uv atlas for a 50k triangle scene.
I am beyond confused right now because of the data it returns to me:
1) Why does it return so many vertices? why does it return indices in that weird form? What does it expect me to do? I just have a list of vertices and I need UV coords generated for each one, not more, not less! why does it give me all these extra vertices???
2) How do I actually generate the texture/lightmap from this? By lightmap I mean a lightmap without the lighting computed yet.
3) Should I just not use this tool and use libigl instead?
Thanks all