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

Using Adjustment Layers in 3D space

Engaged ,
May 27, 2020 May 27, 2020

Copy link to clipboard

Copied

I'm trying to make the magnification for a magnifying glass using the Bulge and Magnify effect on an Adjustment Layer. Everything is 3D and there's camera movement but because the adjustment layers cannot be 3D the position of the effects do not line up with the glass (even if I pickwhip the Bulge and Magnify effect positions to the glass layer).

 

I've looked at a lot of tutorials for this (they're all pretty much the same): https://www.youtube.com/watch?v=7T12xIrc-P4
https://www.youtube.com/watch?v=_TVyH0qo34Q

 

...but none of them address how to do this in a 3D environment with camera movement. Any ideas? Thanks!

TOPICS
FAQ , How to

Views

3.1K

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 27, 2020 May 27, 2020

Copy link to clipboard

Copied

Adjustment layrs break 3D rendering, so I'm not even sure what the point of the exercise would be. You'd have to do it in 2D on top of the pre-composed 3D stuff no matter what. The rest is simply to vague to make any sense of it. It may of course be possible to facilitate the process by e.g. creating some extra 3D Nulls and reference them in an expression, but without knowing your exact setup this isn't going anywhere, either. Simply be more specific and provide at least soem screenshots.

 

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
Engaged ,
May 29, 2020 May 29, 2020

Copy link to clipboard

Copied

Sorry for not explaining my issue throughly enough. 

 

Basically, I have an image of a magnifying glass that is moving around a map (both are 3D). The magnifying glass is moving based on it's own keyframed position AND the movment of the camera in the scene. I can't figure out how to make the magnification effect follow the magnifying glass because the adjustment layer cannot be 3D and therefor ignores the camera movment. If I don't move the camera or remove it from the scene I have no issues. 

 

Here's a video showing the issue: https://youtu.be/-DZXWJ0kK9M

 

Hope this helps. Let me know if you have any other questions.

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
Advisor ,
May 29, 2020 May 29, 2020

Copy link to clipboard

Copied

You'll need to do an expression 'layer space transform' here. Does that terminology mean anything to you?

Off the top of my head... try this expression on your magnify effect position:

 

layer = thisComp.layer("Null 1")
layer.toComp([0,0,0])

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 29, 2020 May 29, 2020

Copy link to clipboard

Copied

The bulge effect should not be on an adjustment layer.

 

To solve the parallax problem add Bulge to Map layer. Then you need to write some expressions that look at the straight line between the center of the magnifying glass and the camera then project that position onto the map layer. You will also need to calculate the distortion when there is an angle between the magnifying glass and the camera. That's more vector math than I can do in my head, but it is doable.  You are going to need some layer and comp space transformations in the expression if there is any parenting involved.

 

Here's an illustration of the problems involved when the Magnifying glass is above the Map and you need to animate the displacement.

Screenshot_2020-05-29 16.31.51_RMHR3W.png

I set up a Point light with zero shadow diffusion and Shift + parented it to the camera so the projection would line up. I set the Magnifying glass layer (red circle) to cast a shadow and have 100% light transmission so the shadow would fall accurately on the Map layer (the grid). 

 

If this was my project I would set up Freeform Pro and use the same projection technique to distort under the magnifying glass. Here is a tutorial on how to do that. Too bad you can't do that with the Magnify Effect.

 

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
Guest
Oct 12, 2020 Oct 12, 2020

Copy link to clipboard

Copied

LATEST

And for the 47th time this year, Rick saves my arse!  The loud ticking of the deadline clock was starting to sound like church bells.  My director wants shockwaves at the points of impact in a hand-to-hand combat scene.  I need to be able to adjust the perspective of the waves according to the angle of the punch (or kick).  I got as far as figuring out the need for FreeForm Pro, and that was it... Thanks again Rick!

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