gltf scale factor and georeference

403 views
Skip to first unread message

umberto...@gmail.com

unread,
Jan 17, 2014, 11:04:32 AM1/17/14
to cesiu...@googlegroups.com
Hi all!

I'm testing the glTf functionalities in Cesium: i'm trying to import a 3D model of a city, converted from COLLADA to glTF using the official conversion tool brovided in the glTf branch.

The converter works well and the 3D model is visualized in Cesium with very good performances, but there are some issues:

1) scale factor: what is the scale factor that I have to use in Cesium for 3D models?
2) there is any way to georeference the glTF 3D model?

umberto...@gmail.com

unread,
Jan 17, 2014, 11:08:16 AM1/17/14
to cesiu...@googlegroups.com, umberto...@gmail.com
Additional information:

-the COLLADA 3D model of the city was created starting from a CityGML file and converted by FME

If someone wants some screenshot let me now...

Umberto

Patrick Cozzi

unread,
Jan 20, 2014, 11:30:30 AM1/20/14
to cesiu...@googlegroups.com, umberto...@gmail.com
Umberto,

We're happy to see a screenshot, thanks.

glTF will have everything in meters (#23) but that is not implemented in the converter yet.  I'll followup with Fabrice (the main converter developer) about that.  Right now, it will have the same units as the COLLADA file.  Scale just multiples this, e.g., 2.0 is twice the size and 0.5 is half the size.

glTF will not have geolocation in the 1.0 spec.  However, there will be a geolocation extension that Cesium will implement.  The schema is still TBA, but it will be simple longitude, latitude, and height like COLLADA.  In the meantime, you can reference a glTF asset from a CZML file to define its location.  Here's an example CZML file.

Patrick

Umberto Di Staso

unread,
Jan 23, 2014, 3:09:14 AM1/23/14
to Patrick Cozzi, cesiu...@googlegroups.com
Hi Patrick

Here the screenshot of the glTF model created by the use of a cityGML-LOD2 (with roofs) of an Italian city

Hope to hear news about the geolocation :)Immagine in linea 1 


2014/1/20 Patrick Cozzi <pjc...@gmail.com>
Schermata 2014-01-23 alle 09.06.01.png

Patrick Cozzi

unread,
Jan 23, 2014, 9:32:13 AM1/23/14
to Umberto Di Staso, cesiu...@googlegroups.com
Cool.  Thanks for sharing.  How many buildings is that?

Patrick
Schermata 2014-01-23 alle 09.06.01.png

Umberto Di Staso

unread,
Jan 23, 2014, 10:46:43 AM1/23/14
to Patrick Cozzi, cesiu...@googlegroups.com
The entire city is composed by (more or less) 10k buildings

the performances are incredible good!!!!


2014/1/23 Patrick Cozzi <pjc...@gmail.com>
Schermata 2014-01-23 alle 09.06.01.png

Patrick Cozzi

unread,
Jan 23, 2014, 11:23:19 AM1/23/14
to Umberto Di Staso, cesiu...@googlegroups.com
Great - thanks for the info!

Patrick
Schermata 2014-01-23 alle 09.06.01.png
Reply all
Reply to author
Forward
0 new messages