SketchUp -> Cesium

288 views
Skip to first unread message

Greg Angevine

unread,
Nov 19, 2015, 1:02:28 PM11/19/15
to cesium-dev

Hi all, aside from exporting a model from SketchUp to Collada, converting to glTF and then loading it with a script in Cesium that includes the lat/long, is there an easier way to get the model into Cesium?

The workflow I would like to have is to be able to take the KMZ created by a SketchUp export and interactively load it into Cesium, just like one can do with Google Earth. 

It's too involved to expect a user (i.e. architect, urban planer) to convert to glTF from Collada, record the lat/long and upload the file into a Cesium app. Suggestions? Thanks!

Greg

Patrick Cozzi

unread,
Nov 19, 2015, 8:42:08 PM11/19/15
to cesium-dev
Hi Greg,

If you need something in the short-term, it would not be difficult to write a small tool to convert kmz/COLLADA to czml/glTF.  You could even do this as a web service so the user could just drag and drop onto the globe.

KML in Cesium will eventually support this directly (with a service to convert COLLADA to glTF), but you could probably do something for your specific case now pretty quickly.

Patrick

Greg Angevine

unread,
Nov 22, 2015, 4:31:04 PM11/22/15
to cesium-dev
Thanks Patrick, very helpful to know this is in the works. If we need the logic sooner we'll look into building a web service, great to know that thats a possibility.

Greg
Reply all
Reply to author
Forward
0 new messages