KhronosGroup / ANARI-Docs

ANARI Documentation
Other
30 stars 8 forks source link

Uniform geometry attributes #103

Closed jeffamstutz closed 9 months ago

jeffamstutz commented 1 year ago

Users have reported the desire for uniform attribute values on geometries -- the idea is that currently attributes are only allowed as arrays, which is inefficient for attributes are uniform to the entire geometry. The most straight forward addition to the API is to let attributes be specified as individual values, with types matching compatible array element types.