3d-Tiles-Renderer: A 3D Tiles implementation for three.js from NASA JPL

Okay, thanks for the quick response. I’ll have to further investigate the WGS84_ELLIPSOID to see how it could help me. So it takes

WGS84_ELLIPSOID.EastNorthUpFrame(lat,lon,Matrix4 as target)

I have to extract Vector3 (position) from this Matrix4 by

target.decompose( position, quaternion, scale );

Then you say I have to raycast from this position to see where I intersect with a tile?

Have a look at the other functions on ellipsoid - there are other ways to extract a position at a certain height if that’s what you’re interested in.

Then you say I have to raycast from this position to see where I intersect with a tile?

Correct. You have to orient the ray to point at the surface.

If you have other questions please make an issue at the repo. I prefer not to handle help requests in a resources post.

Version v0.4.5 has been released and brings new support for a variety of new image and map data formats in addition to some other smaller bug fixes.

With the recent plugin system it’s become easier to add new extended functionality such as loading other tiled data formats. Specifically support for Microsoft’s Deep Zoom Image format, the conventional XYZ map tiles format (used by OpenStreetMap, Google Maps, etc), and initial limited support for TMS tiles. More to come!

Deep Zoom Images

Displaying Deep Zoom Images. Demo.

XYZ Planar Tiles

Displaying XYZ map tiles as a plane.

XYZ Globe Tiles

Displaying XYZ map tiles as a globe. Demo.
6 Likes

Wow, this is absolutely stunning! Thank you!

I’m trying to display our data in your viewer and while there are quite a few generators which convert objects to 3d tiles, I’m struggling to integrate terrain data (like your mars dataset). What converter / pipeline did you use to generate these 3D-tiles? Any plans on reading quantized mesh terrain data?

Thanks again for this gem!

1 Like

Thanks!

What converter / pipeline did you use to generate these 3D-tiles?

The pipeline used is internal to JPL and not easily run on non-Martian data. See this resources list linked in the README for more information on generators, etc.

Any plans on reading quantized mesh terrain data?

Support for this should be available in the coming months.

4 Likes