-
Change object dimensions without affecting it’s texture
Hi there,I’m quite new to c4d, especially to animation, but I’m sure some of you might know some solutions for my problem.
I’m trying to make a really simplified animation of a sliding curtain.
For my curtain I only used a bent plan, on which I added a material including a texture and a noise displacement (to make the wrinkles) (Please note that on the simplified example, the plan is juste flat, not bent)
I’m ok with the fact it won’t act as a real curtain (cloth physics and all).
All I want is the plan to shrink (have a length of X at the beginning, and then decrease until it disappears, length of 0)
While it does that, I want my texture to stay in place (no size change, nothing) just staying put.
I want the same for the displacement (so the curtain stays the same, it’s just that at the end of the animation it has disappared from, let’s say, right to left. but no change have been made to both texture and displacement). I’m considering having the displacement shrinking too, but I’m interested in knowing how to stop it from doing it.
For the curtain I set a null so it would shrink from the anchor point of the null, that I located on the right side) (not the center of the plan like usual primitives)
I then tried to simply scale the texture using UVW’s so it would scale linearly exactly along the shrinking of the plan….but it seems like it’s not going the same rate (see short video example I did)
vidéo link: https://tinypic.com/player.php?v=mbig5i%3E&s=9#.Vs2Ngym575Y
project file: 9819_shrinkingcurtain.c4d.zipSo if anybody here knows how I could try to get this plan shrinking without affecting the rest, it would be dope. Of course, maybe it’s a whole other way of doing it, I’m 100% open. Thanks in advance!
PS: I first thought it was due to ease-in and ease-out that texture and plan where not synced, but even with everything set to linear, we can clearly see the texture scaling at a different rate than the shrinking of the plan….