Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Gregory patch demo

rem__kai
초급자
1,240 조회수

 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,240 조회수

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.

0 포인트
rem__kai
초급자
1,240 조회수

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.

0 포인트
BenthinC_Intel
1,240 조회수

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.

0 포인트
rem__kai
초급자
1,240 조회수

Thank for you reply,I understand.

0 포인트
응답