Closed andreasplesch closed 8 years ago
Here is the x3dom implementation
https://github.com/x3dom/x3dom/blob/master/src/nodes/Geospatial/GeoTransform.js#L124
It boils down to a lot of transform matrix multiplications.
Is there a practical example use case of GeoTransform with all values set available?
There are a couple of examples here which exercise all fields:
http://andreasplesch.github.io/x3dom/
They should be pretty close standard x3d.
These use GeoViewpoint. You can press 'v' to get a regular viewpoint printed out on the x3dom console.
x3dom also has a non-standard globalGeoOrigin field:
http://doc.x3dom.org/author/Geospatial/GeoTransform.html
It provides a way to avoid having to repeatedly provide the same GeoOrigin field for all GeoNodes.
»x3dom also has a non-standard globalGeoOrigin field:«
this some kind of magic
Cobweb only implements standard Nodes and fields as there is enough to do with it. GeoTransform: Fix commited.
Understood.
I did not test GeoTransform but it does not look quite right. Here is a description: https://sites.google.com/site/x3dgeo/x3d-geospatial-nodes/geotransform I see if I can come up with a simple test scene.