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

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


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

2 posts / 0 new

Best Reply

This will be fixed in Embree 3.5.1.

Leave a Comment

Please sign in to add a comment. Not a member? Join today