Closed SymbolixAU closed 4 years ago
To support Float32Array([ ]) buffers RGB(A) colours (in webGL) need to be in an interleaved vector.
Float32Array([ ])
Needs a vector of n_coordinates / n_reps to know how many times to repeat each colour.
n_coordinates / n_reps
Would be good to build this directly, rather than as a matrix, then externally convert to a vector.
maybe have a colour_values_interleaved() internal / non-exposed (to R) header function?
colour_values_interleaved()
and how does it fit in with spatialwidget / other workflows?
To support
Float32Array([ ])
buffers RGB(A) colours (in webGL) need to be in an interleaved vector.Needs a vector of
n_coordinates / n_reps
to know how many times to repeat each colour.Would be good to build this directly, rather than as a matrix, then externally convert to a vector.
maybe have a
colour_values_interleaved()
internal / non-exposed (to R) header function?and how does it fit in with spatialwidget / other workflows?