Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
265 Discussions

High valence vertices, is it good to rebuild with a larger value of MAX_RING_FACE_VALENCE

Sun__Xin
Beginner
252 Views

We are using Embree to render Catmull-Clark subdiv mesh. The result is broken as there are two vertices with valence of 50.

We figured out the maximum valence is 32 as set in file of kernels/subdiv/catmullclark_coefficients.h

static const size_t MAX_RING_FACE_VALENCE = 32;     //!< maximum number of faces per ring
static const size_t MAX_RING_EDGE_VALENCE = 2*32;   //!< maximum number of edges per ring

Is it possible to change the value such as

static const size_t MAX_RING_FACE_VALENCE = 64;     //!< maximum number of faces per ring
static const size_t MAX_RING_EDGE_VALENCE = 2*64;   //!< maximum number of edges per ring

We tried to rebuild one but sometimes crashes inside rtcCommitScene

Are there anything else we need to take care or it is just impossible? 

We are working on version v3.3.0

Thanks a lot!

Xin

0 Kudos
1 Solution
SvenW_Intel
Moderator
252 Views

This will be fixed in Embree 3.5.1.

View solution in original post

1 Reply
SvenW_Intel
Moderator
253 Views

This will be fixed in Embree 3.5.1.

Reply