13 years, 5 months ago
Highlights
1) clSetKernelArg(kernel, 0, sizeof(vbo), &vbo) should be: clSetKernelArg(kernel, 0, sizeof(cl_mem), &PositionArray) 2) remove clWaitForEvents(1, &wait) (it is not n…
13 years, 5 months ago
14 years ago
You usually convert the BVH construction problem to a sorting problem. This can be done with the use of morton codes, see for example this paper http://mgarland.org/...pers/gpub…
14 years ago
14 years, 3 months ago
Do you set the primitives to GL_PATCHES and set the glPatchParameteri ?
14 years, 3 months ago
Latest Activity
See all in Discussions1) clSetKernelArg(kernel, 0, sizeof(vbo), &vbo) should be: clSetKernelArg(kernel, 0, sizeof(cl_mem), &PositionArray) 2) remove clWaitForEvents(1, &wait) (it is not necessary) 3) …
13 years, 5 months ago
You usually convert the BVH construction problem to a sorting problem. This can be done with the use of morton …
14 years ago
Do you set the primitives to GL_PATCHES and set the glPatchParameteri ?
14 years, 3 months ago