Skip to content

What does "frustum.lodScale" mean? #1083

Answered by robertosfield
Anshi701 asked this question in Q&A
Discussion options

You must be logged in to vote

I wouldn't recommend trying to understand the maths used internally, and it's awkward and long winded to explain so I'm not about to attempt to. It's essentially a computational short hand to make things more efficient when computing whether a LOD should be culled or not.

Thankfully you don't need to know all these internal implementation details for your purposes. ScreenHeightRatio is simply the ratio of screen height that the bounding sphere that is projected into the viewport will occupy. A ratio of 0.5 will mean that a bounding sphere will be culled when it's smaller than half the window height when projected into the viewport. If you know the vertical field of view projection then yo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Anshi701
Comment options

Answer selected by Anshi701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants