Search found 139 matches

by Mylenium
June 26th, 2008, 2:31 am
Forum: Scripts Discussion
Topic: accessing expressions from scrpts
Replies: 2
Views: 7598

Re: accessing expressions from scrpts

Read the scripting guide again. Expressions are simply layer properties and can be added using layer.property and layer.property.expression or something like that. Still not particularly convenient, as you have to add all the extra stuff for line breaks and special characters inside the expression s...
by Mylenium
June 26th, 2008, 2:27 am
Forum: Expression Discussion
Topic: Using the size of a text layer to connect a ramp
Replies: 2
Views: 8698

Re: Using the size of a text layer to connect a ramp

No, they can't. You have to use sampleImage() or some other workaround to find the layers border pixels.

Mylenium
by Mylenium
June 2nd, 2008, 5:11 am
Forum: Script requests
Topic: Identify too large layers causing buffer overload
Replies: 2
Views: 8485

Re: Identify too large layers causing buffer overload

That's completely pointless. The actual buffer size and memory consumption is rarely ever related to a perticular layer. It just as much hinges on effects that fexpaqnd/ dilate buffers or do blending operations. Enbale "Plus per Frame info" on your RQ and see where the render stops. That's...
by Mylenium
May 24th, 2008, 10:32 am
Forum: Expression Discussion
Topic: how to make value persistent
Replies: 2
Views: 9186

Re: how to make value persistent

You need to create another loop that forces the expression to evaluate for every frame while(x < thisComp.duration){}.

Mylenium
by Mylenium
February 24th, 2008, 6:07 am
Forum: Expression Discussion
Topic: baking camera for export - trouble with 3D rotations!
Replies: 5
Views: 13779

Re: baking camera for export - trouble with 3D rotations!

Does it not work because of the rotation order? Anyone tackled this before? I'm crap at vectors, 'cos I never learned that stuff at school (but then again I'm crap at most math stuff), but I would assume that you would need a cross product based on the first two vector components somewhere to get a...
by Mylenium
February 24th, 2008, 6:00 am
Forum: Script requests
Topic: RAM preview all selected comps
Replies: 1
Views: 7302

Re: RAM preview all selected comps

Nucleo Pro copycat again? ;-) Sure sounds interesting.

Mylenium
by Mylenium
February 24th, 2008, 5:57 am
Forum: Script requests
Topic: Text Morph Script
Replies: 1
Views: 7165

Re: Text Morph Script

Is it possible? Umm, no. Not in the way you want it. The requirements surrounding it are way to restrictive to make this a worthwile effort. a) scripts and expressions have no access to font face, spacing and other text information b) based on a), it would have to be done with masks c) based on b),...
by Mylenium
January 19th, 2008, 12:12 pm
Forum: Script requests
Topic: I want more general help
Replies: 1
Views: 6631

Well, those are nobel goals, but I think this would be impossible to pull off. What you want is analytic and process-oriented structured thinking and that can't really be learned this way. Teaching people how to disect and break up a problem into small steps goes way deeper than just organized code....
by Mylenium
January 14th, 2008, 12:42 pm
Forum: Expression Discussion
Topic: Position drives opacity
Replies: 4
Views: 11641

http://www.aenhancers.com/viewtopic.php?t=892

Pretty much the same applies here.

Mylenium
by Mylenium
January 10th, 2008, 4:28 am
Forum: Expression Discussion
Topic: expression connecting brightness/cont to camera position(z)
Replies: 8
Views: 19747

camSource=thisComp.layer("Camera").position; footSource=thisComp.layer("Footage").position; minDist=0; maxDist=500; minBright=0; maxBright=100; distance=length(footSource,CamSource); darken=linear(distance,minDist,maxDist,maxBright,minBright); Tie to whatever parameter you need ...
by Mylenium
January 9th, 2008, 12:27 pm
Forum: Expression Discussion
Topic: Attach a 2d layer to a 3d
Replies: 1
Views: 7448

m3D=thisComp.layer("3D Layer");
m2D=m3D.toComp(anchorPoint);


Mylenium
by Mylenium
January 7th, 2008, 11:50 pm
Forum: Expression Discussion
Topic: Problem with expression controls
Replies: 3
Views: 9895

Re: Problem with expression controls

What am I missing? The return value from the slider is not rounded automatically which renders your substring defunct. As Paul already pointed out, you need to declare it explicitly as a math value to make JavaScript's automatism's kick in. Expression controls as such are just dumb elements that re...
by Mylenium
January 7th, 2008, 11:42 pm
Forum: Expression Discussion
Topic: animating strokes like guitar strings
Replies: 2
Views: 9098

Dan Ebberts has exactly what you need on his website http://www.motionscript.com.
by Mylenium
January 3rd, 2008, 12:08 am
Forum: Expression Discussion
Topic: Audio synch to Video Speed
Replies: 7
Views: 19763

Use the audio as a multiplier to normal playback rather than the value itself. Other than that you will have to reduce the number of keyframes to the most distinct ones, access the keyframe values directly and interpolate on your own. All of that can be found as an example (for markers) on Dan Ebber...
by Mylenium
December 10th, 2007, 11:26 am
Forum: Expression Discussion
Topic: Attaching a "Pin" to a rotating Globe
Replies: 2
Views: 11159

Re: Attaching a "Pin" to a rotating Globe

I have the Globe 2-D map in a Pre-Comp, so I can add there a NULL object to the point I want to track, but the question is how on earth (...:-)) can I track a point that is transformed by the CC Sphere effect to a different point on screen ??! Wrong approach. Place the pin using long/lat in the com...