Jump to content

A question about geometrical procedural deformation.


eunchae

Recommended Posts

 

Hello.

I'm trying to make a bunch of money.

I tried using vellum, but it didn't work, so I referred to the page turning hip file at the address above.

I want to apply both left and right, but I don't know how.

If you have any good ideas or examples, please let me know.

Thank you.

test.JPG

Link to comment
Share on other sites

What about something convoluted like this?

Use an input to bring in the volume, merge packed results, then pack the result and unpack it at the top of the loop..?

Not sure if this technique works, but you can switch based upon iteration. Every iteration past the first one should supply the merged result.

Untitled-1.jpg

Now that I look at this some more, the switch should probably intercept before the unpack, so you can filter the volume with a blast or delete node.

Edited by Atom
Link to comment
Share on other sites

```

float start = chf('start');
float touch = chf('touch');
float speed = chf('speed');
float flip = 1 - chf('flip');
vector fade = relbbox(0,@P);
float amp = chf("amp") * @Cd.x;

float fade_x = chramp("fade_x_ramp",fade.x);
float fade_z = chramp("fade_z_ramp",fade.z);
float fade_y = chramp("fade_y_ramp",fade.y);

matrix m = ident();
float copy=( ch("../copy1/nyc") - prim(0, 'copynum', @primnum)) * flip;

float t = @time * speed - start - copy + sin( fade_x *amp) + fade_z * (touch*fade_x);

rotate(m, smooth(0, $PI, t) * -$PI, {0,0,1});
@P *= m;

 

The work proceeded in the direction I wanted using the ramp parameters referring to the code in the hip file. I was able to complete the code with the advice of a senior at the company, and I will leave some of that code behind. And at the end I used a position mix. Thanks to everyone who responded.

1.JPG

2.JPG

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...