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 / GUI / January 2005

Tip: Looking for answers? Try searching our database.

jdk 1.5 and openGL

Thread view: 
Igor Buzatovic - 14 Jan 2005 16:02 GMT
I tried it and I hed serious problems on hp nx7010

Has anybody successfully used openGL in java SWING app?
Tjerk Wolterink - 14 Jan 2005 17:27 GMT
> I tried it and I hed serious problems on hp nx7010
>
> Has anybody successfully used openGL in java SWING app?

use jogl:
https://jogl.dev.java.net/
demos:
https://jogl-demos.dev.java.net/

I don't know if you can use them with swing, i think you can.. but swing is lightweight
and jogl heavyweight. That is a bit of a problem
Igor Buzatovic - 14 Jan 2005 18:46 GMT
>> I tried it and I hed serious problems on hp nx7010
>>
[quoted text clipped - 8 lines]
> is lightweight
> and jogl heavyweight. That is a bit of a problem

I don't want to use jogl because my app is SWING client for bussines app.
Since jdk 1.5  java 2D can use OpenGL for rendering. I think that swing
components use java 2D api for painting so it could use opengl if it is
avaliable. But when I enable openGL in my app, I get scramled sreen, or
sometimes it freez.
Skip - 15 Jan 2005 11:54 GMT
> >> I tried it and I hed serious problems on hp nx7010
> >>
[quoted text clipped - 14 lines]
> avaliable. But when I enable openGL in my app, I get scramled sreen, or
> sometimes it freez.

The OpenGL layer is still a bit buggy. It's known to swap color-channels in
Volatile/BufferedImages. The more bug-reports to Sun, the better.

And don't forget to update drivers ofcourse.
Wiseguy - 17 Jan 2005 09:02 GMT
> The OpenGL layer is still a bit buggy. It's known to swap
> color-channels in Volatile/BufferedImages. The more bug-reports to
> Sun, the better.
>
> And don't forget to update drivers ofcourse.

I don't think Sun it too interested in OpenGL support.  They want java3D to
catch on...which wouldn't necessarily be a bad thing if there was more
literature avilable about the API and a REAL scene-graph editor was
available.
Skip - 17 Jan 2005 17:10 GMT
> > The OpenGL layer is still a bit buggy. It's known to swap
> > color-channels in Volatile/BufferedImages. The more bug-reports to
[quoted text clipped - 6 lines]
> literature avilable about the API and a REAL scene-graph editor was
> available.

I have to disagree strongly here. Sun more or less abandoned Java3D and made
it available to the community. They may want Java3D to catch on, but they
don't put much effort in it.


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.