taichi-dev / taichi_elements

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

added ability to specify particle color #19

Closed PavelBlend closed 4 years ago

PavelBlend commented 4 years ago

particle_color

PavelBlend commented 4 years ago

Here is an example: test_particle_color.zip

You cannot specify a color for a particle in a blender, but there is a workaround. You can store the color in the angular velocity parameter. This is what the material for the particle looks like: particle-material