Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
73 Views

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

Jump to solution

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

Accepted Solutions
Highlighted
Moderator
73 Views

This will be fixed in Embree 3.5.1.

View solution in original post

0 Kudos
1 Reply
Highlighted
Moderator
74 Views

This will be fixed in Embree 3.5.1.

View solution in original post

0 Kudos