iTowns / itowns

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

[Architecture] Uniformize scaling and translation across all pointcloud layers #2189

Open Desplandis opened 12 months ago

Desplandis commented 12 months ago

Context

Currently there are multiple ways to set the position and scale properties of point cloud meshes when fetching and parsing data. This leads to hard-coded condition in the provider mechanism (see PointCloudProvider.js). We may want to provide and document a unique way for all pointcloud layers.

Actual Behavior

Expected Behavior

A few suggestions: