Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D tiles camera view LOD issue #1987

Closed
alexLuky opened this issue Jan 21, 2023 · 4 comments
Closed

3D tiles camera view LOD issue #1987

alexLuky opened this issue Jan 21, 2023 · 4 comments
Assignees
Milestone

Comments

@alexLuky
Copy link

alexLuky commented Jan 21, 2023

Your Environment

Itowns example page

Context

3D tiles rendering is not good because it makes not visible (or low LOD) tiles that are closely near the camera ( video ). Theoritically I can understand this behavior for further tiles but not for the closest. If we compare the behavior with cesium rendering we can see that further tiles also dissappears but not the closest ones. They are stable. It looks like basic algorythmic 3D tiles rendering issue in iTowns.

Steps to Reproduce (for bugs)

Video to reproduce: https://youtu.be/WxRkMlW9TO8

Expected Behavior

Only further tiles has to be hidden, but not the closest ones.
Can you suggest a better way to control the far limit of dissappearing of further tiles without editing dataset's json schema?

Possible Cause/Fix/Solution

It looks like there is a problem with calculating the SSE of the tiles and the camera. May be the closest tile dissappears because it's too big and when I move the camera it reaches the far limit and as a result the render hides it. Perhaps iTowns uses less LOD in this case than Cesium does,

@jailln jailln self-assigned this Jan 23, 2023
@jailln jailln added this to the 2.xx.x milestone Jan 23, 2023
@jailln
Copy link
Contributor

jailln commented Jan 23, 2023

Hi,
thanks for this issue, I will take a look at it.

@alexLuky
Copy link
Author

alexLuky commented Feb 8, 2023

@jailln
Why this happening? It looks like this behavior and the previous one have the same reason... it looks like itowns has basic tiles rendering algorythmic shortcomings...
https://www.youtube.com/watch?v=qGOsbA2-IZs

@alexLuky
Copy link
Author

alexLuky commented Feb 8, 2023

@jailln Why this happening? It looks like this behavior and the previous one have the same reason... it looks like itowns has basic tiles rendering algorythmic shortcomings... https://www.youtube.com/watch?v=qGOsbA2-IZs

I think it would be better to hide the tiles nodes and meshes only after the new one's data has been loaded and rendered. Now it looks like firstly we hidding the old one and only then rendering the new one. Also why do we have to hide the tiles that are in our field of view?

@jailln
Copy link
Contributor

jailln commented Sep 26, 2024

Fixed with the new layer OGC3DTilesLayer

@jailln jailln closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants