Sharpen Mesh
1775 4 1- papsphilip
- Member
- 385 posts
- Joined: 7月 2018
- Offline
- jsmack
- Member
- 7808 posts
- Joined: 9月 2011
- Offline
- papsphilip
- Member
- 385 posts
- Joined: 7月 2018
- Offline
jsmackyes tried that but its not what i'm looking for. The best example i've seen so far is this video
Have you tried a negative blend with a blurred mesh?
https://www.youtube.com/watch?v=bRNMVfn_Cl0&list=PLk8eJfNApHfKP7EIrIb6ErBtdGEIOyS22&index=108&t=0s [www.youtube.com]
What i cant figure out is how do you get the points to move on to the surface and not just straight through the mesh
- jsmack
- Member
- 7808 posts
- Joined: 9月 2011
- Offline
- animatrix_
- Member
- 4530 posts
- Joined: 2月 2012
- Offline
Maybe try something like this in Point Wrangle:
vector pcfilter2 ( int input; int pts [ ]; float dist [ ]; string attrib ) { float sum = 0, w, d; vector value, result = 0; float maxd = dist [ -1 ]; int count = len ( pts ); for ( int i = 0; i < count; ++i ) { value = point ( input, attrib, pts [ i ] ); w = 1 - smooth ( 0, 1.1 * maxd, dist [ i ] ); sum += w; result += w * value; } result /= sum; return result; } float radius = ch("r"); int maxpts = chi("maxpts"); float dist [ ] = { }; int pts [ ] = pcfind ( 0, "P", @P, radius, maxpts, dist ); vector blurred = pcfilter2 ( 0, pts, dist, "P" ); @P += ( @P - blurred ) * ch("amount");
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
-
- Quick Links