3d objects and the camera should be placed at their proper positions.
This involves using the cityjson metadata.geographicsExtent and transform.translate properties to find the latitude and longitude of an object.
Due to floating point errors, all rendered objects should be within a certain range of the canvas's origin (0,0,0 position). Assuming the camera stays at around 0,0,0 in canvas space, but moves around in lat+long, all objects will need to be moved to their proper canvas space.
3d objects and the camera should be placed at their proper positions. This involves using the cityjson metadata.geographicsExtent and transform.translate properties to find the latitude and longitude of an object.
Due to floating point errors, all rendered objects should be within a certain range of the canvas's origin (0,0,0 position). Assuming the camera stays at around 0,0,0 in canvas space, but moves around in lat+long, all objects will need to be moved to their proper canvas space.