iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.09k stars 293 forks source link

Cesium has more detailed tiles texture render on zoom #1853

Open alexLuky opened 2 years ago

alexLuky commented 2 years ago

@gchoqueux @mgermerie

I faced with issue that itowns renders tiles textures much less detailed than cesium does from the same source.

Your Environment

Context

Here is cesium: image

Here is itowns: image

Also itowns has darker light wich makes the scene more nasty. How can I make it lighter? Should I use three,js light instances for this?

Steps to Reproduce (for bugs)

Here is the itowns code:

const tiles3dLayer = new itowns.C3DTilesLayer(datasetTilesSet3dObject.id, {
    name: datasetTilesSet3dObject.name,
    source: new itowns.C3DTilesSource({
      url: datasetTilesSet3dObject.url,
    }),
    sseThreshold: 1,
}, this.itownsViewer)
itowns.View.prototype.addLayer.call(this.itownsViewer, tiles3dLayer)

Expected Behavior

I expect that LOD will be increased to maxim while zooming. Now it looks like itowns just stops to update the LOD on zoom.

Any thoughts how can I achieve the same render quality as cesium does? I've attached the link to the source 3dTiles set for experiments.

jailln commented 2 years ago

see https://github.com/iTowns/itowns/issues/1859#issuecomment-1239206538

mgermerie commented 1 year ago

The complete 3d-tiles support is planned in the short term road map. We are currently studying possibilities in terms of libraries to enhance support (as mentioned in https://github.com/iTowns/itowns/discussions/1917).

jailln commented 9 months ago

@alexLuky this should be resolved with #2143 , can you test it and let me know please?

alexLuky commented 9 months ago

@jailln it's fantastic news. I surely would. Give me some time!