iTowns / itowns

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

Point cloud attributes #2262

Closed ftoromanoff closed 4 months ago

ftoromanoff commented 5 months ago
jailln commented 4 months ago

It seems to break potree's examples:

ftoromanoff commented 4 months ago
  • potree_3d_map

It seems to break potree's examples:

  • potree_25d_map.html :
PotreeDebug.js:8 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '__folders')
    at getController (PotreeDebug.js:8:1)
    at hideController (PotreeDebug.js:19:1)
    at setupControllerVisibily (PotreeDebug.js:28:1)
    at Object.initTools (PotreeDebug.js:147:1)
    at onLayerReady (potree_25d_map.html:105:39)
  • same error in potree_3d_map.html when changing styling display mode

Fixed. I didn't pay attention that potreeDebug was used in other example. I made it more flexible to the folder name, instead of having it hardcoded.