Jump to content
RTF

Bend paper effect?

Recommended Posts

image.thumb.png.865fb0b54d0720f301c771783766185e.png

I'm asking again,I just want to know is the paper bend animation use dop or bend deformer?

The animation at there  10s-12s

Could someone help me

Share this post


Link to post
Share on other sites

Can someone give some guidance or advice?

Can I use vellum to simulate the paper effect?

Share this post


Link to post
Share on other sites
Posted (edited)

That's a nice setup. Here is a small tweak I made when I supplied a folder with only five images. The filename generation will wrap around the curve number once the maximum number of images in the folder is exceeded.

image_path_prim wrangle.

int pt = primpoint(0, i@primnum, 0);
int curvenum = point(0, 'curvenum', pt);
string directory = chs("../image_paths/dir");
string paths[] = detail(0, 'paths', 0);

// Wrap around on short image count.
int l = len(paths);
while (curvenum >= l) { curvenum -=l;}

s@basecolor_texture = directory + paths[curvenum];

 

Edited by Atom

Share this post


Link to post
Share on other sites

Thank you @Atom. Perhaps a simple modulo might just work, too.

s@basecolor_texture = directory + paths[curvenum % len(paths)];

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×