dmurdoch / rgl2gltf

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

Use normalized bytes when possible #40

Closed dmurdoch closed 2 years ago

dmurdoch commented 2 years ago

rgl colours are always from 0 to 255 in each component. Values like that can be written as normalized bytes, for a big reduction in size.