tyFlow Forum
Spawn voxels inside shape - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: Spawn voxels inside shape (/thread-587.html)



Spawn voxels inside shape - insertmesh - 05-09-2019

Hey,

playing around with some stuff I might have encountered a bug or at least an inconsistency...:

Simple setup, birthing a midres sphere, then after 10 frames I want to spawn voxels inside, turning them into a grain sim.

Being used to how the Birth voxel op works, I set display to sprite and start lowering the voxel size. But the sprites stay the same size.

Would be great if it would work the same way, so we can better judge resolution and collision radius.


RE: Spawn voxels inside shape - tyFlow - 05-20-2019

This is a tricky one, because by default spawned particles have scale inheritance settings set within the operator. Having them auto-scale to voxel size would override that setting, which may not always be desirable.


RE: Spawn voxels inside shape - insertmesh - 05-20-2019

I see.
Been a while since I fiddled with that scene, so not sure what I did in the end but I´m guessing the current workaround would be to simpy not use sprite display for these cases?


RE: Spawn voxels inside shape - tyFlow - 05-20-2019

You can use sprite display, as sprites scale to particle scales, you'd just have to manually set the scale inheritance, or absolute scale of the children.


RE: Spawn voxels inside shape - insertmesh - 07-02-2019

Slightly related question...

Spawning voxels inside shapes via the spawn op is a great way to do softbody/splatter sims dynamically, connecting cloth with grains.

What I would wish for though is an offset setting. Because quite often the spawned particles are so close to the spawn parent particles surface, that it gets tricky  to get the dynamics right.


RE: Spawn voxels inside shape - insertmesh - 07-09-2019

Actually, that might also be a good addition to the birth voxel operator.

For now I just work around by adding a property test for neighbours to delete voxel particles too close to the parent surface.


RE: Spawn voxels inside shape - tyFlow - 07-11-2019

I could potentially add that, yea.