Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: TATMathieu on November 28, 2022, 04:07:14 PM

Title: LOD - Node / Camera reference Z trouble
Post by: TATMathieu on November 28, 2022, 04:07:14 PM
Hello,

I want to use your build-in LOD  system in production, but the behavior change.

In all of my scenes, the LOD is controlling by a pointHelper in look-at target. But sometime I have to move my point in Z above my scene and sometimes under....
I don't really understand and find a logical process to always have the same result.
In few cases I must create one helper per Forest with Z offset to have the good result in the same scene  :-[ .

I've tryed with camera instead point, same issue.

Changing pivots not solve troubles.

Please, can you explain how does it process to create the same result every time.

Thank you

Attached files : scenes and gif
Title: Re: LOD - Node / Camera reference Z trouble
Post by: iToo on November 30, 2022, 01:44:17 PM
Hi,

This happens because the LOD distance is computed in 3D, from the item to the Look-At-Target.
In this case you would need to ignore Z, and compute 2D distance instead... but it doesn't work in that way.

Unfortunately there is not a workaround for that. There is not any option to switch between 2D and 3D.

Title: Re: LOD - Node / Camera reference Z trouble
Post by: RealViz on November 30, 2022, 02:34:50 PM
I think the solution is simple. Use WireParameters and assign PointHelper to CamTarget so that X=X, Y=Y, Z=0.
Title: Re: LOD - Node / Camera reference Z trouble
Post by: RealViz on November 30, 2022, 02:38:13 PM
Max file...version 2022
You can replace the camera target with another PointHelper.