Jump to content

Recommended Posts

Hi there,

I'm studying Houdini for some time and at this point i'm trying to create something with a little more complexity than the usual. This time, I have a pattern applied to a spherical cage and would like to add a distortion similar to the "liquify" filter from photoshop.

I've been experimenting with attribute vop but so far I couldn't get to the aesthetic that I'm looking for.

That said, is there a way or how to achieve a liquify effect on geo within Houdini? I'm attaching an image of the sphere that I created and the liquify effect that I'm looking for. Any suggestions would be appreciated.

PatternSphere.JPG

external-content.duckduckgo.jpg

Link to comment
Share on other sites

this or @Rival Consoles

int pts = npoints(1);
vector color = 0;

for(int i = 0; i < pts; i++){
    float age = point(1,"age",i);
    float life = point(1,"life",i);
    vector pos = point(1,"P",i);
    vector id = point(1,"id",i);
    vector ptColor =point(1,"Cd",i);
    float nage = age/life;
    
    float maxDist = chf("max_dist")*fit01(rand(id),1-chf("dist_var"),1+chf("dist_var"));
    float dist = distance(v@rest, pos);
    float width = chramp("width",nage);
    
    float sampleMaxDist = maxDist *chramp("spr_motion",nage);
    float sampleMinDist = sampleMaxDist * width;
    float intensity = chramp("intens",nage);
    vector colorTemp = ptColor*chramp("spr_ramp",fit(dist,sampleMinDist,sampleMaxDist,1,0));
    colorTemp *= intensity;
    color = max(color,colorTemp);
    }
v@Cd= color;    

or use particles on surface with some min pose movement

Armdgsrrrrrdffdddfff.gif

cft.jpg

Edited by Librarian
  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...