What geometric computations can be accelerated with OpenGL

I need to speed up some programs that use intensive computing where surface calculations are needed from intersecting cubes, spheres, etc. Using CUDA, I need to specify all the forms that I need, of course, in order to analytically calculate the information related to intersections. But since I only need a good approximation of the resulting surface, I read that OpenGL can calculate or evaluate such surfaces. I wonder if you can give me your opinion or point me to the relevant links.

+3
source share
2 answers

If you just need to visualize these objects, you can use the stencil buffer to evaluate any necessary boolean operations: http://www.opengl.org/resources/code/samples/advanced/advanced97/notes/node11.html p>

, , . , CSG, , , , , : http://developer.download.nvidia.com/SDK/10/opengl/src/dual_depth_peeling/doc/DualDepthPeeling.pdf

EDIT: . , , , , , , , . , : http://www.cs.ucl.ac.uk/staff/b.spanlang/ISBCICSOWH.pdf

+1

OpenGL , CUDA OpenCL, . , OpenGL. , . , .

- / . (Bezìer NURBS). , , .

+1

All Articles