Quantcast
Viewing latest article 13
Browse Latest Browse All 21

embree thread safety

I noticed in the release notes for embree v3.7.0 this feature:

rtcCommitScene can now get called during rendering from multiple threads to lazily build geometry

... combined with next bullet:

Geometries can now get attached to multiple scenes at the same time

Taken together, I'm now confused about the thread safety limitations of the library.

Can geometries from different RTCDevice's co-exist in the same scene? 

Can `rtcNewScene(device)` be safely called from different threads for the same device?

Our current application has separate RTCDevice's for different application threads (with no sharing of RTCGeometry's, tho the underlying vertex data is) due to the lack of clarity around what is thread-safe and what is not.  Are we being overly cautious?

 

Thanks,

Mike

TCE Level: 

TCE Open Date: 

Thursday, February 6, 2020 - 07:00

Viewing latest article 13
Browse Latest Browse All 21

Trending Articles