Taichi: [Bug] [Sparse] Particles disappear in `example/particle_renderer.py`

Created on 22 Apr 2020  路  3Comments  路  Source: taichi-dev/taichi

Describe the bug
Particles disappear in example/particle_renderer.py

Log/Screenshots
Screenshot from 2020-04-22 15-18-06

To Reproduce
Checkout c4e5b694 (v0.5.13) and run example/particle_renderer.py
b9b9e484 works well (v0.5.12)

Screenshot from 2020-04-22 16-14-17

Narrowing down
588e504b correctly renders the particles, but 5fd30e61cbe482483925cb73c5c3b2109540d76f does not.

bug

All 3 comments

@xumingkuan I did a binary search manually through the git history. It seems to me that something in 5fd30e61cbe482483925cb73c5c3b2109540d76f changed the renderer behavior. Could you take a closer look? Thank you in advance!

I just found that https://github.com/taichi-dev/taichi/commit/5fd30e61cbe482483925cb73c5c3b2109540d76f causes IRPrinter to crash if I set print_ir=True... So there must be malformed IRs. I will fix it this evening.

Interestingly, IRPrinter doesn't crash in the current master.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xumingkuan picture xumingkuan  路  3Comments

GeoffreyPlitt picture GeoffreyPlitt  路  4Comments

quadpixels picture quadpixels  路  3Comments

kigawas picture kigawas  路  4Comments

archibate picture archibate  路  3Comments