Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
YuyangYin committed May 27, 2024
1 parent 16dbe1e commit 96582ad
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ python download.py --id_path test.txt
Right-click the objaverse package in `download.py` and open the `objaverse/__init__.py` file. Change `BASE_PATH='./obj_data'` to another path you prefer. Otherwise, it will download to the default system path.

4. Render 4D images

Default setting
```bash
python render.py --obj_path "./obj_data/hf-objaverse-v1/glbs" \
--save_dir './output' \
Expand All @@ -50,7 +52,7 @@ python render.py --obj_path "./obj_data/hf-objaverse-v1/glbs" \
--resolution 256 \
--mode_multi 1\
--mode_static 1\
--mode_front_view 1\
--mode_front_view 0\
--mode_four_view 0
```

Expand All @@ -62,10 +64,10 @@ Script Explanation:
- `--azimuth_aug` If set to 1, use azimuth augmentation. Images will be rendered from a random azimuth. Otherwise, set to 0.
- `--elevation_aug` If set to 1, use elevation augmentation. Images will be rendered from a random elevation. Otherwise, set to 0.
- `--resolution` Image resolution. We set 256*256. If you want higher resolution, you can set 512 or 1024.
- `--mode_multi` If set to 1, use multi-view render mode. Images will be rendered from at 'time 0,view 0' to 'time T, view T'.
- `--mode_static` If set to 1, use multi-static-view render mode. Images will be rendered from at 'time 0,view 0' to 'time 0, view T'.
- `--mode_front_view` If set to 1, use front view render mode. Images will be rendered from at 'time 0,view front' to 'time T, view front'. The front view will change with azimuth augmention.
- `--mode_four_view` If set to 1, use four view render mode. Images will be rendered from at 'time 0,view front,left,right,back' to 'time T, view front,left,right,back'.
- `--mode_multi` If set to 1, use multi-view render mode. Images will be rendered from at 'time 0,view 0' to 'time T, view T'. Otherwise, set to 0.
- `--mode_static` If set to 1, use multi-static-view render mode. Images will be rendered from at 'time 0,view 0' to 'time 0, view T'. Otherwise, set to 0.
- `--mode_front_view` If set to 1, use front view render mode. Images will be rendered from at 'time 0,view front' to 'time T, view front'. The front view will change with azimuth augmention. Otherwise, set to 0.
- `--mode_four_view` If set to 1, use four view render mode. Images will be rendered from at 'time 0,view front,left,right,back' to 'time T, view front,left,right,back'. Otherwise, set to 0.
![script](docs/static/media/render_script.png)


Expand Down

0 comments on commit 96582ad

Please sign in to comment.