https://github.com/lijieumn/argus-distribution
Tip revision: 866bd38a0b1caa7560e66ecae5e19b65b49558a5 authored by Jie Li on 04 August 2019, 17:48:21 UTC
Merge pull request #4 from AymericFerreira/master
Merge pull request #4 from AymericFerreira/master
Tip revision: 866bd38
box_and_cone_0_34.json
// Flag blowing in the wind
// Narain et al. 2012, Figure 8
{
"frame_time": 0.032,
"frame_steps": 16,
"end_time": 4,
"cloths": [{
"mesh": "meshes/square.obj",
"transform": {"translate": [-0.52, -0.55, 0.45], "rotate": [0, 0, 0, 1], "scale":1},
"materials": [{
"data": "materials/gray-interlock.json",
"thicken": 1
}],
"remeshing": {
"refine_angle": 0.5,
"refine_compression": 0.005,
"refine_velocity": 1,
"size": [10e-3, 200e-3],
"aspect_min": 0.2
}
}],
"motions": [
[{"time": 0, "transform": {"translate": [0,0,0]}},
{"time": 2, "transform": {"translate": [0,0,0.5]}}]
],
// "handles": [{"nodes": [0], "motion": 0} ],
"obstacles": [{
"mesh": "meshes/cone5xy.obj",
"transform": {"translate": [0.25, 0, -0.3], "scale":0.3}
},
{
"mesh": "meshes/table_edge.obj",
"transform": {"translate": [-0.25, 0, -0.3], "scale":0.3}
},
{
"mesh": "meshes/square4.obj",
"transform": {"translate": [-1, -1, -0.3], "scale":2}
}
],
// "wind": {"velocity": [10, 0, 0]},
"obs_friction": 0.6,
"gravity": [0, 0, -9.8],
"disable": ["popfilter", "proximity"],
"magic": {"projection_thickness": 2e-3, "repulsion_thickness": 1e-3, "collision_stiffness": 1e6, "fixed_high_res_mesh": false, "friction_coeff": 0.2,
"edge_flip_threshold": 0, "conserve_momentum": false, "node_lifetime": 0, "face_edge_constraints": false, "relax_initial_state": false,
"duplication_threshold": 0.34}
}