nextheory
Hello, I have what may end up being a simple question to answer, but cannot seem to find a way to do this:

I'm voxelizing an animated alembic mesh w/ voxelGrid -> pointsOnMesh -> copier.

I have the OutPositionPP, rgbaPP, and rotationPP going into a pointcloudemitter, then that is connected to an nParticle set, which has instances of cubes that are scale constrained to the reference cube for the voxels. The purpose of this is to voxelize the mesh, and have flexibility to affect the voxels with fields.

My questions are:

1) is there a way to emit a single particle from each point in the cloud, so that there are no overlapping particles/voxels? I basically want a 1:1 particle/instance representation of the voxel output. I figure I can do this with an expression, but have not come up with one that works.

2) how could I goal the particle to it's corresponding point in the cloud, so that it animates with the mesh?
This method I'm less certain about, since the number of voxels in frame A, may be different than in frame B. Presently I'm setting their lifespanPP to be very short during this section so they are dynamically drawn in. This is actually less critical than the previous question.


Thanks for any help anyone could provide. And to the developer(s), great job and thank you for a critical and necessary toolset, that really expands Mayas functionality.
Reply 0 0
pshipkov
I cannot think of a way to do that.
The problem is that the number of points you generate each frame will change all the time. As result the point IDs will change too. As result you cannot have stable base to control your particles in a consistent way.
If you provide simple scene i can take a look at it and try to help you but at this point i cannot think of a solution to your problem.
Reply 0 0
Reply