Using OpenCl to jiggle the Pipe

Posted by TOAOGG on Game Development See other posts from Game Development or by TOAOGG
Published on 2012-05-31T13:23:13Z Indexed on 2012/05/31 16:51 UTC
Read the original article Hit count: 184

Filed under:
|
|

I've got the Idea to use OpenCL to program a simple Renderer. A clear contra is, that this approach won't benefit from the hardware as the functions on the device (I think).

Would it be useful to do this in OpenCL..lets say we want to Cull as early as possible so we won't have many per vertex operations. Is it correct, that Culling is done after the Vertex-Shader? For static-vertecies who won't get effected by the shader it could be interesting to cull them before.

Another idea would be an deferred renderer.

So the main question is: Would it make sense to program a renderer in OpenCL (aside the effort)? The resulting picture would be drawn in OpenGL.

© Game Development or respective owner

Related posts about c++

Related posts about opengl