Hi guys,
I hope you can help me with this one, as I am a bit stuck... I have a bunch of cached particles all with positions matching a point (not vertex) on a mesh (not the emitting mesh). All particles have velocity 0, but at some point they start flying (at varying time). I would like to paint a weightmap to the mesh from the particles that all have velocity 0. But how to approach this. I can get the array of the zero-velocity particles pointposition easily, but how do I transfer this to a weightmap?
Thanks in advance
-Christian
writing weightMaps
Re: writing weightMaps
Yes, I got that far Question is how do I use the data I get from the location to write to the weightmap?
As my setup is now, I get the pointPositions from the pointCloud, build an array from set, feed that into get closest location' position and get the weightmap from the location, but how do I write back to it?
As my setup is now, I get the pointPositions from the pointCloud, build an array from set, feed that into get closest location' position and get the weightmap from the location, but how do I write back to it?
Arnold for the masses!
- csaez
- Posts: 253
- Joined: 09 Jul 2012, 15:31
- Skype: csaezmargotta
- Location: Sydney, Australia
- Contact:
Re: writing weightMaps
Just set the data to *WMAP_PATH*.Weights, something like this
WMap ICETree
PCloud ICETree
Test scene (SI 2013)
Cheers!
WMap ICETree
PCloud ICETree
Test scene (SI 2013)
Cheers!
Who is online
Users browsing this forum: No registered users and 45 guests