AWTGLCanvas vs. swt binding?

Started by sir_wojciech, November 19, 2005, 15:40:17

Previous topic - Next topic

sir_wojciech

What is the diffrence between AWTGLCanvas which comes with LWJGL and the swt binding from http://www.realityinteractive.com/software/oss/index.html#SWTOGL? Can I use in AWTGLCanvas Swing too? And if yes how? Also are there any good tutorials for the swt binding and AWTGLCanvas?

Thanks in advance!

Evil-Devil

For AWTGLCanvas examples the examples in the source distribution. Don't know if they moved them to the binary distribution too.

Odeamus

And for the SWT part you might want to take a look at this: http://www.eclipse.org/swt/opengl/

O.

ilazarte

I played around with the swt opengl sample, 195 or 203, something around there...  i couldn't get it to find the GLGanvas swt class and one other whose name I can't remember right now.  If anyone knows which jar i download to provide it please share!  i'd like to continue working with swt, but that particular snippet was a little discouraging.

Odeamus

What version of eclipse you have? You need the 3.2M3 at least.

ilazarte

Quote from: "Odeamus"What version of eclipse you have? You need the 3.2M3 at least.

Sigh, that explains it.  I'm using 3.1.  Hours of time I wasted on that.  Thanks for the tip Odeamus.

Odeamus

Quote from: "ilazarte"
Quote from: "Odeamus"What version of eclipse you have? You need the 3.2M3 at least.

Sigh, that explains it.  I'm using 3.1.  Hours of time I wasted on that.  Thanks for the tip Odeamus.

No problem. So not to confuse anybody too much. Actually you need the 3.2M3 version of SWT, not the eclipse platform(IDE whatever). You can download the SWT separately and use older version of eclipse if you want. :)

ilazarte

lol, thanks for the clarification.  i just spent some time reading the eclipse release plan, lol.  ok, i'll be downloading swt later sometime today.