Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
288 ディスカッション

Gregory patch demo

rem__kai
ビギナー
1,817件の閲覧回数

 can Anybody give me some demo about the how to use Gregory patches ACC in the Embree.The Embree API seem don't provide the option for us,It use catmull-clark but without ACC option.

wish one can help me.

0 件の賞賛
4 返答(返信)
BenthinC_Intel
従業員
1,816件の閲覧回数

Hi,

Could you provide some more details on what you want to achieve exactly? BTW: Embree's subdivision surface implementation uses Gregory patches to approximate irregular subdiv patches after an initial adaptive subdivision phase.

Thanks.

rem__kai
ビギナー
1,816件の閲覧回数

Thank you for you reply,I read the source code about Embree,But in order to use the gregory patches I need to prepare some structure,like the half edge,But I don't find some API can help me to direct build the structure simple from a obj model.So my problem is can you give me some code about how to use gregory patch ACC method in Embree.

BenthinC_Intel
従業員
1,817件の閲覧回数

The problem is the entire bspline and gregory patch generation is done internally within the Embree core and not exposed to the user. The user only provides the input mesh and the tessellation factors. I guess you want to convert everything to gregory patches and then export the data into your application, right? In this case OpenSubdiv library might be an easier option for you.

rem__kai
ビギナー
1,817件の閲覧回数

Thank for you reply,I understand.

返信