First of all I want to congratulate the jogamp team for an excellent job, especially jogl, jocl and the new website.
I've been slowly following the development of jogl and especially jocl. For now I know U know the hype surrounding GPU programming with development of GPU accelerated path tracers like octane, arion, iray and luxrender(GPU version). I'm very interested in creating one but the hurdle I've noticed is that jocl doesn't support structs officially. The only implementation I've seen is http://www.jocl.org/utilities/utilities.html I don't know if it's under consideration in future implementation in jocl since it can be helpful in path tracing. I can create an accelerated structure like an octree made of hierarchical bounding boxes, align them in an array and pass them to the GPU. The implementation of bounding box is well suitable with structs. Is the implementation of structs in jocl under consideration? Thank you, Joe. |
Hi (hey) Joe, ;)
On 06/29/2010 08:25 AM, Joe Mwangi [via jogamp] wrote: First of all I want to congratulate the jogamp team for an excellent job, especially jogl, jocl and the new website.well, jocl supports structs. We even have an annotation driven binding called superglue project which automatically generates struct-objects from header files for this purpose. But I had no time so far to improve this area... its still experimental. But look at the samples. Some of them are using structs (julia3d is a good candidate). no problem, -michael
|
In reply to this post by joedizzle
e.g generated struct bindings:
http://github.com/mbien/jocl-demos/tree/master/src/com/jogamp/opencl/demos/julia3d/structs/ for this header: http://github.com/mbien/jocl-demos/blob/master/src/com/jogamp/opencl/demos/julia3d/config.h (works but will be improved in future) -michael On 06/29/2010 08:25 AM, Joe Mwangi [via jogamp] wrote: First of all I want to congratulate the jogamp team for an excellent job, especially jogl, jocl and the new website. |
Free forum by Nabble | Edit this page |