Re: Incorporation of structs in jocl
Posted by
Michael Bien on
Jun 29, 2010; 3:01pm
URL: https://forum.jogamp.org/Incorporation-of-structs-in-jocl-tp929939p930812.html
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.
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
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).
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,
no problem,
-michael
Joe.