Skip to content
BIMserver that converts a model to binary glTF
Java GLSL
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Gltf Linked to 1.5.183-SNAPSHOT Feb 3, 2020
README.md Update README.md Apr 9, 2018

README.md

GltfSerializers

This is mainly just a demo, but it might evolve into a useful glTF serializer with a bit more effort.

Note: This plugin only works with the (yet unreleased) version 1.5 of BIMserver

Implemented:

Update glTF 2.0 does not use an extension anymore but natively supports embedding all data in one binary file. This is now also implementen as the glTF 2.0 serializer in this plugin.

Usage

  • Install this plugin
  • Download .glb files of your models with the "Binary glTF Serializer"

Using with CesiumJS

TODO

  • Convert to meters (the default length unit in glTF and Cesium) server-side
  • Transparency does not seem to work (for window for example)
  • Better default colors for objects with no vertex-colors
  • Implement non-binary version as well
  • Use object instancing
  • Actually reuse vertices (requires a BIMserver change as well, vertices are now stored on a per-object basis). At the moment all object's vertices array are just concatenated into one big buffer (with separate views for each object).
  • Do something with the normals in the shaders (maybe add some lights to the scene as well, not sure how that works in Cesium)
You can’t perform that action at this time.