commit fb5162a8e4bfaeb01ca196d32348a20c4a5bd326
parent 1ff1455cfd740725b9a22883bea29dd22cde8513
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 22 Jan 2018 09:09:33 +0100
Disable the RTC_INTERSECT4 flag on embree
Currently, only RTC_INTERSECT1 is provided for the spheres.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/s3d_scene_view.c b/src/s3d_scene_view.c
@@ -353,9 +353,7 @@ scene_view_setup_embree(struct s3d_scene_view* scnview)
RTC_SCENE_DYNAMIC
| RTC_SCENE_INCOHERENT
| RTC_SCENE_ROBUST;
- const RTCAlgorithmFlags rtc_algorithm_mask =
- RTC_INTERSECT1
- | RTC_INTERSECT4;
+ const RTCAlgorithmFlags rtc_algorithm_mask = RTC_INTERSECT1;
int rtc_outdated = 0;
res_T res = RES_OK;
ASSERT(scnview);