pan.mentolka 2 Posted December 7, 2021 (edited) Hi guys! Can I ask u to help me out with the following issue? I created 6 simple spheres, which are being inflated in 30 frames, and what I need now is to get colour information about the stretch of each vertex, and transform it into the colour (I am not sure I am describing it right). But what I basically need is that parts of the ballon that are not stretched and stay in the same position should be darker and parts that are stretched should be brighter. I need this Cd information for updating a translucent map during the animation, so where the balloon is stretched shader should make the surface more translucent and also opposite way. Thank you guys so much for any advice! Baloon_issue.hip Edited December 7, 2021 by pan.mentolka Share this post Link to post Share on other sites
Sepu 258 Posted December 7, 2021 you probably want to put @rest attrib in your before sim then post sim use a wrangle and calculate the distance between @P and @rest. using the distance function, then use the float attrib for masking your transparency. You can use a ramp for more control as well in your shading network. Share this post Link to post Share on other sites
pan.mentolka 2 Posted December 7, 2021 15 minutes ago, Sepu said: you probably want to put @rest attrib in your before sim then post sim use a wrangle and calculate the distance between @P and @rest. using the distance function, then use the float attrib for masking your transparency. You can use a ramp for more control as well in your shading network. Hi houdini Master Thanks for your swift reply!!! I had the same plan in my mind. However, can I ask you for an example in my attached scene, so I can o through it? Share this post Link to post Share on other sites
Sepu 258 Posted December 7, 2021 Here you go Baloon_issue.hip 2 Share this post Link to post Share on other sites