Search found 19 matches
- December 27th, 2010, 3:13 pm
- Forum: Expression Discussion
- Topic: Some prévious projects
- Replies: 0
- Views: 8947
Some prévious projects
I'm working for some test on expression in order to create this 4 effects : - explosion of layers in 3D (actually working) - ascii version of some video based on one layer per character (actually working...slowly) - boid - layers (not yet) - "calligramme" based on video (not yet) example :...
- May 13th, 2009, 12:12 am
- Forum: Expression Discussion
- Topic: if then else problem
- Replies: 8
- Views: 25239
Re: if then else problem
New problem. I make my layer reference as 3D layer and move it fare away from camera (like -30000 in Z axis) because i'm using an trapcode horizon configuration. So i need to scale-it up (like 1500%) to have a good size. My solid are now 3D too, and i have changed the code with a toWorld instead of ...
- May 7th, 2009, 11:26 pm
- Forum: Scripts Discussion
- Topic: Add keyframe with expression value
- Replies: 4
- Views: 12500
Re: Add keyframe with expression value
I didn't know this variation about the pre and post expression value, with valueAtTime instruction.
Thanks Paul.
Thanks Paul.
- May 7th, 2009, 8:51 am
- Forum: Scripts Discussion
- Topic: Add keyframe with expression value
- Replies: 4
- Views: 12500
Re: Add keyframe with expression value
This is my script code. { var myProj = app.project; var myComp = myProj.activeItem; var mySelectedLayers = myComp.selectedLayers; app.beginUndoGroup("Function"); for (var i = 0; i < mySelectedLayers.length; i++) { var curLayer = mySelectedLayers[i]; var curTime = app.project.activeItem.tim...
- May 6th, 2009, 1:09 pm
- Forum: Scripts Discussion
- Topic: Add keyframe with expression value
- Replies: 4
- Views: 12500
Add keyframe with expression value
My problem is basic. I have write à script who add a keyframe on position property at the current time. But i have an expression running on position property and it add only the originla value and not the expression value. Here is the code expression. I know that i can translate expression into key...
- May 5th, 2009, 1:05 pm
- Forum: Expression Discussion
- Topic: if then else problem
- Replies: 8
- Views: 25239
Re: if then else problem
Thanks Dan and kobyg, it works.
But now the next part of my effects doesn't work.
Maybe it's impossible, but this problem is for a other topic.
Thanks for all.
But now the next part of my effects doesn't work.
Maybe it's impossible, but this problem is for a other topic.
Thanks for all.
- May 5th, 2009, 6:39 am
- Forum: Expression Discussion
- Topic: if then else problem
- Replies: 8
- Views: 25239
Re: if then else problem
thanks kobyg I think it's a part of the problem. I have try this in order to locate the origin of my bug. P1=[random(thisComp.width),random(thisComp.height)]; T1=thisComp.layer("Reference").sampleImage(P1); if (T1[3]==1) { P1; } else { [0,0] }; The solid stay in the corner of the comp many...
- May 5th, 2009, 4:06 am
- Forum: Expression Discussion
- Topic: if then else problem
- Replies: 8
- Views: 25239
Re: if then else problem
No change. I have tried this code on opacity and it works : P1=transform.position; T1=thisComp.layer("Reference").sampleImage(P1); if (T1[3]) { 100 } else { while (T2=0) { P2 = [random(thisComp.width),random(thisComp.height)]; T2 = thisComp.layer("Reference").sampleImage(P2); }; ...
- May 5th, 2009, 12:23 am
- Forum: Expression Discussion
- Topic: if then else problem
- Replies: 8
- Views: 25239
if then else problem
I have often problems with using condition test in my expression. The code should work, but the logic of expression doesn't make what i think. This is the last example. I want that the object who i had expression on position, use random position value until it finds position value over a reference c...
- April 19th, 2009, 2:23 pm
- Forum: Expression Discussion
- Topic: Sure Target 1.6
- Replies: 4
- Views: 16875
Re: Sure Target 1.6
The problem is parenting between the layer and not between the SureTargetNullObject and the camera. A basic example will be : a first text layer a second text layer parenting to the first a third text layer parenting to the second If i use the classic suretarget configuration the camera do something...
- April 17th, 2009, 5:58 am
- Forum: Expression Discussion
- Topic: Sure Target 1.6
- Replies: 4
- Views: 16875
Re: Sure Target 1.6
A link to understand of what we are talking : http://www.videocopilot.net/tutorials/presets_and_more/ This is the original code for the SureTarget 1.51 preser. ST = effect("SureTarget")("Curseur"); Min = Math.floor(ST); Max = Min+1; try{ L = effect("T-"+Min)("Calqu...
- April 15th, 2009, 9:56 pm
- Forum: Scripts Discussion
- Topic: expression affectation
- Replies: 2
- Views: 7824
Re: expression affectation
It works!
Script is so weird sometimes, you think that you have understand and new strange "words" appear.
Thanks Dan, i'm a huge fan of your work on motion script, everything is useful!
See you on the next problem.
Script is so weird sometimes, you think that you have understand and new strange "words" appear.
Thanks Dan, i'm a huge fan of your work on motion script, everything is useful!
See you on the next problem.
- April 15th, 2009, 12:10 pm
- Forum: Expression Discussion
- Topic: Sure Target 1.6
- Replies: 4
- Views: 16875
Sure Target 1.6
I don't know if anybody here is using the Andrew Kramer SureTarget preset. He doesn't work with parenting layer, i have modified the expression for work with parent. It works perfectly with the position and for each rotation axis, but it doesn't work for simultaneous rotation in two or three axis. I...
- April 15th, 2009, 12:03 pm
- Forum: Scripts Discussion
- Topic: expression affectation
- Replies: 2
- Views: 7824
expression affectation
The return of me! :P This time, it's for adding an expression to rotation in a 3D Layer. It works for zRotation, but i have a "read only" error for the xRotation and z Rotation, when i want to had an expression with my script. This is my code if (Premier) { myText.position = [360,288]; myT...
- April 11th, 2009, 12:42 pm
- Forum: Scripts Discussion
- Topic: Slider and setValue
- Replies: 4
- Views: 12903
Re: Slider and setValue
It works!!!
I have understand my mistake.
Thanks again!
I have understand my mistake.
Thanks again!