Hey guys..
am trying to create a simple script to be a "one click computeVelocityToTextuer2D"
it's so easy to use the computeVelocity node and arrayToPointColor and then bake a map using "vertex color to texture" tool, however, i want it to be more procedural using the pointAttributeToArray and the arrayToTexture2D nodes..
here's what i've done so far..
inputMesh.worldMesh > computeVelocity.InGeometry
inputMesh.worldMesh > arrayToPointColor.InGeometry
computeVelocity.outVelocityPP > arrayToPointColor.inRgbaPP
arrayToPointColor.outGeometry > pointAttributeToArray.inGeometry
pointAttributeToArray.outSharedMapPP > arrayToTexture2D.inMapPP
to this point the arrayToTexture2D is black.. i think i have to connect something to arrayToTexture2D.inDataPP but am not sure what it is...
A couple years old post Peter said this...
"Maya emitters can see only the default procedural texture nodes and the file node.
You are out of luck here. "
did anything change today?
the whole point is.. a moving geometry emitting particles or fluids is so common and i want a one click easy way to do it... tell now every time i need it i have to bake the maps and whenever the motion change i have to bake maps again...
the other way "already made a script for it" is to use particles and stick it to the Geo using UVs and use this particles's velocity to determine if the geo is moving or not but it's too easy to get too slow :/
if there's any ideas about how to do this task i would really appreciate it..
thanks guys