herr.ja Posted December 7, 2021 Share 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 Quote Link to comment Share on other sites More sharing options...
Sepu Posted December 7, 2021 Share 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. Quote Link to comment Share on other sites More sharing options...
herr.ja Posted December 7, 2021 Author Share 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? Quote Link to comment Share on other sites More sharing options...
Sepu Posted December 7, 2021 Share Posted December 7, 2021 Here you go Baloon_issue.hip 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.