I'm so sorry. This is not good. I have no idea what I'm doing.
This is a rough add-on for Blender allowing you to use Xatlas to unwrap and pack your uvs
It currently works on Windows/Linux (Tested on Windows 10, Windows 8, Ubuntu)
Code in /xatlas_src is modified from xatlas
- Add
./addons/blender-xatlas
to you Blender addons folder, or download the .zip in releases and install in Blender [Preferences -> Add-ons -> Install... ] - Once enabled it will appear under the Xatlas option in 3D View sidebar (Default open with 'n')
Warning! The tool will make a single user copy and triangulate your mesh (Unless using 'Pack Only')
- Make sure your file is saved
- Change your settings under Xatlas Tools
- Select the objects you wish to unwrap and unpack
- Click
Run Xatlas
- Wait for an undetermined period
- Hopefully your unwrapped uvs should appear
- Run
./bin/premake.bat
- Open
./build/vs2017/xatlas.sln
- Build
- The Output file should be copied to
./addons/blender-xatlas/xatlas
automatically
xatlas-blender.cpp