Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
282 Discussions

Calling rtcSetSceneFlags() after scene is constructed

SergeyA
Novice
949 Views

Hi!

Does it makes any sense to change scene flags after all the geometries are created and attached to the scene? I need to compare the runtime metrics for ray queries for both static and dynamic scenes - do I have to recreate the scene with all its geometries for each case?

Thanks

0 Kudos
1 Solution
SvenW_Intel
Moderator
936 Views

This should work, but you have to commit the scene after changing scene flags before you can trace rays.

View solution in original post

1 Reply
SvenW_Intel
Moderator
937 Views

This should work, but you have to commit the scene after changing scene flags before you can trace rays.

Reply