Closed liuyehua closed 1 year ago
I have... no idea what could be causing this.. How far away are those tiles from the camera in world-units.
I have... no idea what could be causing this.. How far away are those tiles from the camera in world-units.
I tried to look down from the vertical direction, and when the camera height was around 3360000, the map tiles began to hover on the blackened edge...
could you perhaps send me a .zip of your project? so i could debug it myself?
I have... no idea what could be causing this.. How far away are those tiles from the camera in world-units.
I have found the problem, and this problem occurs when I turn on the logarithmicDepthBuffer...
could you perhaps send me a .zip of your project? so i could debug it myself? I am so sorry,This is not my personal project, it's a project of my company, I'm just working for it... The problem lies in the logiarithmicDepthBuffer, can you roughly guess what the reason is? If I don't turn on this, AO is normal, but if I don't turn on this, objects in my scene will flicker...
I have observed some useful phenomena, when I set camera near number more big , The later the black tiles appear, May this be an accuracy issue caused by the large difference between camera far and near...
Intriguing... log depth buffer probably relies on very high-precision math that breaks down at larger scales.
Did you try subdividing your plane - it could be that the depth-interpolation math breaks down at such large scales.
Did you try subdividing your plane - it could be that the depth-interpolation math breaks down at such large scales.
the map tiles is replies quad tree... The solution I am thinking of now is to dynamically change the near of the camera when the lens is zoomed out
I could also just disable AO entirely when the distance is too large... I don't know.
I could also just disable AO entirely when the distance is too large... I don't know.
yes that's a good way too😀
I could also just disable AO entirely when the distance is too large... I don't know.
Now I am wondering why sky.js is not affected. .
Cuz I have a special piece of code to exclude the sky from AO - I could also do that with things that are very, very far away.
Cuz I have a special piece of code to exclude the sky from AO - I could also do that with things that are very, very far away.
So can your AO plug-in set a threshold uniform, allowing users to decide how far away the distance AO will no longer take effect. . .
I'm thinking about that... though it appears the issue is w/ large triangles in general, so I don't know.
Pushed a possible fix. Let me know if it works - try version 1.6.7.
Pushed a possible fix. Let me know if it works - try version 1.6.7.
very nice,it works!!!, Thank you very much for your contribution
I'm so happy it works!
I am developing a mapping software based on an open source project (https://github.com/tentone/geo-three) , I found When the height of my camera reaches a certain height, some of the map tiles will start to turn black, and eventually all tiles will turn black, but the sky.js background is not affected, i dont know what happened...