Xsi to After Effects (camera and nulls)

Plugins linking to this thread: (hide)

NN_SItoAEPluginAuthor: nnois
A plugin for exporting Softimage cameras and nulls to After Effects. See the si-community thread below for other solutions of getting Softimage scene data into After Effects.

local backup: nnSItoAEPlugin.pytxt (plugin, rename to .py)

Discussions concerning plugins for SOFTIMAGE©
Post Reply
mehdiravan
Posts: 10
Joined: 30 Jul 2012, 18:40

Xsi to After Effects (camera and nulls)

Post by mehdiravan » 31 Jul 2012, 00:51

hey guys. its not my work but i thought that might be useful for someone here. i searched too much about sending xsi camera to after effects. i found some tools but none of them work perfectly as this i found in google softimage mail list group. created by Thomas Volkmann. i must say a big thanks to him. it save me alot of time. working fine on softimage 2013 and After Effects CS6.

# Put the scene-Camera and the nulls that you want to export into a group.
# Select the group and run the script.
# A .jsx script is created that you can run inside AfterFX. It creates a new Comp with Camera and Nulls.
Attachments
tv_SI2AFX.zip
(3.31 KiB) Downloaded 1276 times

Ramon
Posts: 111
Joined: 19 Aug 2010, 22:47

Re: Xsi to After Effects (camera and nulls)

Post by Ramon » 31 Jul 2012, 11:28

Hm.. Not working
Don`t match coordinates camera and null in AE and XSI.
Don`t match position null with sequence.

mehdiravan
Posts: 10
Joined: 30 Jul 2012, 18:40

Re: Xsi to After Effects (camera and nulls)

Post by mehdiravan » 31 Jul 2012, 15:19

make sure your render dimension in render setting is the same as script output height and width size.

User avatar
dwigfor
Posts: 392
Joined: 17 Nov 2009, 18:46

Re: Xsi to After Effects (camera and nulls)

Post by dwigfor » 01 Aug 2012, 01:41

Thank you very much for this!! I've only tested it with a simple still render of a cube with nulls attached to each of the corners. It exported/imported flawless! Working at 1920x1080 24fps.

Because a lot of effects use 2d coordinates, you can use this expression to convert 3d coordinates into 2d screenspace coordinates:
L = thisComp.layer("null"); fromComp(L.toComp(L.anchorPoint))

Big thanks! :ymparty:
-Dave

mehdiravan
Posts: 10
Joined: 30 Jul 2012, 18:40

Re: Xsi to After Effects (camera and nulls)

Post by mehdiravan » 01 Aug 2012, 11:45

dwigfor wrote:Thank you very much for this!! I've only tested it with a simple still render of a cube with nulls attached to each of the corners. It exported/imported flawless! Working at 1920x1080 24fps.

Because a lot of effects use 2d coordinates, you can use this expression to convert 3d coordinates into 2d screenspace coordinates:
L = thisComp.layer("null"); fromComp(L.toComp(L.anchorPoint))

Big thanks! :ymparty:
-Dave
Glad to hear that!
and thanks for the expression. it would be very useful!

Ramon
Posts: 111
Joined: 19 Aug 2010, 22:47

Re: Xsi to After Effects (camera and nulls)

Post by Ramon » 04 Aug 2012, 20:22

Working! strange that tested in old scene 768/576 and have bugs. Now all working.
Some questions
SI coordinates -28.7/19.5/38.09
AE coordinates 96.7/92.2/-380.9
why don`t match 3d coordinates?
will be nice to create a menu(shelf) with script in AE
1) To apply corner pin by 4 nulls and convert 3d to 2D coordinates to match corners in plane
2) Convert SI plane to new composition with the same picture ratio or create corner pin with the pins in corners.

User avatar
SquirrelSa
Posts: 53
Joined: 25 Oct 2010, 09:44
Location: South Africa

Re: Xsi to After Effects (camera and nulls)

Post by SquirrelSa » 26 Nov 2013, 15:37

This is brilliant - thanks so much . . . works like a charm
Creativity can be whatever the mind of man can conceive
http://ryananimation.prosite.com

https://vimeo.com/ryananimation

User avatar
sirdavid32
Posts: 157
Joined: 10 Feb 2010, 05:36
Location: Ecuador
Contact:

Re: Xsi to After Effects (camera and nulls)

Post by sirdavid32 » 13 Apr 2016, 00:23

I´m trying this script on CS6 After effects, run it but nothing appear into the composition.
How do I know if it´s working? Doesn´t create anything.
I´m running python from softimage. I see the dialogs, and export the .jsx

Please help.

funky75
Posts: 38
Joined: 08 Oct 2012, 11:03

Re: Xsi to After Effects (camera and nulls)

Post by funky75 » 13 Apr 2016, 17:50

Would it be difficult to do the same with Fusion ?

User avatar
rray
Moderator
Posts: 1385
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: Xsi to After Effects (camera and nulls)

Post by rray » 13 Apr 2016, 18:22

Sir David can you post the generated script here?
Softimage Resources section (formerly known as rray.de/xsi) updated Oct 01 2017

NNois
Posts: 668
Joined: 09 Jun 2009, 20:33

Re: Xsi to After Effects (camera and nulls)

Post by NNois » 14 Apr 2016, 11:39

Hi,
Maybe you can try this version of mine.
This one is to install in you plugin folder and create an export entry in the file menu.

If I recall well I've had squashed some bug like the framerate and some size and ratio problems plus the in/out export range. Maybe you can try it...
Attachments
nnSItoAEPlugin.py.zip
(3.6 KiB) Downloaded 83 times

kaimano
Posts: 1
Joined: 05 Jan 2011, 17:04

Re: Xsi to After Effects (camera and nulls)

Post by kaimano » 16 May 2016, 22:05

Hi NNois, first thanks for the useful script.
But I have some trouble and perhaps you help me.

I dowloaded the script, tested an all worked fine. Now I need to repeat the process but the script export only static nulls, no animation.

I have a root model (like null) whith rotation animation and, all the object under this model rotate accordingly including the three nulls that want to export.

I created a group that contains the camera (all the camera hierarchy) and the three nulls, I selected this group and run the script, I select the three nulls in the "is it Moving" section, done.
The result in the jsx file is the camera and the three nulls without animation.

This is the jsx file generated:

Code: Select all

var newComp = app.project.items.addComp("HOLOCUBE_EVO2A", 1920, 1080, 1.000000, 8.961600, 25);
var newCamera = newComp.layers.addCamera("XSICamera",[0,0]);

var newNull = newComp.layers.addNull();
newNull.threeDLayer = true;
newNull.startTime = 0;
newNull.inPoint = 0;
newNull.name = "null";
var newNull = newComp.layers.addNull();
newNull.threeDLayer = true;
newNull.startTime = 0;
newNull.inPoint = 0;
newNull.name = "Arnold_Camera_Root";
var newNull = newComp.layers.addNull();
newNull.threeDLayer = true;
newNull.startTime = 0;
newNull.inPoint = 0;
newNull.name = "null1";
var newNull = newComp.layers.addNull();
newNull.threeDLayer = true;
newNull.startTime = 0;
newNull.inPoint = 0;
newNull.name = "null2";
Any suggestion?

NNois
Posts: 668
Joined: 09 Jun 2009, 20:33

Re: Xsi to After Effects (camera and nulls)

Post by NNois » 17 May 2016, 12:38

hello,
Be aware that script takes infos from the current pass so if your pass doesn't have a frame range yes you will export a static frame.

Also If i recall well, the script leave a property page at the scene root if you end it prematurally.
In this case you must remove the property before running it again.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest