/chezscheme-glb

Library for reading .glb files exported from Blender

Primary LanguageSchemeMIT LicenseMIT

chezscheme-glb

Library for reading .glb files exported from Blender


Quickstart

Load a .glb file exported from blender:

(import (glb))

(call-with-port
  (open-file-input-port "./mesh.glb")
  get-glb)

The data structure is quite self explanatory. I recommend you print it out to the REPL and explore it.

  • JSON objects are represented as association lists
  • JSON arrays are represented as lists.
  • nulls are represented as '()