In this article
An update modifies an eligible existing acceleration structure; it is not a universal replacement for building arbitrary changed geometry.
Classify the geometry change
A GPU renderer can change vertex positions between frames without changing the intended collection of primitives. Other edits add geometry, replace topology or alter the build description. Distinguish these cases before choosing a cheaper-looking update operation. A successful image from a nearby frame does not prove that every later change preserves the acceleration structure’s update contract. Keep the build description available when the animation system submits new scene data.
Establish eligibility at the original build
The OptiX type declarations describe update operation requirements, including an existing full build created with update permission and the same primitive count. That permission belongs to the structure’s creation history. Selecting an update enum later does not retroactively establish it. Record original build flags with the scene’s runtime resources, and route changes outside the documented contract to an appropriate rebuilding path instead of assuming all geometry edits are refittable.
Allocate for the selected operation
The host API exposes memory-size queries and acceleration builds. Its associated size structure distinguishes full-build scratch from update scratch. Query and use the applicable requirements rather than assuming the temporary allocation from another operation is interchangeable. Preserve the output acceleration buffer that the update acts on, and make device execution dependencies explicit before another task traverses or modifies the same resource.
Measure traversal after substantial deformation
The type documentation notes that large perturbations can degrade acceleration quality. A short update time can coexist with slower traversal because the retained hierarchy no longer fits the changed geometry well. Measure complete frame cost, including ray work, under representative animation. The official SDK repository identifies the headers used for API integration; pin their version with the worker build so behavior and requirements remain traceable when the SDK changes.
Compare against a fresh build
For a diagnostic frame, compare geometry hits and output with a newly built structure using the same intended scene. Include a large deformation and a change that must rebuild. The guides to GPU BVH traversal and ray coherence explain adjacent performance concerns. The decision should satisfy both valid update history and measured total rendering cost, rather than optimize the acceleration-build timer while ignoring correctness or later traversal work.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.