SU to Cesium please help

SU to Cesium please help

Postby ne14surfing » Fri Jul 03, 2015 4:43 am

Hello I have been working with my client for years building SU models and exporting them in KMZ format to Google Earth. Now that Earth is going away they are migrating to Cesium. Cesium from what I understand only supports COLLADA files and it seems that the .dae format file sizes are much larger than .kmz. As a result my client is wanting smaller file sizes with less detail. Is there anyone out there that is having the same issue and how to solve.
0

ne14surfing 
 

Re: SU to Cesium please help

Postby TIG » Fri Jul 03, 2015 10:53 am

A DAE Collada file contains the geometry data.
When appropriate, there is also a folder of the texture images.
A KMZ is a re-suffixed ZIP file.
this contains a doc.KML file [used to interpret the other data for GE's purposes], and a subfolder named 'models' containing a very similar DAE file, and an images-subfolder [although the image file-names differ from a vanilla DAE] etc.
So if you extracted the compressed KMZ's contents it'd actually be slightly larger than a plain DAE and its images.
If the client now wants DAE files, then when they are uncompressed that's what they'll get - bigger files.
For 'transmission purposes' you could ZIP the DAE and its images-folder - then it'd be about the same size as the equivalent KMZ...
Of course they would need to extract the files to use them in their alternative 'Cesium' app and convert them into its 'glTF' format data - with GE the KMZ's contents are extracted 'behind the scenes', but it still happens !
I also see that there is a KML to CZML converter https://groups.google.com/forum/#!topic ... Htl6MXvEFY
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Google Earth

Who is online

Users browsing this forum: No registered users and 2 guests

Visit our sponsors: