You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The viewer now only works for triangulated files. When a CityJSON file is uploaded, one Three.js geometry is created and all vertices are added to that. Then, from the CityJSON geometries, the Three.js geometry faces list is filled with THREE.Face3 objects, which only needs pointers to the vertices. Three.js can show polygonal geometries using ShapeGeometry, but this uses paths to build the edges of the polygons. This requires a different approach than the one currently implemented.
The text was updated successfully, but these errors were encountered:
The viewer now only works for triangulated files. When a CityJSON file is uploaded, one Three.js geometry is created and all vertices are added to that. Then, from the CityJSON geometries, the Three.js geometry faces list is filled with THREE.Face3 objects, which only needs pointers to the vertices. Three.js can show polygonal geometries using ShapeGeometry, but this uses paths to build the edges of the polygons. This requires a different approach than the one currently implemented.
The text was updated successfully, but these errors were encountered: