Skip to content

Make viewer suitable for non-triangulated files. #3

@fhb1990

Description

@fhb1990

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions