Search found 158 matches

by Atomic
February 25th, 2009, 8:43 am
Forum: Scripts Discussion
Topic: Get the full path filename of a layer?
Replies: 8
Views: 12902

Re: Get the full path filename of a layer?

Is there any way to repair the URI information returned to make a working path? I get a value like this: /e/My%20Documents/Maps/Animated/Cloud%20Tours/CF106.mov This does not work on Windows. Is there a convert URI to working path function? REVISION: I did manage to get a working conversion from URI...
by Atomic
February 20th, 2009, 7:06 am
Forum: Script requests
Topic: AE to Blender
Replies: 3
Views: 18186

Re: AE to Blender

I am currently developing such a script. It is a variation of the Ryan Gilmore (http://www.urbanspaceman.net) export script adapted for Blenders coordinate system. You can find the thread here: http://blenderartists.org/forum/showthread.php?t=146849 Direct download here: http://www.sharecg.com/v/326...
by Atomic
February 18th, 2009, 6:48 am
Forum: Scripts Discussion
Topic: Get the full path filename of a layer?
Replies: 8
Views: 12902

Re: Get the full path filename of a layer?

Thanks Paul,

I could not find that info in the CS3 PDF Scripting Guide I was working from.
by Atomic
February 17th, 2009, 1:48 pm
Forum: Scripts Discussion
Topic: Get the full path filename of a layer?
Replies: 8
Views: 12902

Re: Get the filename of a layer?

Thats just the name of the layer, I need the fullpath file name to the footage of the layer.
by Atomic
February 17th, 2009, 6:09 am
Forum: Scripts Discussion
Topic: Get the full path filename of a layer?
Replies: 8
Views: 12902

Get the full path filename of a layer?

Does anyone have any code that will fetch the full path filename of a layer?

I can't seem to find any way. I'm on CS3.
by Atomic
February 13th, 2009, 7:26 am
Forum: Scripts Discussion
Topic: Getting/Converting Color Values From Lights?
Replies: 2
Views: 6979

Re: Getting/Converting Color Values From Lights?

I think I figured it out.

Code: Select all

G.LIGHT_COLOR = layer.property("Color").value
I have to add .value to my initial color fetch.
by Atomic
February 12th, 2009, 1:56 pm
Forum: Scripts Discussion
Topic: Getting/Converting Color Values From Lights?
Replies: 2
Views: 6979

Getting/Converting Color Values From Lights?

I am working with the AE3DExport script written by the urbanspaceman. I am adding Blender functionality to the export section and have run into a snag on lights. It seems there is no way to tell what kind of light an After Effects light is? Does anyone know of a way to detect the light type? Also, w...
by Atomic
February 11th, 2009, 9:28 am
Forum: General Scripts Library
Topic: AE3D EXPORT - AE scene to Maya, Max, and Lightwave
Replies: 100
Views: 670315

Modify For Blender

Hi, I am attempting to modify this script to add export support for Blender. I have put together a first draft and posted it here: http://www.sharecg.com/v/32616/Script/Export-After-Effects-Camera-To-Blender I replaced the Light Wave section with BLENDER export code (for now). It generates a .py (py...
by Atomic
February 11th, 2009, 9:28 am
Forum: Announcements
Topic: AE3D EXPORT - AE scene to Maya, Max, and Lightwave
Replies: 78
Views: 213802

Modify For Blender

Hi, I am attempting to modify this script to add export support for Blender. I have put together a first draft and posted it here: http://www.sharecg.com/v/32616/Script/Export-After-Effects-Camera-To-Blender I replaced the Light Wave section with BLENDER export code (for now). It generates a .py (py...
by Atomic
January 20th, 2009, 11:33 am
Forum: Scripts Discussion
Topic: Running scripts via Visual Basic
Replies: 3
Views: 8553

Re: Running scripts via Visual Basic

You can detect if AE is running via VB, but you have to scan what is called the "Top Level List". Initially AE is launched and returns a handle to your VB program. You can use that handle (technically an hWnd) to scan for children of that window. Once the splash screen loads, the app will ...
by Atomic
December 14th, 2008, 11:38 am
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25201

Re: The Source Code To Wiggle?

I think I get it, offset the phase a little and multiply that version of the COS by a different amplitude and add that into the final result.
by Atomic
December 13th, 2008, 7:25 am
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25201

Re: The Source Code To Wiggle?

Koby, You are right, when I applied it to my animation objects, they were out of control. What I ended up doing was removing the random modification to the COS wave. So I ended up with a simple COS wave as my wiggle function. This will do for now, for my present needs. I am still thinking about how ...
by Atomic
December 12th, 2008, 12:28 pm
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25201

Re: The Source Code To Wiggle?

I came up with something like this... def wiggle(passedFrequency, passedAmplitude): #Get a random number between 0 and 1. r = Noise.random() # Cut it in half to get a range of -0.5 to 0.5. r = 0.5 - r # Multiply by 2 to get it into the range of -1.0 to 1.0. r = r * 2.0 #Multiply this number by the a...
by Atomic
December 12th, 2008, 6:32 am
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25201

Re: The Source Code To Wiggle?

Thanks for the clarification, Koby.

Yes, the 3D application. It looks like Blender does have some noise features, I guess I have to figure out how to hook them up to my frameChange event.

http://www.blender.org/documentation/24 ... odule.html
by Atomic
December 11th, 2008, 6:37 am
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25201

Re: The Source Code To Wiggle?

Thanks for the link. I am loking for a way to invent wiggle for Blender. The noise routines on the link you provided are a good start, but at a glance, none of them take into account time, which is what wiggleis great at. My guess is that it is some kind of SIN wave that is randomized. Just thought ...