David Wiffen
Forum Replies Created
-
Brilliant – thanks Both!
Really really appreciate it! -
Very impressive – Thanks Dan!
One more question…If I have other expressions on the same layer that I want to have the same value as what the random expression chooses…how would I do that?
eg.
This is on position x and y and works great:
seedRandom(index,true);
n = Math.floor(random(3)) + 1;
emitterName = “Emitter0” + n;
posx = thisComp.layer(emitterName).transform.position[0];
posy = thisComp.layer(emitterName).transform.position.wiggle(thisComp.layer(“WiggleEmitter”).effect(“Freq”)(“Slider”),thisComp.layer(“WiggleEmitter”).effect(“Amp”)(“Slider”))[1];
[posx, posy] – value + wiggle(thisComp.layer(“WiggleEmitter”).effect(“Freq”)(“Slider”),thisComp.layer(“WiggleEmitter”).effect(“Amp”)(“Slider”));This is on the z and needs to have the same random value as the x and y have for the emitter number:
seedRandom(index,true);
n = Math.floor(random(3)) + 1;
emitterName = “Emitter0” + n;
thisComp.layer(emitterName).transform.position[2];thanks again Dan – you’re talented guy!
-
Sorry Dan, only just saw this post. Yes this works great to separate up the x and y.
Thanks! -
Thanks Kevin,
-value+wiggle() worked a treat!
Would there be a way to separate the x and y values? i.e. so if I wanted to wiggle the y more?
here’s the expression as it stands – the wiggle is attached to a sliders etc…
posx = thisComp.layer(“Emitter”).transform.position[0];
posy = thisComp.layer(“Emitter”).transform.position[1];
[posx, posy] – value + wiggle(thisComp.layer(“Wiggle1”).effect(“Freq”)(“Slider”),thisComp.layer(“Wiggle1”).effect(“Amp”)(“Slider”));Any help much appreciated
-
Great thanks, I’ll have a go when I’m back at work on Monday 🙂
Thanks for your help!
-
Thanks for the reply.
Yeah I can’t put the wiggle on the light as I want to keep that a constant value and run multiple particular layers from it, that are then randomly wiggled. So the effect would be multiple particular light streaks with random wobbles away from the lights path.
Does that make sense? Would your expression work for that?
-
Ah ha it is out! Horray!
-
Thanks guys.
It does seem like a bug, I will phone Maxon today.
And Adam, yes you\’re right the shadow catcher plugin does work (I figured it out after posting) however the render time has gone from 4 mins per frame to 40 minutes!Just need vray 1.2 to come out!
Is there any other work around that could allow me to use gi?
-
I’ve already tried that as it happens and no joy, the cache doesn’t show in the older version. I am using 10.5 though so maybe that has something to do with it, maybe 11 would see the cache.
Thanks for your help. -
so it has – perfect! thanks adam