Hi, apologies if this has been asked before. I’m reading through the Optix documentation, and trying to work out if it’s possible to produce a forward ray tracing simulation using Optix. We are attempting to model light propagation within and around plants, so rendering the scene is not the issue. What I’d like to do is model light rays from a source, e.g. the sun, and then measure where they strike the model, if at all. Rays striking the model would then recursively travel elsewhere.
One other thing that would be required is we’d need to be able to accumulate some value on the model triangles, that represented how often they had been hit. I’ve read that rays have a payload, but is it possible to adjust some “payload” attached to the model, when a ray hits?