Skip to content

Change the number of particles and radius of particles for the fluid model #141

Answered by janbender
ytimber asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can change the radius. The radius cannot be changed during runtime. You have to do this in the scene file:

https://splishsplash.readthedocs.io/en/latest/file_format.html#simulation

Just set the attribute "particleRadius".

You can also do it for the bunny. However, the bunny file (bgeo) is a pre-sampled file. This means only the particles get smaller, so the sampling won't be tight anymore. But you could also use any closed OBJ file with a mesh. Then the simulator will do a sampling at the beginning of the simulation with the defined radius.

The radius is the same for all particles in the simulation, so a change of the particle radius also affects the size of emitted particles.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ytimber
Comment options

Answer selected by digitalillusions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #140 on November 18, 2021 18:28.