Itoo Software Forum

Author Topic: LOD - Node / Camera reference Z trouble  (Read 501 times)

TATMathieu

  • Newbie
  • *
  • Posts: 8
LOD - Node / Camera reference Z trouble
« 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

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4394
    • iToo Software
Re: LOD - Node / Camera reference Z trouble
« Reply #1 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.

Carlos Quintero
iToo Software

RealViz

  • Sr. Member
  • ****
  • Posts: 307
Re: LOD - Node / Camera reference Z trouble
« Reply #2 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.

RealViz

  • Sr. Member
  • ****
  • Posts: 307
Re: LOD - Node / Camera reference Z trouble
« Reply #3 on: November 30, 2022, 02:38:13 PM »
Max file...version 2022
You can replace the camera target with another PointHelper.
« Last Edit: November 30, 2022, 02:41:28 PM by RealViz »