Prepare scene for raytracing.
This function must be called before any raytracing operations can be performed.
The nodes' transforms are propagated down the hierarchy, an acceleration structure is setup, etc.