dmurdoch / rgl2gltf

Read and write .gltf and .glb files in R.
https://dmurdoch.github.io/rgl2gltf
7 stars 0 forks source link

Increase efficiency #3

Open dmurdoch opened 2 years ago

dmurdoch commented 2 years ago

Currently all integers are 4 bytes; we could use smaller ones.

Currently there's no sharing of materials between meshes

dmurdoch commented 2 years ago

Commit d5c7a7841397 adds smaller integer handling

dmurdoch commented 2 years ago

Materials are now shared. Attributes should be sharable as well, perhaps by memoization.