Jump to content

Is this a bug in LOD?


chicagobob123
 Share

Recommended Posts

I am using an Orthographic camera.  Created a playground for it. 

Looks like it only works with Arc Free but not

ORTHOGRAPHIC_CAMERA.
Excuse the code its a bit messy was trying different cameras. 
Seems like it doesnt matter how close or far you are it does not trigger the LOD 

https://www.babylonjs-playground.com/indexstable#QE7KM#53

Link to comment
Share on other sites

You are not moving the camera with your code but just changing the projection. LOD uses the distance from a mesh to the camera to determine the right LOD level

Link to comment
Share on other sites

Guess I don't understand  how to properly zoom the Ortho camera. I tried changing the camera y position here and it does nothing. Doesn't get any closer. 

I think thats because it doesn't effect the ortho rectangle. So how do you zoom or get closer to something using the Ortho camera? 

I am not seeing it. 

https://www.babylonjs-playground.com/indexstable#QE7KM#56

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...