You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Kamil Toszek <ka...@gmail.com> on 2010/09/05 11:38:25 UTC
JOGL and Pivot
Hi,
is there a possibility to integrate JOGL (http://jogamp.org/jogl/www/) into
pivot?
regards
Kamil Toszek
Re: JOGL and Pivot
Posted by Greg Brown <gk...@mac.com>.
For that matter, if anyone else wants to take a stab at this, I would love to see what you come up with. If no one is interested I may attempt to tackle it myself when I'm done with the new TextArea. :-)
On Sep 5, 2010, at 8:17 AM, Greg Brown wrote:
> In theory, yes. The easiest thing would be to have DisplayCanvas extend javax.media.opengl.awt.GLPanel rather than java.awt.Component. That would provide an OpenGL drawing surface for the entire Pivot display. However, it would require all Pivot users to have JOGL installed which (unfortunately) is probably not the case, since JOGL is not included with the standard JRE.
>
> Another option would be to port javax.media.opengl.awt.GLJPanel to Pivot (for example, as an org.apache.pivot.wtk.GLPanel class that extends org.apache.pivot.wtk.Component rather than JComponent). I have not looked into this in detail, but theoretically it seems like it should be possible. It would also be very cool - if you do pursue something like this, we would love to see what you come up with. :-)
>
> G
>
> On Sep 5, 2010, at 5:38 AM, Kamil Toszek wrote:
>
>> Hi,
>> is there a possibility to integrate JOGL (http://jogamp.org/jogl/www/) into pivot?
>>
>> regards
>> Kamil Toszek
>
Re: JOGL and Pivot
Posted by Greg Brown <gk...@mac.com>.
For that matter, if anyone else wants to take a stab at this, I would love to see what you come up with. If no one is interested I may attempt to tackle it myself when I'm done with the new TextArea. :-)
On Sep 5, 2010, at 8:17 AM, Greg Brown wrote:
> In theory, yes. The easiest thing would be to have DisplayCanvas extend javax.media.opengl.awt.GLPanel rather than java.awt.Component. That would provide an OpenGL drawing surface for the entire Pivot display. However, it would require all Pivot users to have JOGL installed which (unfortunately) is probably not the case, since JOGL is not included with the standard JRE.
>
> Another option would be to port javax.media.opengl.awt.GLJPanel to Pivot (for example, as an org.apache.pivot.wtk.GLPanel class that extends org.apache.pivot.wtk.Component rather than JComponent). I have not looked into this in detail, but theoretically it seems like it should be possible. It would also be very cool - if you do pursue something like this, we would love to see what you come up with. :-)
>
> G
>
> On Sep 5, 2010, at 5:38 AM, Kamil Toszek wrote:
>
>> Hi,
>> is there a possibility to integrate JOGL (http://jogamp.org/jogl/www/) into pivot?
>>
>> regards
>> Kamil Toszek
>
Re: JOGL and Pivot
Posted by Greg Brown <gk...@mac.com>.
In theory, yes. The easiest thing would be to have DisplayCanvas extend javax.media.opengl.awt.GLPanel rather than java.awt.Component. That would provide an OpenGL drawing surface for the entire Pivot display. However, it would require all Pivot users to have JOGL installed which (unfortunately) is probably not the case, since JOGL is not included with the standard JRE.
Another option would be to port javax.media.opengl.awt.GLJPanel to Pivot (for example, as an org.apache.pivot.wtk.GLPanel class that extends org.apache.pivot.wtk.Component rather than JComponent). I have not looked into this in detail, but theoretically it seems like it should be possible. It would also be very cool - if you do pursue something like this, we would love to see what you come up with. :-)
G
On Sep 5, 2010, at 5:38 AM, Kamil Toszek wrote:
> Hi,
> is there a possibility to integrate JOGL (http://jogamp.org/jogl/www/) into pivot?
>
> regards
> Kamil Toszek