CGTalk > Software > Compositing Software > Adobe After Effects
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-27-2013, 03:36 PM   #1
JayCox
Veteran
portfolio
Julian Cox
Hamburg, Germany
 
Join Date: Mar 2012
Posts: 42
3D Data to 2D Tracker

Heya

I have following question:

I want to get 3D data from c4d to AE to use as tracking points for a 4-corner pin...

My setup is as follows:
I have a CG scene with an object, put in Nulls on the 4 corners of the face of the object which at first is static and later moves, Also I have a moving MoCam.

Now I export the compositing file with the four nulls and the camera to AE via the Exporter in Cinema.

In this .aec file I have the camera and the four null objects. Now these are of course 3d objects, therefore they are 3d layers... Also at the beginning the static Nulls are not moving, only the camera, which means the tracking points actually DO move...

How can I turn this around? I want to have the four nulls as 2D layers with position key frames relativ to a not moving camera so i can use a 4 corner pin to attach a picture file.

And no I sadly cannot use the 4 corner tracker because the material is black in grey... so tracking gives me very bad results...(well I'm gonna try it later lacking a better idea...) And I can't texture it either because the picture is also effected within after effects...

I could of course somehow render the 3D camera but I would still need to get the Nulls to have the same coordinates as the picture... (meaning if I manually move something to the first corner it has the 2d coordinates of 471 / 274 but the Null has 1870 / 3929 / (-1249)...

How would you solve my problem?

Thank you for your help!

Greetz,
JayCox
 
Old 10-25-2013, 10:45 AM   #2
JayCox
Veteran
portfolio
Julian Cox
Hamburg, Germany
 
Join Date: Mar 2012
Posts: 42
If anyone is interessted... I exported the camera from c4d, made it the active camera and bam, it worked, had to put the layers to the right place in 3d space and parent them


Yay...
but now i have a problem with a different project and the four corner pin again... grrrr
 
Old 10-26-2013, 05:43 PM   #3
kyrgr
Frequenter
portfolio
kyriakos Rissakis
None
Athens, Greece
 
Join Date: Apr 2011
Posts: 143
Working with 3d in AE is really frustrating, one of the reasons
i do not use AE much. I suppose that right click in position,
check "separate dimensions" and control-x to copy the x and y
values can be used to force a 2d layer( not tracker ) to follow
the projection(on xy plane) of a 3d layer.
 
Old 10-28-2013, 09:18 PM   #4
Iaenic
Lurker
portfolio
Chris Lorance
Producer
Indigo Slate
USA
 
Join Date: Jun 2009
Posts: 288
Alternatively, you could use expressions to convert the 3d positions to a 2d screen position.

For example, lets say you wanted the "Upper Left" corner pin point to be bound to Null 1. You would alt-click the stopwatch and then type this:

Code:
L = thisComp.layer("Null 1"); L.toComp([0,0,0]);


That would force the 2-dimensional corner pin point to align to the 3 dimension position of the null. Rinse and repeat for the other 3 points.

Note: Things get wonky if the nulls go off camera
__________________
It's nice being part of the big picture, even if i'm just a pixel.
 
Old 10-28-2013, 09:18 PM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:22 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.