KhronosGroup / ANARI-Docs

ANARI Documentation
Other
31 stars 8 forks source link

Combine `intensityDistribution` and `intensity` for lights? #95

Closed UX3D-haertl closed 1 year ago

UX3D-haertl commented 1 year ago

One could simplify KHR_LIGHT_QUAD and KHR_LIGHT_RING by combining these two parameters. Just use the intensity parameter which can have type FLOAT32 or ARRAY1D / ARRAY2D of FLOAT32. This would be similar to the color/opacity parameter in volume. Or is there a reason not to do this?

johguenther commented 1 year ago

This is an intriguing proposal. One possible disadvantage is that then there is no easy way to uniformly scale the brightness of the light (keeping the intensity distribution), or to combine intensityDistribution with power or radiance.

johguenther commented 1 year ago

After discussion in WG we like to keep parameters separate, for the reasons given above.