skeelogy Posted September 26, 2011 Share Posted September 26, 2011 I was playing around with VOP/VEX and decided to create a simple melt SOP for practice: http://cg.skeelogy.com/melt-sop-using-vop-vex/ The user controls the melt using a 0-1 slider and has additional control over the melted pool's thickness, spread amount and noise along the edges. Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 26, 2011 Share Posted September 26, 2011 Hey Skeel, this is very cool. Could you give some more information of how did you created it? Quote Link to comment Share on other sites More sharing options...
skeelogy Posted September 27, 2011 Author Share Posted September 27, 2011 (edited) Hey Dawid, Yep definitely. The basic idea: 1) Move the points down proportionally according to the melt amount. 2) If a point gets below the bounding box, set its Y value to the minimum Y of the bounding box, and spread the point outwards in the XZ plane. This spreading-out motion could be in a radial direction away from the centroid, or along the point’s normal - For an object with holes, such as a torus, using normals would be a better choice so that melted pool will spread into the holes as well - For an object like a cube, spreading radially outwards from the centroid would be a better choice because the normals for each side are facing the same direction, making the spread look stretched at the corners and unnatural Noise is added to this outward spread to give a bit of variation. 3) Lastly, we need to give the melted pool a thickness, otherwise all the faces will be at the same level and undesired flickering will occur during shading. This is done by moving the points of the pool down proportionally according to how much they are supposed to be below the bounding box. This will cause the object to go below the ground, thus we have to move ALL the points up so that the bottom of the object stays stationary at the same level. I have just added in sample hip/otl/vfl/vex files in my webpage (the link in my post above). You could download it from there. Both VOP and VEX implementations are in the files. Hope this answers your question A better way of melting would probably involve simulations, something that I'll probably try in the future. Edited September 27, 2011 by skeelogy Quote Link to comment Share on other sites More sharing options...
asnowcappedromance Posted January 16, 2012 Share Posted January 16, 2012 thanks for sharing that, sexy! Quote Link to comment Share on other sites More sharing options...
ryew Posted January 16, 2012 Share Posted January 16, 2012 Brilliant, nice work skeelogy! Thanks for sharing it with us Quote Link to comment Share on other sites More sharing options...
skeelogy Posted January 16, 2012 Author Share Posted January 16, 2012 You are welcome Always glad to help! 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.