3DTiles and glTF 1.0

classic Classic list List threaded Threaded
5 messages Options
Tension Tension
Reply | Threaded
Open this post in threaded view
|

3DTiles and glTF 1.0

Hi!

I understand correctly that ThreeDTilesLayer only works with b3dm datasets based on glTF 2.0 specification, and doesn't work with datasets on 1.0 specification?
Is there any way to open those datasets with osgEarth at the moment?

osgEarth 3.1 + osg 3.6.5

Thanks!
jasonbeverage jasonbeverage
Reply | Threaded
Open this post in threaded view
|

Re: 3DTiles and glTF 1.0

Not currently.   We are using tiny gltf under the hood and it only supports 2.0

On Fri, Mar 26, 2021, 5:49 AM Tension [via osgEarth] <[hidden email]> wrote:
Hi!

I understand correctly that ThreeDTilesLayer only works with b3dm datasets based on glTF 2.0 specification, and doesn't work with datasets on 1.0 specification?
Is there any way to open those datasets with osgEarth at the moment?

osgEarth 3.1 + osg 3.6.5

Thanks!


If you reply to this email, your message will be added to the discussion below:
http://forum.osgearth.org/3DTiles-and-glTF-1-0-tp7593746.html
To start a new topic under osgEarth, email [hidden email]
To unsubscribe from osgEarth, click here.
NAML
liugaijin liugaijin
Reply | Threaded
Open this post in threaded view
|

Re: 3DTiles and glTF 1.0

glTF 1.0 is out of date. Many softwares support only glTF 2.0 now.
Tension Tension
Reply | Threaded
Open this post in threaded view
|

Re: 3DTiles and glTF 1.0

In reply to this post by Tension
Maybe you know answer to this question: is it hypothetically possible to support gltf 1.0 spec with osgEarth (via old tinygltf or other libraries)?

Looks like one of the main differences between 2.0 and 1.0 is PBR instead of WebGL shaders. I don't know all specifics right know, but maybe it's just impossible to view 1.0 spec via osg/osgEarth because of that and i can drop the idea of writing it myself?

Thanks.
jasonbeverage jasonbeverage
Reply | Threaded
Open this post in threaded view
|

Re: 3DTiles and glTF 1.0

It is hypothetically possible but the best path forward is probably to just convert your old 1.0 datasets to 2.0.   I believe the Cesium team has some tools for that.   Ideally we wouldn't have to deal too much with maintaining the gltf loading support ourselves, we've already had to make changes to tinygltf which I'm not really excited about.   At some point we might want to look at using the gltf loader from cesium-native or the one from assimp instead.

Jason

On Wed, May 19, 2021, 7:30 AM Tension [via osgEarth] <[hidden email]> wrote:
Maybe you know answer to this question: is it hypothetically possible to support gltf 1.0 spec with osgEarth (via old tinygltf or other libraries)?

Looks like one of the main differences between 2.0 and 1.0 is PBR instead of WebGL shaders. I don't know all specifics right know, but maybe it's just impossible to view 1.0 spec via osg/osgEarth because of that and i can drop the idea of writing it myself?

Thanks.



If you reply to this email, your message will be added to the discussion below:
http://forum.osgearth.org/3DTiles-and-glTF-1-0-tp7593746p7593841.html
To start a new topic under osgEarth, email [hidden email]
To unsubscribe from osgEarth, click here.
NAML