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

Calling rtcSetSceneFlags() after scene is constructed

SergeyA
Novice
1,376 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
1,363 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
1,364 Views

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

Reply