Skip to content

Commit 81cf528

Browse files
committed
Fixed various pipelines
1 parent 2db9fd6 commit 81cf528

29 files changed

+53
-47
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if (PROJECT_IS_TOP_LEVEL)
2020
# Set libigl options
2121
option(LIBIGL_PREDICATES "Use Predicates" ON)
2222
set ( SUITESPARSE_ENABLE_PROJECTS "suitesparse_config;cholmod;spqr" )
23+
option ( SUITESPARSE_USE_CUDA OFF )
2324
endif()
2425

2526
#find_package(Boost REQUIRED COMPONENTS system filesystem serialization)

figures/fig-interpolation.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
SCRIPT=$(realpath "$0")
33
SCRIPTPATH=$(dirname "$SCRIPT")
44

5-
bash ${SCRIPTPATH}/pipeline.sh interpolation_log_length &
6-
bash ${SCRIPTPATH}/pipeline.sh interpolation_log_scale &
5+
bash ${SCRIPTPATH}/pipeline.sh interpolation_log_length
6+
7+
# Need to run sequentially for interpolation
8+
wait
9+
10+
bash ${SCRIPTPATH}/pipeline.sh interpolation_log_scale

figures/pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pipeline=$1
66
output_dir=${SCRIPTPATH}/../output/${pipeline}
77
mkdir -p ${output_dir}
88
cp ${SCRIPTPATH}/pipelines/${pipeline}.json ${output_dir}/_pipeline.json
9-
python3 ${SCRIPTPATH}/../scripts/pipeline.py ${output_dir}/_pipeline.json &
9+
python3 ${SCRIPTPATH}/../scripts/pipeline.py ${output_dir}/_pipeline.json

figures/pipelines/comparison_fixed.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@
3434
}
3535
]
3636
},
37-
{
38-
"method": "refine",
39-
"skip": false,
40-
"args_list": [
41-
{
42-
"suffix": "conf"
43-
},
44-
{
45-
"suffix": "opt"
46-
}
47-
]
48-
},
4937
{
5038
"method": "colormap_histogram",
5139
"skip": false,
@@ -54,19 +42,20 @@
5442
"color": "blue",
5543
"bin_min": 0,
5644
"bin_max": 3,
57-
"label": "sym. dirichlet"
45+
"label": "sym. dirichlet",
46+
"suffix": "opt_overlay"
5847
}
5948
]
6049
},
6150
{
62-
"method": "render_pipeline",
51+
"method": "render_uv",
6352
"skip": false,
6453
"args_list": [
6554
{
66-
"suffix": "conf_refined"
55+
"suffix": "conf_overlay"
6756
},
6857
{
69-
"suffix": "opt_refined"
58+
"suffix": "opt_overlay"
7059
}
7160
]
7261
}

figures/pipelines/comparison_quadratic.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
"skip": false,
5151
"args_list": [
5252
{
53-
"suffix": "conf_simplified_with_uv",
53+
"suffix": "conf_refined",
5454
"color": "red",
5555
"bin_min": 0,
5656
"bin_max": 3,
5757
"label": "sym. dirichlet"
5858
},
5959
{
60-
"suffix": "opt_simplified_with_uv",
60+
"suffix": "opt_refined",
6161
"bin_min": 0,
6262
"bin_max": 3,
6363
"color": "blue",

figures/pipelines/disk_quadratic.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"fname": [
44
"nicolo_da_uzzano.obj"
55
],
6-
"input_dir": "data/open-myles",
6+
"input_dir": "data/open-Myles",
77
"energy_choice": "quadratic_sym_dirichlet",
88
"colormap": "sym_dirichlet",
99
"direction_choice": "projected_newton",
@@ -70,7 +70,7 @@
7070
]
7171
},
7272
{
73-
"method": "render_layout",
73+
"method": "render_uv",
7474
"skip": false,
7575
"args_list": [
7676
{
@@ -82,7 +82,7 @@
8282
]
8383
},
8484
{
85-
"method": "render_uv",
85+
"method": "render_layout",
8686
"skip": false,
8787
"args_list": [
8888
{

figures/pipelines/disk_slim.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"fname": [
44
"nicolo_da_uzzano.obj"
55
],
6-
"input_dir": "data/open-myles",
6+
"input_dir": "data/open-Myles",
77
"colormap": "sym_dirichlet",
88
"free_bd_angles": true,
99
"no_cones": true,
@@ -36,7 +36,7 @@
3636
]
3737
},
3838
{
39-
"method": "render_layout",
39+
"method": "render_uv",
4040
"skip": false,
4141
"args_list": [
4242
{
@@ -45,7 +45,7 @@
4545
]
4646
},
4747
{
48-
"method": "render_uv",
48+
"method": "render_layout",
4949
"skip": false,
5050
"args_list": [
5151
{

figures/pipelines/examples_closed.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"method": "render_uv",
6363
"skip": false,
6464
"args_list": [
65+
{
6566
"suffix": "conf_refined"
6667
},
6768
{

figures/pipelines/examples_cut.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"method": "render_uv",
6363
"skip": false,
6464
"args_list": [
65+
{
6566
"suffix": "conf_refined"
6667
},
6768
{

figures/pipelines/examples_open.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"method": "render_uv",
6363
"skip": false,
6464
"args_list": [
65+
{
6566
"suffix": "conf_refined"
6667
},
6768
{

0 commit comments

Comments
 (0)