We're trying to visualize trees in public areas by QGIS in 3D. We've got some metric information of every tree: total height, height of the trunk (below lowest branch), radius of the trunk, radius of the tree crown.
With the classic QGIS 3D tools these attributes can't be used in 3D symbolisation. With qgis2three.js plugin we can make use of these metric information to give each tree its own custom visualization, using multiple layers. The trunk is visualized using a cilinder. The crown is visualized using a cone or a sphere.
However it would be nice to be able to use an ellipsoid instead of a sphere. Now each crown is a perfect sphere whereas in reality crown radius is often not the same as the crown height. In the example below is pictured what happens when using crown radius to vizualise the tree crowns as spheres. The crowns of more slender trees tend to float above their trunks.
We're trying to visualize trees in public areas by QGIS in 3D. We've got some metric information of every tree: total height, height of the trunk (below lowest branch), radius of the trunk, radius of the tree crown.
With the classic QGIS 3D tools these attributes can't be used in 3D symbolisation. With qgis2three.js plugin we can make use of these metric information to give each tree its own custom visualization, using multiple layers. The trunk is visualized using a cilinder. The crown is visualized using a cone or a sphere.
However it would be nice to be able to use an ellipsoid instead of a sphere. Now each crown is a perfect sphere whereas in reality crown radius is often not the same as the crown height. In the example below is pictured what happens when using crown radius to vizualise the tree crowns as spheres. The crowns of more slender trees tend to float above their trunks.
Unfortunately and ellipsoid geometry does not seem to exist in the treejs library (https://threejs.org/docs/index.html#api/en/geometries/SphereGeometry)