taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
489 stars 70 forks source link

Static sphere colliders with three types of surfaces #23

Closed yuanming-hu closed 4 years ago

yuanming-hu commented 4 years ago

17

Demo: https://youtu.be/A2yuWoXCy58

PavelBlend commented 4 years ago

My demo_3d_collider.py is working with an error. The window is closing.

[Taichi] mode=release
[Taichi] version 0.5.10, cpu only, commit 58761902, python 3.8.1
[W 04/10/20 17:41:18.388] [program.cpp:taichi::lang::Program::Program@40] Taichi is not compiled with CUDA.
[W 04/10/20 17:41:18.389] [program.cpp:taichi::lang::Program::Program@63] Falling back to x64
[E 04/10/20 17:42:30.877] Received signal 11 (SIGSEGV)
yuanming-hu commented 4 years ago

Let me see. One sec.

yuanming-hu commented 4 years ago

What's your operating system? I'm on Linux and I failed to reproduce the crash...

PavelBlend commented 4 years ago

Windows 10 64 bit

I also noticed an incorrect display of particles in the demo_2d.py example. I will upload the video now.

Particles sometimes flicker and disappear: https://gfycat.com/familiarpotableaustralianfurseal

yuanming-hu commented 4 years ago

Thanks for the info - I reboot into Windows 10 64bit and I can reproduce this issue now. Let me see if I can fix it quickly.

yuanming-hu commented 4 years ago

Unfortunately, this seems a convoluted bug to fix - I have to switch to my work now, and I'll have more time during the weekend to fix this. Sorry about that! I'll try to fix it tomorrow.

PavelBlend commented 4 years ago

No problem.

yuanming-hu commented 4 years ago

The Windows issues should be resolved in taichi v0.5.11. The buildbots are building the Windows releases now. If nothing goes wrong, you should be able to install taichi-nightly==0.5.11 in two hours.

I have to sleep now... See you online tomorrow! :-) Let me know if this solves your issues. Thanks!