chicagobob123 Posted March 8, 2018 Share Posted March 8, 2018 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2018 Share Posted March 8, 2018 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 Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted March 8, 2018 Author Share Posted March 8, 2018 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 Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted March 8, 2018 Author Share Posted March 8, 2018 I fixed it? Or wrote around it. You alter the camera Y position at the same time and everything works. https://www.babylonjs-playground.com/indexstable#QE7KM#59 Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted March 9, 2018 Author Share Posted March 9, 2018 FYI so far no matter how hard I try I can not break the code in playground. Its got to be in my code just can not figure out where. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2018 Share Posted March 9, 2018 This often happens And this is why I love having repro in the PG Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.