MeshDiffusion/blender_viz/README.md

14 wiersze
813 B
Markdown
Czysty Zwykły widok Historia

2023-04-15 13:39:34 +00:00
## Usage
1. Download [Blender](https://www.blender.org/download/) and unzip to `$PATH_TO_BLENDER`. We used Blender 3.3.0.
2. Clone `https://github.com/HTDerekLiu/BlenderToolbox` under `$BLENDER_PATH`
2023-04-15 13:48:36 +00:00
3. In `blender_script.py`, set `BLENDER_PATH` accordingly. Also set `mesh_folder_path` and `output_path` to the source mesh folder path and the desired output path.
2023-04-15 13:44:53 +00:00
4. Change the scale and orientation of the mesh to render in `blender_script.py` if necessary
2023-04-15 13:55:55 +00:00
5. Optionally, change the number of samples (`num_samples`) in `blender_viz` to balance between speed and quality
2023-04-15 13:47:22 +00:00
6. Run `$PATH_TO_BLENDER/blender --background --python ./blender_script.py`
2023-04-15 13:39:34 +00:00
## Acknowledgement
2023-04-15 13:44:53 +00:00
Blender scripts and settings adapted from https://github.com/HTDerekLiu/BlenderToolbox and https://www.silviasellan.com/blender_figure.html.