You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, great project. Very impressed with what's been achieved.
I've been working on creating geo located GLTF files after successfully viewing them with a simple Cesium viewer I've been trying to display them with TerriaJS. The objects appear at the expected scale and orientation but are positioned incorrectly, 90 degreees east of where they should be.
I have some simple code to illustrate the problem:
So should be on the surfaces at 0 latitude, 0 longitude. Oriented east/west.
Displaying the object in a simple cesium viewer which shows how the GLTF is loaded.
Problem occurs when loading the same file into TerriaJS.
The model can be loaded as GLTF by hosting on localhost or local server and using Upload -> Add Web Data -> [Step 1] GLTF -> my URL
It is possible to re-create the issue if I package the GLTF to GLB and upload it to map.terria.io
Object appears at 0N, 90E
Given Cesium correctly locates the objects it appears Terria might be applying a transform of some kind.
Version 0.2.3 running from the docker container.
If there is anything further needed to help understand the problem, please let me know.
The text was updated successfully, but these errors were encountered:
Hi,
First off, great project. Very impressed with what's been achieved.
I've been working on creating geo located GLTF files after successfully viewing them with a simple Cesium viewer I've been trying to display them with TerriaJS. The objects appear at the expected scale and orientation but are positioned incorrectly, 90 degreees east of where they should be.
I have some simple code to illustrate the problem:
Full code is here : https://github.com/p3t3c/geolocated-gltf/tree/main
GLTF is created with PyVista as such :
So should be on the surfaces at 0 latitude, 0 longitude. Oriented east/west.
Displaying the object in a simple cesium viewer which shows how the GLTF is loaded.
Problem occurs when loading the same file into TerriaJS.
The model can be loaded as GLTF by hosting on localhost or local server and using Upload -> Add Web Data -> [Step 1] GLTF -> my URL
It is possible to re-create the issue if I package the GLTF to GLB and upload it to map.terria.io
Object appears at 0N, 90E
Given Cesium correctly locates the objects it appears Terria might be applying a transform of some kind.
Version 0.2.3 running from the docker container.
If there is anything further needed to help understand the problem, please let me know.
The text was updated successfully, but these errors were encountered: