Jump to content


Photo

Is there a way to convert null objects to lights in AE?

After Effects Null Objects Lights

  • Please log in to reply
6 replies to this topic

#1 louderthan11

louderthan11

    MoGraph Regular

  • Members
  • 65 posts
  • Gender:Male
  • Location:Boulder, Colorado
  • Interests:Climbing, Movies, MoGraph, Learning, Sharing, Whiskey

Posted 25 January 2012 - 10:49 PM

I'm curious if there is a way to do this. Or a script that might be available?

#2 caltd

caltd

    Newbie

  • Members
  • 33 posts
  • Gender:Male
  • Location:NYC

Posted 25 January 2012 - 11:11 PM

Convert: possibly export the project to an XML file...
1) Reduce project to only the minimum data needed, I.E. 1 comp with nulls to be converted to lights only. Nothing else.
2) Export project to XML "nullsproject.xml"
3) Make dummy project with 1 comp containing the type of light you want to replace the nulls with.
4) Export dummy project to XML "lightsproject.xml"
5) Open "lightsproject.xml" in a text editor, find the parameters for the light...
6) Open "nullsproject.xml" in a text editor, find the parameters of the null...
7) Find & replace the values in "nullsproject.xml" with relevant parameters of "lightsproject.xml" where appropriate.
8) Save "nullsproject.xml" as "nullsprojectconverted.xml"
9) Import "nullsprojectconverted.xml" in to AE.

I have no idea whether this will work practically or not. I'd suggest doing a small test with 1 null and 1 light to try it out, then scale up.

Of course you can easily parent a light to a null, and you can also use expressions to link the transform properties.

Best of luck - let us know your results!

#3 caltd

caltd

    Newbie

  • Members
  • 33 posts
  • Gender:Male
  • Location:NYC

Posted 25 January 2012 - 11:26 PM

Convert: possibly export the project to an XML file...
1) Reduce project to only the minimum data needed, I.E. 1 comp with nulls to be converted to lights only. Nothing else.
2..8) Blah Blah Blah
9) Import "nullsprojectconverted.xml" in to AE.


Just tried that... You're going to need a magic decoder ring. So little human-readable data in even the simplest of AE files that I do not envy your task.

Where is the null data coming from? Why do you need to convert them? More info might help your cause.

#4 kelceysteele

kelceysteele

    Newbie

  • Members
  • 37 posts
  • Gender:Female
  • Location:Atlanta, GA

Posted 26 January 2012 - 02:59 AM

I might be over simplifying this... but why not just make a new light for each null and then make each of those lights a child of each null and zero out the position? Once the lights are in place you could just adjust the intensities...

#5 the_Monkey

the_Monkey

    simian

  • Members
  • 2,011 posts
  • Gender:Male
  • Location:Brooklyn, NY

Posted 26 January 2012 - 05:06 AM

Sweet christ my head hurts... let Cinema do the work.
If you want Lights in AE make lights in C4D.

http://www.xsyann.co...offee/xs-switch

Export the Comp from C4D to AE (be sure to enable "Include 3D Data")

-m

#6 Mylenium

Mylenium

    Mograph Deity

  • Members
  • 1,455 posts
  • Location:Leipzig, Germany
  • Interests:cycling, music, Sci-Fi

Posted 26 January 2012 - 06:50 AM

I'm curious if there is a way to do this. Or a script that might be available?


http://provideocoali...utility_script/

Mylenium
[Pour Mylène, ange sur terre]
----------------------------------------------
www.myleniumblog.com

#7 louderthan11

louderthan11

    MoGraph Regular

  • Members
  • 65 posts
  • Gender:Male
  • Location:Boulder, Colorado
  • Interests:Climbing, Movies, MoGraph, Learning, Sharing, Whiskey

Posted 27 January 2012 - 05:30 PM

Thankyou Mylenium! That's exactly what I was looking for and that script was designed to solve the exact issue I was dealing with. I was using Cameratracker to track shots and then create null objects based on the tracking points. I wanted to use those points with Plexus but Plexus doesn't use nulls. It uses lights. Cameratracker can't make lights from tracking data. See the dilema? :) Thanks for the help guys!





Also tagged with one or more of these keywords: After Effects, Null Objects, Lights

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users