This commit is contained in:
Huiwenshi
2025-06-13 23:53:14 +08:00
parent 70ee89e0a2
commit c88bee648e
581 changed files with 30365 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
export OPENCV_IO_ENABLE_OPENEXR=1
export OUTPUT_FOLDER=dataset/preprocessed
export BLENDER_PATH=/path/to/blender-4.0.2-linux-x64/blender
export INPUT_FILE=dataset/raw/uuid.glb
export NAME=uuid
$BLENDER_PATH -b -P render/render.py -- --object ${INPUT_FILE} --output_folder $OUTPUT_FOLDER/$NAME/render_cond --geo_mode --resolution 512
# $BLENDER_PATH -b -P render/render.py -- --object ${INPUT_FILE} --output_folder $OUTPUT_FOLDER/$NAME/render_tex --resolution 512
python3 watertight/watertight_and_sample.py --input_obj $OUTPUT_FOLDER/$NAME/render_cond/mesh.ply --output_prefix $OUTPUT_FOLDER/$NAME/geo_data/$NAME