I have discovered a fantastic open-source project. Can it be ported to babylonjs?

This is a 3D terrain Earth based on Threejs, it would be great if it could be ported to Babylonjs.

2 Likes

Link?

2 Likes

:sweat_smile: :rofl:i forgot

It’s already been done.

1 Like

Although the name is babylonjs-loader-3tiles, the reference inside is still Three.js.

Yeah that looks fishy to me!

Here you go. A non-fishy one ported by me…

The code is generated about a year ago and I am not a professional developer nor BJS expert either.

Currently, it only supports Google 3Dtiles (glb - 3DTiles v1.1), but should be relatively straightforward to extend to general form (b3dm - 3DTiles v1.0). Thus may not very relevant to the major thread.

In order to run it, you will need to apply for a free trial license for Tile API from google ( Use API Keys with Map Tiles API | Google Maps Tile API | Google for Developers).

hsonguk/3dtbjs: 3dtiles loader and renderer ported from OGC3DTiles from threejs for BabylonJS

Google 3DTiles in BabylonJS | Babylon.js Playground

4 Likes

cc @georgie FYI :slight_smile:

1 Like