Oliver Hilbert

revilo3d

About Me

Expertise
VFX Artist
Location
Canada

VFX Trainer

Connect

Recent Forum Posts

Parameter driven anim curve Aug. 18, 2018, 1:38 a.m.

Ahh Thank you.

Indeed it doesn't directly solve my issue but think I could use it to make it work. Was a bit perplexed (still am a bit) at the modulo operator.

I've always know it to working in the following way (just through basic python learning)
5%4 = 1. 4 fits 1x into 5 leaving 1 remainder

In your example you are leveraging non divisible to control the state right?
4%5 = 4?? 5 does not fit into 4 - so it returns the original 4 as the remainder? Is that how it works?
5%5 = 0
6%5 = 1 (we repeat…)

EDIT: Got it working by the way - just bind the rotation to attr and call it in the light rotate parameter!
point(“/obj/geo1/rotator/”, 0, “rotation”, 0)

Cheers,
Ollie

Parameter driven anim curve Aug. 12, 2018, 7:27 p.m.

Hey all, So been trying to find the right approach with this and it's got a me a bit stuck. I'm building a lookdev rig and I seek to create a repeating 360 rotation with a pause before repeating the rotation. The rotation needs to start at a frame controlled by a parameter ©. The duration of the rotation (b) is controlled by a parameter, as is the pause(a). An alternating curve will also be needed but naturally can leverage the same solution.

So far I've tinkered with a conditional in the rotation - and it got me the result but for only one cycle (I need this to ideally continue indefinitely). The script would become a bloated series of elif's and felt there has got to be a better way.

I tried building the curve in CHOP's using wave set to triangle but became really fiddly and not sure how to the allow for a non uniform (a) and (b) size.

I tried plotting the keys in a graph and additionally controlling the beizer() result via experessions. Got the values as i needed but can't control start frame, which would be offsetting anim©.

Would be interested to here suggestions. My gut says CHOP's is indeed the place to tackle this but is an area I don't know very well.

Lightrig render per AOV Aug. 4, 2018, 3:21 p.m.

Thank guys - Will get me going for a bit.

I've opted for a few more ROP's in the end, and will also make use of the Deform COP.

Cheers,
Ollie