首页下载资源音视频InstantTexture.zip

ZIPInstantTexture.zip

qq_448708298.69MB需要积分:1

资源文件列表:

InstantTexture.zip 大约有27个文件
  1. InstantTexture/
  2. InstantTexture/.gitignore 378B
  3. InstantTexture/build/
  4. InstantTexture/build/bdist.win-amd64/
  5. InstantTexture/build/lib/
  6. InstantTexture/build/lib/instant_texture/
  7. InstantTexture/build/lib/instant_texture/converter.py 5.64KB
  8. InstantTexture/build/lib/instant_texture/utils.py 1002B
  9. InstantTexture/build/lib/instant_texture/__init__.py 58B
  10. InstantTexture/examples/
  11. InstantTexture/examples/chair.obj 4.25MB
  12. InstantTexture/examples/convert.py 130B
  13. InstantTexture/notebooks/
  14. InstantTexture/notebooks/walkthrough.ipynb 13.47MB
  15. InstantTexture/README.md 1.25KB
  16. InstantTexture/setup.py 744B
  17. InstantTexture/src/
  18. InstantTexture/src/instant_texture/
  19. InstantTexture/src/instant_texture/converter.py 5.64KB
  20. InstantTexture/src/instant_texture/utils.py 1002B
  21. InstantTexture/src/instant_texture/__init__.py 58B
  22. InstantTexture/src/instant_texture.egg-info/
  23. InstantTexture/src/instant_texture.egg-info/dependency_links.txt 1B
  24. InstantTexture/src/instant_texture.egg-info/PKG-INFO 431B
  25. InstantTexture/src/instant_texture.egg-info/requires.txt 48B
  26. InstantTexture/src/instant_texture.egg-info/SOURCES.txt 326B
  27. InstantTexture/src/instant_texture.egg-info/top_level.txt 16B

资源介绍:

InstantTexture.zip
# InstantTexture A minimalist Python library for converting vertex-colored .obj meshes to uv-mapped, textured .glb meshes. ## Installation 1. **Clone the repository** ```bash git clone https://github.com/dylanebert/InstantTexture.git cd InstantTexture ``` 2. **Set up a virtual environment (optional)** ```bash python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` ``` 3. **Install the package locally** ```bash pip install -e . ``` ## Usage A simple usage example is provided in the `examples/convert.py` file. ```python from instant_texture import Converter input_mesh_path = "inputs/chair.obj" output_mesh_path = "outputs/chair.glb" converter = Converter() converter.convert(input_mesh_path, output_mesh_path) ``` ## Walkthrough For a complete walkthrough of the process, see the [walkthrough notebook](https://githubtocolab.com/dylanebert/InstantTexture/blob/main/notebooks/walkthrough.ipynb). ## License This project is licensed under the MIT License. See the `LICENSE` file for more details. ## Acknowledgements - [trimesh](https://github.com/mikedh/trimesh) - [xatlas](https://github.com/jpcy/xatlas) - [opencv](https://github.com/opencv/opencv) - [Pillow](https://github.com/python-pillow/Pillow)
100+评论
captcha