taichi-dev / taichi_three

A soft renderer based on Taichi (work in progress)
https://t3.142857.red/
MIT License
223 stars 24 forks source link

load softbody meshes #19

Closed Yusufma03 closed 4 years ago

Yusufma03 commented 4 years ago

Hi, thanks a lot for the great work! I'm wondering if it is possible to load a deformable object from a .obj file?

archibate commented 4 years ago

Yes it's possible. All data loaded into T3 can be modified at each frame for creating an animation of deformation. See https://github.com/taichi-dev/taichi/blob/master/examples/mass_spring_3d.py for example: image

Yusufma03 commented 4 years ago

Got it. Thanks!