• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Tracking Rotation of Object in a scene

Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Hi, this is my first time posting. I have tried to find an answer to my question but I am not quite getting what I'm looking for.

I'm trying to have a holographic screen hover over an object that my main character is holding. This happens in a couple of shots. I was able to pull it off in a couple of shots using simple planar tracking in mocha but the rotation is always a bit off and I need to correct manually way too often.

I am sure there is a way to track not only the position but the rotation of my object in 3D space as to simply get a rotation axis to which I could parent my hologram composition. I have attached a couple of screenshots for reference.

Hologram capture 1.PNGHologram capture 2.PNGHologram capture 3.PNG

Views

6.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 06, 2017 May 06, 2017

looks fine to me with this setup. make sure you get a track that sticks. in Ae 3D it and parent it to a 3D null and offset the Null in Z, scale a little, adjust maybe with position for the first part and you are good to go:

001.gif

Votes

Translate

Translate
Engaged ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

You can use Mocha for planar tracking:

Videos « Imagineer Systems

'mocha AE CC is licensed by Adobe and ships free inside After Effects Creative Cloud.This free version is launched from within AE and features mocha’s planar tracking and masking functions, limited to support for After Effects Creative Cloud.'

There is an out of focus shot there, so you'll probably have to adjust it manually.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Like I said, as far as tracking with mocha I have no problem and the racking focus wasn't too much trouble, the problem is that mocha doesn't deal with any 3D data.

If I wanted to have the image skew perfectly on the device I wouldn't have any problems. What I would really like to be able to do is to have data for rotating an axis facing forward of the device and that allows me to move and rotate my hologram as a 3D object based on that plane that I'm tracking. Or is there an easier solution to get the same results that I'm missing?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

This is a perfect application for Mocha's corner pin tracking. This is the technique I use for this kind of tracking. Even though the shot is different, the technique will work perfectly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

I appreciate the use of mocha as far as planar tracking goes and the video you included in your comment would be the perfect way to go about having my image displaying right on the device my character is holding. However what I am looking for is some distance in 3D space between the device and the hologram. As if it was hovering over it. Once again and it would be no problem if the device wasn't moving and rotating around in the hands of the said character.

However what I am looking for is some distance in 3D space between the device and the hologram. As if it was hovering over it. Once again and it would be no problem if the device wasn't moving and rotating around in the hands of the said character. Unless I'm missing something obvious I'm thinking that I need 3D space rotation data to parent my comp to.

Here is a graph what I'm looking for.

Hologram rotation graph.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

if this is a flat screen you need to move in parallax with the object, then after you track it accurately on the screen, try set as a 3D layer and push the Z position back. if your layer has keyframes then 3D it, parent to a 3D null and move the null back. it might give you the offset that you need. of course if we could see the shot we could be more helpful and walk you through it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

This is pretty much what I'm doing. The problem is that the z axis is in relation to the background and not to where the emitting device is facing. It works half the time but I need to compensate when it rotates too much and I'm trying to find a simpler way to go about it. I will upload some footage so you guys can see better.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Unless I'm missing something obvious I'm thinking that I need 3D space rotation data to parent my comp to.

Frankly, who cares? You are overcomplicating this. You need no 3D data at all. A conventional corner pin will replesent the plane just fine and nothing stops you from mangling that data numerically using expressions, parenting or editing the keyboard data via the clipboard or manipulating the pixels with additional effects applied after the initial track. All that is required is some basic understanding of how perspective works and how 2D offsets and scaling relate to 3D.

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

I realize that I'm probably missing something hence why I come to you guys. I guess what I'm looking for is how I could mangle that data numerically to get the results I'm looking for. Any documentation I could read on the subject?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Well you can track the camera with AE, Mocha or Cinema4d.

The problem is the 3d object. What about the object tracker feature in Cinema 4d?

Cinema 4D R18 Object Tracker Test - YouTube

Don't know much about it but looks like it's what you need. Could be?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Yup! Exactly what I'm looking for. Was hoping I wouldn't need to get Cinema4D to do this seems pretty expensive

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Here's how it looks when I do a 4 corner pin and push back the z axis a bit. It looks okay but you can see how it rotates on it self instead of how it should. Is there a way I could get the perspective right without having to compensate manually every time?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

can you upload a clean shot so we can work with it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

LATEST

looks fine to me with this setup. make sure you get a track that sticks. in Ae 3D it and parent it to a 3D null and offset the Null in Z, scale a little, adjust maybe with position for the first part and you are good to go:

001.gif

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines