init_code
This commit is contained in:
92
assets/Sim_props/default_sim_props.yaml
Normal file
92
assets/Sim_props/default_sim_props.yaml
Normal file
@@ -0,0 +1,92 @@
|
||||
sim:
|
||||
config:
|
||||
optimize_storage: true
|
||||
|
||||
max_sim_steps: 2400
|
||||
max_frame_time: 60
|
||||
max_meshgen_time: 60
|
||||
max_sim_time: 600
|
||||
static_threshold: 0.03
|
||||
non_static_percent: 1.5
|
||||
|
||||
max_body_collisions: 35
|
||||
max_self_collisions: 300
|
||||
|
||||
zero_gravity_steps: 10
|
||||
resolution_scale: 1.0
|
||||
ground: false
|
||||
material:
|
||||
garment_tri_ka: 10000.0
|
||||
garment_edge_ke: 1.0 # Very soft fabric
|
||||
garment_tri_ke: 10000.0
|
||||
spring_ke: 50000.0
|
||||
garment_edge_kd: 10.0
|
||||
garment_tri_kd: 1.0
|
||||
spring_kd: 10.0
|
||||
fabric_density: 1.0
|
||||
fabric_thickness: 0.1
|
||||
fabric_friction: 0.5
|
||||
options:
|
||||
enable_particle_particle_collisions: false
|
||||
enable_triangle_particle_collisions: true
|
||||
enable_edge_edge_collisions: true
|
||||
enable_body_collision_filters: true
|
||||
enable_global_collision_filter: true
|
||||
|
||||
global_damping_factor: 0.25
|
||||
global_damping_effective_velocity: 0.0
|
||||
global_max_velocity: 25.0
|
||||
|
||||
enable_attachment_constraint: true
|
||||
attachment_stiffness:
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
attachment_damping:
|
||||
- 10.
|
||||
- 0.
|
||||
- 0.
|
||||
- 0.
|
||||
attachment_frames: 400
|
||||
attachment_label_names:
|
||||
- lower_interface
|
||||
- right_collar
|
||||
- left_collar
|
||||
- strapless_top
|
||||
|
||||
enable_cloth_reference_drag: true
|
||||
cloth_reference_margin: 0.1
|
||||
enable_body_smoothing: false
|
||||
smoothing_total_smoothing_factor: 1.0
|
||||
smoothing_recover_start_frame: 150
|
||||
smoothing_num_steps: 100
|
||||
smoothing_frame_gap_between_steps: 1
|
||||
body_collision_thickness: 0.25
|
||||
body_friction: 0.5
|
||||
stats:
|
||||
fails: {}
|
||||
sim_time: {}
|
||||
spf: {}
|
||||
fin_frame: {}
|
||||
self_collisions: {}
|
||||
body_collisions: {}
|
||||
render:
|
||||
config:
|
||||
resolution:
|
||||
- 800
|
||||
- 800
|
||||
sides:
|
||||
- front
|
||||
- back
|
||||
front_camera_location:
|
||||
- 0
|
||||
- 0.97
|
||||
- 4.15
|
||||
uv_texture:
|
||||
seam_width: 0.5
|
||||
dpi: 1500
|
||||
fabric_grain_texture_path: ./assets/img/fabric_texture.png
|
||||
fabric_grain_resolution: 5
|
||||
stats:
|
||||
render_time: {}
|
||||
93
assets/Sim_props/gui_sim_props.yaml
Normal file
93
assets/Sim_props/gui_sim_props.yaml
Normal file
@@ -0,0 +1,93 @@
|
||||
sim:
|
||||
config:
|
||||
optimize_storage: true
|
||||
|
||||
max_sim_steps: 2400
|
||||
max_frame_time: null # NOTE: Important for GUI!!
|
||||
# GUI runs the sim in a thread, which is not supported by timeouts on Linux/MacOS
|
||||
max_meshgen_time: 60
|
||||
max_sim_time: 600
|
||||
static_threshold: 0.03
|
||||
non_static_percent: 1.5
|
||||
|
||||
max_body_collisions: 35
|
||||
max_self_collisions: 300
|
||||
|
||||
zero_gravity_steps: 10
|
||||
resolution_scale: 1.0
|
||||
ground: false
|
||||
material:
|
||||
garment_tri_ka: 10000.0
|
||||
garment_edge_ke: 100.0 # Mid-softness fabric
|
||||
garment_tri_ke: 10000.0
|
||||
spring_ke: 50000.0
|
||||
garment_edge_kd: 10.0
|
||||
garment_tri_kd: 1.0
|
||||
spring_kd: 10.0
|
||||
fabric_density: 1.0
|
||||
fabric_thickness: 0.1
|
||||
fabric_friction: 0.5
|
||||
options:
|
||||
enable_particle_particle_collisions: false
|
||||
enable_triangle_particle_collisions: true
|
||||
enable_edge_edge_collisions: true
|
||||
enable_body_collision_filters: true
|
||||
enable_global_collision_filter: true
|
||||
|
||||
global_damping_factor: 0.25
|
||||
global_damping_effective_velocity: 0.0
|
||||
global_max_velocity: 25.0
|
||||
|
||||
enable_attachment_constraint: true
|
||||
attachment_stiffness:
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
attachment_damping:
|
||||
- 10.
|
||||
- 0.
|
||||
- 0.
|
||||
- 0.
|
||||
attachment_frames: 400
|
||||
attachment_label_names:
|
||||
- lower_interface
|
||||
- right_collar
|
||||
- left_collar
|
||||
- strapless_top
|
||||
|
||||
enable_cloth_reference_drag: true
|
||||
cloth_reference_margin: 0.1
|
||||
enable_body_smoothing: false
|
||||
smoothing_total_smoothing_factor: 1.0
|
||||
smoothing_recover_start_frame: 150
|
||||
smoothing_num_steps: 100
|
||||
smoothing_frame_gap_between_steps: 1
|
||||
body_collision_thickness: 0.25
|
||||
body_friction: 0.5
|
||||
stats:
|
||||
fails: {}
|
||||
sim_time: {}
|
||||
spf: {}
|
||||
fin_frame: {}
|
||||
self_collisions: {}
|
||||
body_collisions: {}
|
||||
render:
|
||||
config:
|
||||
resolution:
|
||||
- 800
|
||||
- 800
|
||||
sides:
|
||||
- front
|
||||
- back
|
||||
front_camera_location:
|
||||
- 0
|
||||
- 0.97
|
||||
- 4.15
|
||||
uv_texture:
|
||||
seam_width: 0.5
|
||||
dpi: 1500
|
||||
fabric_grain_texture_path: ./assets/img/fabric_texture.png
|
||||
fabric_grain_resolution: 5
|
||||
stats:
|
||||
render_time: {}
|
||||
92
assets/Sim_props/mid_bending.yaml
Normal file
92
assets/Sim_props/mid_bending.yaml
Normal file
@@ -0,0 +1,92 @@
|
||||
sim:
|
||||
config:
|
||||
optimize_storage: true
|
||||
|
||||
max_sim_steps: 2400
|
||||
max_frame_time: 60
|
||||
max_meshgen_time: 60
|
||||
max_sim_time: 600
|
||||
static_threshold: 0.03
|
||||
non_static_percent: 1.5
|
||||
|
||||
max_body_collisions: 35
|
||||
max_self_collisions: 300
|
||||
|
||||
zero_gravity_steps: 10
|
||||
resolution_scale: 1.0
|
||||
ground: false
|
||||
material:
|
||||
garment_tri_ka: 10000.0
|
||||
garment_edge_ke: 100.0
|
||||
garment_tri_ke: 10000.0
|
||||
spring_ke: 50000.0
|
||||
garment_edge_kd: 10.0
|
||||
garment_tri_kd: 1.0
|
||||
spring_kd: 10.0
|
||||
fabric_density: 1.0
|
||||
fabric_thickness: 0.1
|
||||
fabric_friction: 0.5
|
||||
options:
|
||||
enable_particle_particle_collisions: false
|
||||
enable_triangle_particle_collisions: true
|
||||
enable_edge_edge_collisions: true
|
||||
enable_body_collision_filters: true
|
||||
enable_global_collision_filter: true
|
||||
|
||||
global_damping_factor: 0.25
|
||||
global_damping_effective_velocity: 0.0
|
||||
global_max_velocity: 25.0
|
||||
|
||||
enable_attachment_constraint: true
|
||||
attachment_stiffness:
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
attachment_damping:
|
||||
- 10.
|
||||
- 0.
|
||||
- 0.
|
||||
- 0.
|
||||
attachment_frames: 400
|
||||
attachment_label_names:
|
||||
- lower_interface
|
||||
- right_collar
|
||||
- left_collar
|
||||
- strapless_top
|
||||
|
||||
enable_cloth_reference_drag: true
|
||||
cloth_reference_margin: 0.1
|
||||
enable_body_smoothing: false
|
||||
smoothing_total_smoothing_factor: 1.0
|
||||
smoothing_recover_start_frame: 150
|
||||
smoothing_num_steps: 100
|
||||
smoothing_frame_gap_between_steps: 1
|
||||
body_collision_thickness: 0.25
|
||||
body_friction: 0.5
|
||||
stats:
|
||||
fails: {}
|
||||
sim_time: {}
|
||||
spf: {}
|
||||
fin_frame: {}
|
||||
self_collisions: {}
|
||||
body_collisions: {}
|
||||
render:
|
||||
config:
|
||||
resolution:
|
||||
- 800
|
||||
- 800
|
||||
sides:
|
||||
- front
|
||||
- back
|
||||
front_camera_location:
|
||||
- 0
|
||||
- 0.97
|
||||
- 4.15
|
||||
uv_texture:
|
||||
seam_width: 0.5
|
||||
dpi: 1500
|
||||
fabric_grain_texture_path: ./assets/img/fabric_texture.png
|
||||
fabric_grain_resolution: 5
|
||||
stats:
|
||||
render_time: {}
|
||||
92
assets/Sim_props/minimal_bending.yaml
Normal file
92
assets/Sim_props/minimal_bending.yaml
Normal file
@@ -0,0 +1,92 @@
|
||||
sim:
|
||||
config:
|
||||
optimize_storage: true
|
||||
|
||||
max_sim_steps: 2400
|
||||
max_frame_time: 60
|
||||
max_meshgen_time: 60
|
||||
max_sim_time: 600
|
||||
static_threshold: 0.03
|
||||
non_static_percent: 1.5
|
||||
|
||||
max_body_collisions: 35
|
||||
max_self_collisions: 300
|
||||
|
||||
zero_gravity_steps: 10
|
||||
resolution_scale: 1.0
|
||||
ground: false
|
||||
material:
|
||||
garment_tri_ka: 10000.0
|
||||
garment_edge_ke: 500.0
|
||||
garment_tri_ke: 10000.0
|
||||
spring_ke: 50000.0
|
||||
garment_edge_kd: 10.0
|
||||
garment_tri_kd: 1.0
|
||||
spring_kd: 10.0
|
||||
fabric_density: 1.0
|
||||
fabric_thickness: 0.1
|
||||
fabric_friction: 0.5
|
||||
options:
|
||||
enable_particle_particle_collisions: false
|
||||
enable_triangle_particle_collisions: true
|
||||
enable_edge_edge_collisions: true
|
||||
enable_body_collision_filters: true
|
||||
enable_global_collision_filter: true
|
||||
|
||||
global_damping_factor: 0.25
|
||||
global_damping_effective_velocity: 0.0
|
||||
global_max_velocity: 25.0
|
||||
|
||||
enable_attachment_constraint: true
|
||||
attachment_stiffness:
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
- 1000.
|
||||
attachment_damping:
|
||||
- 10.
|
||||
- 0.
|
||||
- 0.
|
||||
- 0.
|
||||
attachment_frames: 400
|
||||
attachment_label_names:
|
||||
- lower_interface
|
||||
- right_collar
|
||||
- left_collar
|
||||
- strapless_top
|
||||
|
||||
enable_cloth_reference_drag: true
|
||||
cloth_reference_margin: 0.1
|
||||
enable_body_smoothing: false
|
||||
smoothing_total_smoothing_factor: 1.0
|
||||
smoothing_recover_start_frame: 150
|
||||
smoothing_num_steps: 100
|
||||
smoothing_frame_gap_between_steps: 1
|
||||
body_collision_thickness: 0.25
|
||||
body_friction: 0.5
|
||||
stats:
|
||||
fails: {}
|
||||
sim_time: {}
|
||||
spf: {}
|
||||
fin_frame: {}
|
||||
self_collisions: {}
|
||||
body_collisions: {}
|
||||
render:
|
||||
config:
|
||||
resolution:
|
||||
- 800
|
||||
- 800
|
||||
sides:
|
||||
- front
|
||||
- back
|
||||
front_camera_location:
|
||||
- 0
|
||||
- 0.97
|
||||
- 4.15
|
||||
uv_texture:
|
||||
seam_width: 0.5
|
||||
dpi: 1500
|
||||
fabric_grain_texture_path: ./assets/img/fabric_texture.png
|
||||
fabric_grain_resolution: 5
|
||||
stats:
|
||||
render_time: {}
|
||||
75
assets/Sim_props/soft_flexy_ochra 30s.json
Normal file
75
assets/Sim_props/soft_flexy_ochra 30s.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"body": "f_average_A40.obj",
|
||||
"render": {
|
||||
"config": {
|
||||
"garment_color": [
|
||||
0.6359999775886536,
|
||||
0.43511512875556946,
|
||||
0.04769999161362648
|
||||
],
|
||||
"resolution": [
|
||||
800,
|
||||
800
|
||||
]
|
||||
},
|
||||
"stats": {
|
||||
"render_time": {}
|
||||
}
|
||||
},
|
||||
"scan_imitation": {
|
||||
"config": {
|
||||
"test_rays_num": 30,
|
||||
"visible_rays_num": 4
|
||||
},
|
||||
"stats": {}
|
||||
},
|
||||
"sim": {
|
||||
"config": {
|
||||
"body_friction": 0.25,
|
||||
"collision_thickness": 0.04,
|
||||
"material": {
|
||||
"air_drag": 0.01,
|
||||
"bend_angle_dropoff": 0.11,
|
||||
"bend_damp": 0.1,
|
||||
"bend_damp_dropoff": 0.0,
|
||||
"bend_plasticity": 0.0,
|
||||
"bend_resistance": 0.03,
|
||||
"bend_yield": 0.0,
|
||||
"compression_resistance": 100.0,
|
||||
"density": 0.015,
|
||||
"friction": 0.01,
|
||||
"length_scale": 1.0,
|
||||
"pressure": 0.0,
|
||||
"rubber": 1,
|
||||
"shear_resistance": 0.4,
|
||||
"stretch_damp": 0.2,
|
||||
"stretch_resistance": 25.0,
|
||||
"viscous_damp": 0.0,
|
||||
"warp_resistance_scale": 1.0,
|
||||
"warp_rubber_scale": 1.0,
|
||||
"weft_resistance_scale": 1.0,
|
||||
"weft_rubber_scale": 1.0
|
||||
},
|
||||
"max_sim_steps": 1500,
|
||||
"non_static_percent": 1.5,
|
||||
"object_intersect_border_threshold": 100,
|
||||
"resolution_scale": 9.0,
|
||||
"self_intersect_hit_threshold": 0,
|
||||
"static_threshold": 0.01,
|
||||
"zero_gravity_steps": 5
|
||||
},
|
||||
"stats": {
|
||||
"fails": {
|
||||
"crashes": [],
|
||||
"fast_finish": [],
|
||||
"intersect_colliders": [],
|
||||
"intersect_self": [],
|
||||
"pattern_loading": [],
|
||||
"static_equilibrium": []
|
||||
},
|
||||
"fin_frame": {},
|
||||
"sim_time": {},
|
||||
"spf": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
75
assets/Sim_props/soft_ochra.json
Normal file
75
assets/Sim_props/soft_ochra.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"body": "f_average_A40.obj",
|
||||
"render": {
|
||||
"config": {
|
||||
"garment_color": [
|
||||
0.6359999775886536,
|
||||
0.43511512875556946,
|
||||
0.04769999161362648
|
||||
],
|
||||
"resolution": [
|
||||
800,
|
||||
800
|
||||
]
|
||||
},
|
||||
"stats": {
|
||||
"render_time": {}
|
||||
}
|
||||
},
|
||||
"scan_imitation": {
|
||||
"config": {
|
||||
"test_rays_num": 30,
|
||||
"visible_rays_num": 4
|
||||
},
|
||||
"stats": {}
|
||||
},
|
||||
"sim": {
|
||||
"config": {
|
||||
"body_friction": 0.25,
|
||||
"collision_thickness": 0.04,
|
||||
"material": {
|
||||
"air_drag": 0.01,
|
||||
"bend_angle_dropoff": 0.11,
|
||||
"bend_damp": 0.1,
|
||||
"bend_damp_dropoff": 0.0,
|
||||
"bend_plasticity": 0.0,
|
||||
"bend_resistance": 0.03,
|
||||
"bend_yield": 0.0,
|
||||
"compression_resistance": 100.0,
|
||||
"density": 0.015,
|
||||
"friction": 0.01,
|
||||
"length_scale": 1.0,
|
||||
"pressure": 0.0,
|
||||
"rubber": 1,
|
||||
"shear_resistance": 0.4,
|
||||
"stretch_damp": 0.2,
|
||||
"stretch_resistance": 400.0,
|
||||
"viscous_damp": 0.0,
|
||||
"warp_resistance_scale": 1.0,
|
||||
"warp_rubber_scale": 1.0,
|
||||
"weft_resistance_scale": 1.0,
|
||||
"weft_rubber_scale": 1.0
|
||||
},
|
||||
"max_sim_steps": 1500,
|
||||
"non_static_percent": 1.5,
|
||||
"object_intersect_border_threshold": 100,
|
||||
"resolution_scale": 9.0,
|
||||
"self_intersect_hit_threshold": 0,
|
||||
"static_threshold": 0.01,
|
||||
"zero_gravity_steps": 5
|
||||
},
|
||||
"stats": {
|
||||
"fails": {
|
||||
"crashes": [],
|
||||
"fast_finish": [],
|
||||
"intersect_colliders": [],
|
||||
"intersect_self": [],
|
||||
"pattern_loading": [],
|
||||
"static_equilibrium": []
|
||||
},
|
||||
"fin_frame": {},
|
||||
"sim_time": {},
|
||||
"spf": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
75
assets/Sim_props/stiff_ochra.json
Normal file
75
assets/Sim_props/stiff_ochra.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"body": "f_average_A40.obj",
|
||||
"render": {
|
||||
"config": {
|
||||
"garment_color": [
|
||||
0.6359999775886536,
|
||||
0.43511512875556946,
|
||||
0.04769999161362648
|
||||
],
|
||||
"resolution": [
|
||||
800,
|
||||
800
|
||||
]
|
||||
},
|
||||
"stats": {
|
||||
"render_time": {}
|
||||
}
|
||||
},
|
||||
"scan_imitation": {
|
||||
"config": {
|
||||
"test_rays_num": 30,
|
||||
"visible_rays_num": 4
|
||||
},
|
||||
"stats": {}
|
||||
},
|
||||
"sim": {
|
||||
"config": {
|
||||
"body_friction": 0.25,
|
||||
"collision_thickness": 0.04,
|
||||
"material": {
|
||||
"air_drag": 0.01,
|
||||
"bend_angle_dropoff": 0.11,
|
||||
"bend_damp": 0.1,
|
||||
"bend_damp_dropoff": 0.0,
|
||||
"bend_plasticity": 0.0,
|
||||
"bend_resistance": 2.0,
|
||||
"bend_yield": 0.0,
|
||||
"compression_resistance": 100.0,
|
||||
"density": 0.015,
|
||||
"friction": 0.01,
|
||||
"length_scale": 1.0,
|
||||
"pressure": 0.0,
|
||||
"rubber": 1,
|
||||
"shear_resistance": 0.4,
|
||||
"stretch_damp": 0.2,
|
||||
"stretch_resistance": 400.0,
|
||||
"viscous_damp": 0.0,
|
||||
"warp_resistance_scale": 1.0,
|
||||
"warp_rubber_scale": 1.0,
|
||||
"weft_resistance_scale": 1.0,
|
||||
"weft_rubber_scale": 1.0
|
||||
},
|
||||
"max_sim_steps": 1500,
|
||||
"non_static_percent": 1.5,
|
||||
"object_intersect_border_threshold": 100,
|
||||
"resolution_scale": 4.0,
|
||||
"self_intersect_hit_threshold": 0,
|
||||
"static_threshold": 0.01,
|
||||
"zero_gravity_steps": 10
|
||||
},
|
||||
"stats": {
|
||||
"fails": {
|
||||
"crashes": [],
|
||||
"fast_finish": [],
|
||||
"intersect_colliders": [],
|
||||
"intersect_self": [],
|
||||
"pattern_loading": [],
|
||||
"static_equilibrium": []
|
||||
},
|
||||
"fin_frame": {},
|
||||
"sim_time": {},
|
||||
"spf": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user