tentone / geo-three

Tile based geographic world map visualization library for threejs
https://tentone.github.io/geo-three/docs/
MIT License
651 stars 105 forks source link

LOD issue #45

Open laraduarte opened 1 year ago

laraduarte commented 1 year ago

Hello,

Can the LOD be adjusted to render all the tiles in the viewport? The tiles rendered every time the camera updates seem to be only the 4 in the center.

Thanks

image image

tentone commented 1 year ago

Yes you can change the parameters in the LOD Control object.

For LODFrustum and LOLDRadial increase the value of "subdivideDistance" to have more detail in the tiles.

laraduarte commented 1 year ago

by doing do I get this issue, top and bottom of the screen not on the same level :S (LODRadial, this.subdivideDistance = 100; this.simplifyDistance = 300;)

image

tentone commented 1 year ago

You can use the LODRadial or LODRaycast for this scenario instead.

Would be more suitable than LODFrustum

laraduarte commented 1 year ago

the screenshot is actually LODRadial (LODRadial, this.subdivideDistance = 100; this.simplifyDistance = 300;)

laraduarte commented 1 year ago

also, the height_shader is no longer working.

image

tentone commented 1 year ago

@laraduarte I have confirmed that the height shader is broken.

Please opena new issue for this. I will take a look into it.

laraduarte commented 1 year ago

About the lod issue described above any suggestions?! I sti think the lod system has some issues and is also the reason why some tiles are white and not loading