iTowns / itowns

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

3dtiles material issues #1370

Closed D-WPanda closed 1 week ago

D-WPanda commented 4 years ago

load 3dtiles has a issues,failing to load material. The 3dtiles httpurl is "http://earthsdk.com/v/last/Apps/assets/dayanta/tileset.json"

gchoqueux commented 4 years ago

Hello,

I try your 3dtiles url. I noticed 2 problems:

  1. There's points cloud with quantized position but iTowns doesn't support quantized position. I could add quick support.

  2. I check the the gltf embedded in your b3dm with gltf validator there are 2 errors:

    • undeclared extension : Extension KHR_materials_unlit was not declared in extensionsUsed, it's the fail reason of material loading.
    • Override of previously set bufferView target or usage.

The THREE.GltfLoader doesn't handle the error.

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 1 week ago

Closing since the input dataset is not valid and there has been no response for 2 years, feel free to reopen if needed.