Merge pull request #76 from Easymode-ai/main

xatlas fix procedure, confirmed to work
This commit is contained in:
Jukka Seppänen 2025-02-22 13:59:16 +02:00 committed by GitHub
commit 6090a9051f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,16 +101,24 @@ Copy `bpt-8-16-500m.pt` to `ComfyUI-Hunyuan3DWrapper-main\hy3dgen\shapegen\bpt`
`python_embeded\python.exe -m pip uninstall xatlas`
in the portable root folder:
in the portable root folder (`ComfyUI_windows_portable`):
`git clone --recursive https://github.com/mworchel/xatlas-python.git`
`cd .\xatlas-python\`
`cd .\xatlas-python\extern`
copy `https://github.com/mworchel/xatlas-python.git` into `xatlas-python\extern\xatlas` and back to `xatlas_python`
delete `xatlas` folder
`..\python_embeded\python.exe setup.py install`
`git clone --recursive https://github.com/jpcy/xatlas`
`..\python_embeded\python.exe -m pip install .`
in `xatlas-python\extern\xatlas\source\xatlas` modify `xatlas.cpp`
change line 6774: `#if 0` to `//#if 0`
change line 6778: `#endif` to `//#endif`
Finally go back to portable root (`ComfyUI_windows_portable`) folder:
`.\python_embeded\python.exe -m pip install .\xatlas-python\`
---