pro3d-space/PRo3D

Add GLTF support

Opened this issue · 2 comments

GLTF is supported by the newest Aardvark Rendering Libraries.

suggested steps:

  • update packages
  • add import button to menu and wire messages
  • create scenegraph

Hey, the whole thing is at https://github.com/aardvark-community/aardvark.gltf.
Feedback would certainly be welcome.

There is a little more to be considered.

  • How do we integrate this third kind of objects. Having type Surface = Opc | Obj | GlTf? Doable? this is the time we could cleanup surface handling a bit more, following @LauraFritz14 recent cleanups and consolidations
  • We need to generate KdTrees, robust to huge coordinates, I assume GLTF output is properly triangulated? Can we skip polymesh here? Do we need to filter degenerates etc?
  • We should only load the object once, loading for Picking and the Scene Graph should be consolidated.
  • Recently we created a seperate shader for obj's, can we re-use this shader?

I think @LauraFritz14 has the best overview on other important facets to consider. I will discuss this offline and we will come back to this one.