[OptiX 9.0] Missing description about allowClusteredGeometry

Hello,
I’m trying Cluster API.

The current programming guide is missing the description about OptixPipelineCompileOptions::allowClusteredGeometry!

I didn’t notice that this field has been added and didn’t set, so optixGetClusterId() always returns -1 even for CLAS and build without validation was crashing.

The sample codes set the field for sure since they are working, but no comments about this!

1 Like

You’re right, this is a common pitfall and it’s not explicitly called out in the programming guide. I mostly wrote the new section on Clusters for 9.0. Maybe we could mention it in there, although I’m skeptical that most people will notice it there. It would be nice if this were caught by validation (no promises there either).