Well, maybe isn't a good example because it uses .NET, but when a saw it a remembered this feature request, and It uses OpenGL and OpenCL, and is about fractals.
Maybe it's useful!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The way that I see it:
- OpenCL generates polygons on the fractal to send to OpenGL
- OpenGL renders them along with any post-effects which can be done via vertex shaders
I mean, really, I don't see any problem with requiring GL 3 and CL-compliant hardware.
This would speed rendering up by a lot, and post-effects could be changed without having to raytrace again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
maybe it's possible to implement both: OpenGL and OpenCL. OpenGL for post effects and OpenCL for rendering
I also want to implement some GPU support. But now I don't have any knowledge about using OpenGL or OpenCL.
I'm not a programmer so I can't help with that... but I've found this:
http://fractron9000.sourceforge.net/
Well, maybe isn't a good example because it uses .NET, but when a saw it a remembered this feature request, and It uses OpenGL and OpenCL, and is about fractals.
Maybe it's useful!
The way that I see it:
- OpenCL generates polygons on the fractal to send to OpenGL
- OpenGL renders them along with any post-effects which can be done via vertex shaders
I mean, really, I don't see any problem with requiring GL 3 and CL-compliant hardware.
This would speed rendering up by a lot, and post-effects could be changed without having to raytrace again.