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