Search found 203 matches

by nab
March 10th, 2008, 7:38 am
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

Thanks for testing. I'll take a look at the parenting stuff, though I'm not sure the problem is related to the script. Anyway I'll do some testing in that direction to see what's going on... "I'm wondering how the script decides which track to use as position and which to calculate the scale fr...
by nab
March 9th, 2008, 2:00 pm
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

Hey hype, yes that should work... Here is the new version: TrackerViz.zip I've made quite a lot of changes. Among other things I've added position+scale incremental naming cycle colors option (similar to the built-in cycle colors for masks) four new functions: shape to tracker/layers and tracker/lay...
by nab
March 3rd, 2008, 6:58 am
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

Make sure the selected layers have different names and try again. I guess I could add auto-incremental naming. If this doesn't solve the problem, could you send me a little project that shows the bug. I should also mention that the keyframing mode "Keyframes" takes into account the work ar...
by nab
March 2nd, 2008, 9:04 pm
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

I redesigned a new UI and made quite a lot of changes in the script. It should be more robust and (in my opinion) much more elegant. I hope you'll find it intuitive and easy to use. http://www.nabscripts.com/Forum/Scripts/myScripts/TrackerViz_ui.png First you select the type of data you want to work...
by nab
February 29th, 2008, 9:28 pm
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

Okay, improved version should come on sunday... Do you prefer a separate button for scale or do you want it included in a single 'Position+Rotation+Scale' button ? By the way I didn't know your website so I watched some of your tutorials. I like how fast you manipulate masks for roto and your expres...
by nab
February 28th, 2008, 11:43 am
Forum: Script requests
Topic: Track Averging alteration?
Replies: 52
Views: 97238

Re: Track Averging alteration?

What a colorful timeline panel :D I'm not sure what you mean by "the rotation is calculated so that it follows the 2nd track", do you mean setting the rotation so that the horizontal axis of the solid points towards the second tracker point ? As a starting point, you could give this a try:...
by nab
February 22nd, 2008, 7:04 pm
Forum: Scripts Discussion
Topic: Set Light Type
Replies: 3
Views: 9221

Re: Set Light Type

I sent the files via PM because I received an error with the other address :?
by nab
February 22nd, 2008, 8:31 am
Forum: Scripts Discussion
Topic: Set Light Type
Replies: 3
Views: 9221

Re: Set Light Type

Hey Lloyd, you can't do that directly with scripting. The possible workarounds are: 1. attach to your script a project with a single comp that contains each type of light (layer 1: parallel light, layer 2: spot light, etc), and import that project into the current project. I think this has been disc...
by nab
February 16th, 2008, 1:39 pm
Forum: Expression Discussion
Topic: An expression for determining the size of a text layer
Replies: 7
Views: 52463

Re: An expression for determining the size of a text layer

Okay, I got my monster! My starting point is the last expression posted by Dan. What is slow in this expression (and in previous expressions as well) is the fact that we sample every row and column even if this row or column is contained in a larger area that does not contain non-zero alpha pixels. ...
by nab
February 15th, 2008, 9:40 pm
Forum: Scripts Discussion
Topic: app.executeCommand() and GUI prompts
Replies: 5
Views: 11304

Re: app.executeCommand() and GUI prompts

Yes. The procedure is explained above (in humble frenglish :)). If you don't know how to code it, download this folder exportFramesAsLayeredPSD.zip . It contains the "exportFramesAsLayeredPSD.jsx" script and the "KeyPress" executable (open this folder in your explorer to access i...
by nab
February 14th, 2008, 8:33 pm
Forum: Expression Discussion
Topic: An expression for determining the size of a text layer
Replies: 7
Views: 52463

Re: An expression for determining the size of a text layer

Nice job too, Dan. For the sake of writing the best code we can, we could add two variables for "width/2" and "height/2" so that the expression doesn't have to recalculate them at each iteration of the loops. I had a new idea for this expression that I'd like to experiment soon.....
by nab
February 12th, 2008, 10:04 pm
Forum: Expression Discussion
Topic: An expression for determining the size of a text layer
Replies: 7
Views: 52463

Re: An expression for determining the size of a text layer

This one is more restrictive as it assumes the text is left aligned and doesn't handle 'fancy text' (experts will understand what the expression considers as fancy text), but it should be a little faster. The idea is to start the search with a bounding box of zero area from the current position of t...
by nab
February 11th, 2008, 7:27 pm
Forum: Expression Discussion
Topic: An expression for determining the size of a text layer
Replies: 7
Views: 52463

Re: An expression for determining the size of a text layer

Please guys don't let me alone in the playground :mrgreen: Instead of sampling every pixels, we can directly sample rows or columns by changing the radius parameter in sampleImage(). The number of operations decreases from w*h to w+h which is a huge gain (considering that sampling a larger area does...
by nab
February 10th, 2008, 10:31 pm
Forum: Expression Discussion
Topic: An expression for determining the size of a text layer
Replies: 7
Views: 52463

An expression for determining the size of a text layer

Here is a (slow) expression that determines the width and the height of a text layer using the new sampleImage(). It is assumed that the text is horizontal and entirely visible. The expression can probably be optimized (this is a job for you Dan ;) ), but here is the general idea: 1. initialize the ...
by nab
February 7th, 2008, 3:21 pm
Forum: Expression Discussion
Topic: Time remap expression for pulldown
Replies: 8
Views: 17845

Re: Time remap expression for pulldown

For some reason I've always thought timeRemapEnabled was read-only.
I've checked on previous versions of the scripting guide and this attribute is actually read-write from the beginning of AE scripting :roll:
Thanks Lloyd.