Jamie Bradshaw
Forum Replies Created
-
If I understand you correctly then you might need to use the % operator.
So if n is your layer number then n%3 will give you a number of 0, 1 or 2.
For example if:
n = 1 then n%3 = 1
n = 2 then n%3 = 2
n = 3 then n%3 = 0
n = 4 then n%3 = 1
n = 5 then n%3 = 2
n = 6 then n%3 = 0
..and so onDoes that help?
JimJam•Graphics
https://www.jimjamgraphics.com/ -
copy the following expression into your Slider:
Math.floor(value);
Math.floor rounds down whatever number is inside the bracket.
I hope this helps.
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Jamie Bradshaw
October 31, 2012 at 5:53 pm in reply to: technique: using a text-layer to store an objectThanks again Dan. I think I’ve got my head around it all now.
I think this technique could end up being a bit of a revelation for how I work in After Effects.
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Jamie Bradshaw
October 31, 2012 at 5:27 pm in reply to: technique: using a text-layer to store an objectThat works, thanks Dan.
What do the triple quotations do?
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Jamie Bradshaw
October 31, 2012 at 4:47 pm in reply to: technique: using a text-layer to store an objectHi Filip and Dan.
I’m trying to use this technique but I get an error with the eval expression saying “Expected: ]”
Is there anything in CS6 that would mean that this technique would require tweaking?
Cheers,
JamieJimJam•Graphics
https://www.jimjamgraphics.com/ -
hmm this might dot he trick.. I’ll investigate.
https://aescripts.com/smart-baker/
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Jamie Bradshaw
September 22, 2011 at 2:31 pm in reply to: Unexpected result with a multi dimensional array in a For loop -
Jamie Bradshaw
September 22, 2011 at 1:52 pm in reply to: Unexpected result with a multi dimensional array in a For loopThanks Dan.
As always it seems obvious as soon as someone much more clever points it out to you! 😉
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Cheers Dan.
I suspected that it might be something along those lines. I’ve found this documentation:
https://www.geometrictools.com/Documentation/EulerAngles.pdf…and I’m hoping I can work out what’s needed from there. Wish me luck!
Jamie
JimJam•Graphics
https://www.jimjamgraphics.com/ -
Jamie Bradshaw
April 8, 2011 at 11:28 am in reply to: 3D Camera To Psunami Camera (3D rotation matrix)Problem half solved.
After more investigation I have now found the problem and a work-around.
As I suspected, the issue is that the AE camera uses a rotation order of X>Y>Z while the Psunami camera uses Y>X>Z.
I started to try and work out what modifications I would need to make Dan Ebbert’s code work (that I previously posted) but I think it would take me too long to get my head around.
So instead I have simply created a work-around by parented rig system that effectively makes the rotation order of my AE camera the same as Psunami’s (Y>X>Z)
Here is a short test of that working:
https://reels.creativecow.net/film/psunami-camera-test
It has made my intended animation for the camera a lot more fiddly to do though so if someone out there does know a good way to convert X>Y>Z to Y>X>Z that would be fantastic. If anyone can help this then I would also be happy to contribute towards a definitive tutorial/script on this matter as I have seen quite a few people asking the same problem and I think a good solution really would make the Psunami plugin even more powerful.
Thanks,
JamieJimJam•Graphics
https://www.jimjamgraphics.com/