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 379 Visites

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 Compliments
1 Solution
SvenW_Intel
Modérateur
1 366 Visites

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

Voir la solution dans l'envoi d'origine

1 Répondre
SvenW_Intel
Modérateur
1 367 Visites

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

Répondre