Lay3rss / SuGaR

Forked repo of "Official PyTorch implementation of SuGaR: Surface-Aligned Gaussian Splatting for Efficient 3D Mesh Reconstruction and High-Quality Mesh Rendering"
https://anttwo.github.io/sugar/
Other
0 stars 0 forks source link

NJJ - Bas Relief - Hotel Lambert #8

Open rebecca-lay3rs opened 7 months ago

rebecca-lay3rs commented 7 months ago

Data treatment

First results using 3DGS and Sugar

Videos Xavier

basrelief2

COLMAP Alignement
image image

basrelief4

COLMAP Alignement
image image

python train.py -s data/basrelief4/ -c outputs_GS/basrelief4/ -r "sdf" --low_poly True --poisson_depth 8 --experiment_name basrelief4

result:

3DGS Rendering Mesh
image image

basrelief6

COLMAP Alignement
image image

result:

3DGS Rendering Mesh
image image

basrelief8

COLMAP Alignement
image image

result:

3DGS Rendering Mesh
image image

basrelief10

COLMAP Alignement
image image

result:

3DGS Rendering Mesh
image image

extra: image image

basrelief12

COLMAP Alignement
image image

result:

3DGS Rendering Mesh
image image

extra: image image

Videos Victoriya

b3

PPR Alignement
image image

python train.py -s data/b3/ -c outputs_GS/b3/ -r "sdf" --low_poly True --poisson_depth 8 --experiment_name b3

result:

3DGS Rendering Mesh
image image

from the sides: image image

Template: 3DGS Rendering Mesh
rebecca-lay3rs commented 7 months ago

Trying to improve the best result: basrelief10

--vertices_density_quantile 0.2 --poisson_depth 9 -l 0.3

DATA_PATH=data/basrelief10/
GS_PATH=outputs_GS/basrelief10/ 
COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt
EXPERIMENT_NAME=basrelief10_vdq0p2_ncf0p2_pd8_sdf/
COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.2 --poisson_depth 9
image

--vertices_density_quantile 0.2 --poisson_depth 8 -l 0.3

DATA_PATH=data/basrelief10/
GS_PATH=outputs_GS/basrelief10/ 
COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt
EXPERIMENT_NAME=basrelief10_vdq0p2_ncf0p2_pd8_sdf/
COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.2 --poisson_depth 8
image

--vertices_density_quantile 0.0 --poisson_depth 7 -l 0.3

DATA_PATH=data/basrelief10/
GS_PATH=outputs_GS/basrelief10/ 
COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt
EXPERIMENT_NAME=basrelief10_vdq0_ncf0p2_pd7_sdf/
COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.0 --poisson_depth 7
image

--vertices_density_quantile 0.0 --poisson_depth 7 -l 0.3

DATA_PATH=data/basrelief10/ GS_PATH=outputs_GS/basrelief10/ COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt EXPERIMENT_NAME=basrelief10_vdq0_ncf0p2_pd7_sdf_d1M/ COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.3 -d 1000000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.0 --poisson_depth 7

--vertices_density_quantile 0.0 --poisson_depth 8 -l 0.1

DATA_PATH=data/basrelief10/ GS_PATH=outputs_GS/basrelief10/ COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt EXPERIMENT_NAME=basrelief10_vdq0_ncf0p2_pd8_sdf_l0p1/ COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.1 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.0 --poisson_depth 8

image

--vertices_density_quantile 0.0 --poisson_depth 8 -l 0.5

DATA_PATH=data/basrelief10/ GS_PATH=outputs_GS/basrelief10/ COARSE_MODEL_PATH=output/coarse/basrelief10_vdq0_ncf0p2_pd8_sdf/sugarcoarse_3Dgs7000_sdfestim05_sdfnorm02/15000.pt EXPERIMENT_NAME=basrelief10_vdq0_ncf0p2_pd8_sdf_l0p5/ COARSE_MESH_PATH=output/coarse_mesh/${EXPERIMENT_NAME}

python extract_mesh.py -s ${DATA_PATH} -c ${GS_PATH} -i 7000 -m ${COARSE_MODEL_PATH} -l 0.5 -d 200000 -o ${COARSE_MESH_PATH} --experiment_name ${EXPERIMENT_NAME} --normal_consistency_factor 0.2 --vertices_density_quantile 0.0 --poisson_depth 8

image

--vertices_density_quantile 0.0 --poisson_depth 8 -l 0.5 --normal_consistency_factor 0.4

python train.py -s data/basrelief10/ -c outputs_GS/basrelief10/ -r "sdf" --low_poly True --poisson_depth 8 --normal_consistency_factor 0.4 --vertices_density_quantile 0. --experiment_name basrelief10_vdq0_ncf0p4_pd8_sdf

image

retrain the sugar coarse model using "density"

python train.py -s data/basrelief10/ -c outputs_GS/basrelief10/ -r "density" --low_poly True --poisson_depth 8 --normal_consistency_factor 0.2 --vertices_density_quantile 0. --experiment_name basrelief10_vdq0_ncf0p2_pd8_sdf