Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

SWT OpenGL

Thread view: 
henszey@gmail.com - 16 Jun 2006 12:40 GMT
I have just been playing around with OpenGL on SWT and was wondering if
anyone had created a GLCanvas where the user could click and drag
things around in the window. What I ran into was that as you dragged
the canvas would not update. I'm using lwjgl, and its based for the
most part on the snippet provided on the eclipse swt website. ( I
choose lwjgl over the eclipse implementation of OpenGL because I wanted
some things in OpenGL 1.3)

http://www.eclipse.org/swt/opengl/

Basically the effect that I am really going for is manually rendered
pseudo-windows inside of the GLCanvas that you can drag around.

Comments, suggestions appreciated.
Thanks
Ike - 16 Jun 2006 13:50 GMT
I would look at the possibility that double-buffering is at work on you in
this, and needs to be turned off. I've worked with various 'flavors' of
OpenGL with Java, and, particularly if you happen to be using Swing
Components, I know that is an issue. From your description, that seems to be
the case. -Ike

>I have just been playing around with OpenGL on SWT and was wondering if
> anyone had created a GLCanvas where the user could click and drag
[quoted text clipped - 11 lines]
> Comments, suggestions appreciated.
> Thanks
Mark Space - 16 Jun 2006 20:45 GMT
> I have just been playing around with OpenGL on SWT and was wondering if
> anyone had created a GLCanvas where the user could click and drag
[quoted text clipped - 11 lines]
> Comments, suggestions appreciated.
> Thanks

I'd like to play with Java and OpenGL in the near future.

Is there any reason you choose lwjgl over jogl?
henszey@gmail.com - 17 Jun 2006 03:45 GMT
No reason why I choose lwjgl over JOGL, it just happened to be the
first one on Eclipses list that supported OpenGL 1.3 calls. When or If
Eclipse SWT's OpenGL plugin supports 1.3 I would probably want to
switch to it.

> > I have just been playing around with OpenGL on SWT and was wondering if
> > anyone had created a GLCanvas where the user could click and drag
[quoted text clipped - 15 lines]
>
> Is there any reason you choose lwjgl over jogl?
Mark Space - 18 Jun 2006 07:27 GMT
> No reason why I choose lwjgl over JOGL, it just happened to be the
> first one on Eclipses list that supported OpenGL 1.3 calls. When or If
> Eclipse SWT's OpenGL plugin supports 1.3 I would probably want to
> switch to it.

Good enough. ;)  If you had done some in-depth research, I would have
liked to have profited by it.  As is, my somewhat arbitrary decision to
use JOGL seems just as valid! :D

Thanks for responding.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.