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
drag_cloth.json
{
"frame_time": 0.032,
"frame_steps": 16,
"end_time" : 6.5,
"cloths": [{
"mesh": "meshes/square.obj",
"transform": {"translate": [0.5, 0.0, 0.25], "scale":0.5},
"materials": [{
"data": "materials/gray-interlock.json",
"thicken": 1,
"bending_mult": 3
}],
"remeshing": {
"refine_angle": 0.7,
"refine_compression": 0.005,
"refine_velocity": 1,
"size": [10e-3, 200e-3],
"aspect_min": 0.2
}
}],
"motions": [[
{"time": 1, "transform": {"rotate": [0,0,0,1]}},
{"time": 2, "transform": {"rotate": [-45,0,0,1]}},
{"time": 2.5, "transform": {"rotate": [-90,0,0,1]}},
{"time": 3, "transform": {"rotate": [-135,0,0,1]}},
{"time": 3.5, "transform": {"rotate": [-180,0,0,1]}},
{"time": 4, "transform": {"rotate": [-225,0,0,1]}},
{"time": 4.5, "transform": {"rotate": [-270,0,0,1]}},
{"time": 5, "transform": {"rotate": [-315,0,0,1]}},
{"time": 6, "transform": {"rotate": [-360,0,0,1]}}
]],
"handles": [
{"nodes": [0], "motion": 0}
],
"obstacles": [{
"mesh": "meshes/square.obj",
"transform": {"translate": [-2,-2,0], "scale":4}
}],
// "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.6,
"edge_flip_threshold": 0, "conserve_momentum": false, "node_lifetime": 0, "face_edge_constraints": false, "facet_solver": false}
}