NCloth set alpha based on vertex position
I am trying the following setup:
NCloth material has a) or a initial state, b) a copy of mesh in initial state NCloth is tearable and will split / explode in many places which should alpha/fade based on some "life" parameter, or in this case, the vertices current distances from their initial position. I am using Arnold as renderer and my attempt is to use vertex color driven by expression comparing every frame every vertex from its original position and then remapping this distance to work as transparency channel on the object texture. I am very far from achieving any promising effect after 3 -4 hours and I am using just a simple cube as test. Anyone has any experience about similar situation for advising? (have no idea what happened to code formatting below - you have to select the text in order to see it...) Code:
int $vtxCount[] = `polyEvaluate -v pCube1`; |
All times are GMT. The time now is 03:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018