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

link focus distance and set focus distance menu options greyed out after 23.3 update

Community Beginner ,
Mar 30, 2023 Mar 30, 2023

Copy link to clipboard

Copied

Link focus distance and set focus distance RMB menu options are greyed out after 23.3 update.

The function is also unavalable via custom hotkey

Bug Fixed
TOPICS
UI and UX , Workflow

Views

1.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

correct answers 1 Pinned Reply

Adobe Employee , May 09, 2023 May 09, 2023

Hi all! Thanks again for your feedback. This bug has been fixed in the 23.4 release of After Effects. Please update to the latest version and let us know right away if you continue to see the issue.

Status Fixed

Votes

Translate

Translate
9 Comments
Adobe Employee ,
Mar 30, 2023 Mar 30, 2023

Copy link to clipboard

Copied

Hi @levp4692908,

Thank you for reporting this issue. We can reproduce this as well and we are now investigating to get it fixed.

 

Thanks again for reporting this issue!

- John, After Effects Engineering Team 

Status Investigating

Votes

Translate

Translate

Report

Report
Community Expert ,
Mar 30, 2023 Mar 30, 2023

Copy link to clipboard

Copied

I am not seeing this problem on an M1 Mac with 23.3 unless the C4D render engine is selected, but that makes sense because there is no depth of field with the C4D rendering engine.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Apr 04, 2023 Apr 04, 2023

Copy link to clipboard

Copied

I've also been having this problem since the new update.

This is the second major problem with 3D cameras in AE in recent months, alongside the issue with 3D Camera Tracker failing constantly.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Apr 04, 2023 Apr 04, 2023

Copy link to clipboard

Copied

BTW, it's Win 10, AE v23.3

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Apr 04, 2023 Apr 04, 2023

Copy link to clipboard

Copied

Hi folks,

 

We have a fix for this in progress. The fix is already available in After Effects Beta, v23.4. We're working on getting this added to the Known Issues page until After Effects 23.4 has graduated from Beta.

 

Note that this problem only occurs in After Effects 23.3 on Windows. Mac is unaffected.

 

If you need to use the Link Focus and Set Focus commands, here are a few options:

  • Install and use After Effects Beta, v23.4.
  • Revert to After Effects 23.2.1 until 23.4 has graduated from Beta.
  • Manually modify the comp. Some instructions below.

 

The Link Focus Distance to Layer command adds an expression to a 2-node camera's Camera Options > Focus Distance property:

//Automatically calculates Focus Distance to follow Point of Interest
var usingLegacyEngine = !!$.version;
try{
	thisLayer( "ADBE Transform Group" )( "ADBE Anchor Point" ).value;
}catch(err){
	quote = String.fromCharCode(34);
	if ( usingLegacyEngine ) {
		$.error = "" + quote + "Camera 1" + quote + " cannot be a One-Node camera";
	} else {
		throw "" + quote + "Camera 1" + quote + " cannot be a One-Node camera";
	}
}
length([transform.position[0] * thisComp.pixelAspect , transform.position[1], transform.position[2]], [transform.pointOfInterest[0] * thisComp.pixelAspect, transform.pointOfInterest[1], transform.pointOfInterest[2]]);

 

The Link Focus Distance to Layer command adds an expression to a 2-node camera's Camera Options > Focus Distance property. Note that you will need to change the targetLayer variable to your desired 3D layer.

//Automatically calculates Focus Distance to follow the layer "Dark Gray Solid 1"
var usingLegacyEngine = !!$.version;
try{
	thisLayer( "ADBE Transform Group" )( "ADBE Anchor Point" ).value;
}catch(err){
	var quote = String.fromCharCode(34);
	if ( usingLegacyEngine ) {
		$.error = "" + quote + "Camera 1" + quote + " cannot be a One-Node camera";
	} else {
		throw "" + quote + "Camera 1" + quote + " cannot be a One-Node camera";
	}
}

var targetLayer = thisComp.layer("Dark Gray Solid 1");

try{
	targetLayer.transform.position[2]
}catch(err){
	var quote = String.fromCharCode(34);
	if ( usingLegacyEngine ) {
		$.error = "" + quote + "Dark Gray Solid 1" + quote + " cannot be a 2D layer. The Focus Distance of " + quote + "Camera 1" + quote + " can only be set to follow 3D layers.";
	} else {
		throw "" + quote + "Dark Gray Solid 1" + quote + " cannot be a 2D layer. The Focus Distance of " + quote + "Camera 1" + quote + " can only be set to follow 3D layers.";
	}
}

var cameraPosition = [transform.position[0] * thisComp.pixelAspect, transform.position[1], transform.position[2]];
var cameraPoi = [transform.pointOfInterest[0] * thisComp.pixelAspect, transform.pointOfInterest[1], transform.pointOfInterest[2]];

if ( thisLayer.hasParent ){
	cameraPosition = thisLayer.parent.toWorld( cameraPosition );
	cameraPoi = thisLayer.parent.toWorld( cameraPoi );
}

var targetPosition = [targetLayer.transform.position[0] * thisComp.pixelAspect, targetLayer.transform.position[1], targetLayer.transform.position[2]];

if ( targetLayer.hasParent ){
	targetPosition = targetLayer.parent.toWorld( targetLayer.transform.position );
}

var cameraVector = sub( cameraPoi, cameraPosition );

if( length( cameraVector ) != 0 ) {
	cameraVector = normalize( cameraVector );
}

var targetVector = sub( targetPosition, cameraPosition );
dot( targetVector, cameraVector );

 

The Set Focus Distance to Layer command uses the same logic as Link Focus Distnace to Layer, but leaves the value static. The easiest way to do this manually is to apply the Link Focus Distance to Layer expression as per above, read the value it produces, disable the expression and manually set the Focus Distance property to that static value.

 

The Reset Camera command is also affected by this bug. This command is also available in the 3D View Popup menu in the lower-right corner of the Composition panel. From this menu, it will work.

Status Started

Votes

Translate

Translate

Report

Report
Community Beginner ,
Apr 06, 2023 Apr 06, 2023

Copy link to clipboard

Copied

Experiencing this too. Wasted an hour thinking I had gone insane until I found this post. Fun!

Votes

Translate

Translate

Report

Report
New Here ,
Apr 30, 2023 Apr 30, 2023

Copy link to clipboard

Copied

After effects, updated version (v23,3), "link focus distance" function is always disabled. I saved the same project in the previous version, 2022, opened it in after effects 2022 and the function is working normally.

OBS: My after effects is in the PT-BR language. (Screenshot)

 

 

 

Votes

Translate

Translate

Report

Report
Adobe Employee ,
May 02, 2023 May 02, 2023

Copy link to clipboard

Copied

Try in the 23.5 beta and see if it is still happening. There is a bug in 23.3 where some of the camera menus were not being enabled correctly.

Status Needs More Info

Votes

Translate

Translate

Report

Report
Adobe Employee ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

LATEST

Hi all! Thanks again for your feedback. This bug has been fixed in the 23.4 release of After Effects. Please update to the latest version and let us know right away if you continue to see the issue.

Status Fixed

Votes

Translate

Translate

Report

Report