Pierre
Senior Newbie 
|
 |
«
Reply #30 - Posted
2009-11-28 14:32:46 » |
|
JOGL 2 Gears works
|
|
|
|
|
gouessej
|
 |
«
Reply #31 - Posted
2009-11-28 22:39:26 » |
|
JOGL 2 Gears works
It is a good piece of news, it is not a JOGL 2 bug  My project uses JOGL 1.1.1a, I compile it sometimes with JOGL 1.1.2 but you cannot get it anymore publicly. Adapt the explanation on my website to JOGL 2. If it does not work, we will have to find another solution. Pierre, as far as I know, we live in the same town, we don't need VNC... (let us talk about it in private).
|
|
|
|
PeeHPee
Junior Newbie
|
 |
«
Reply #32 - Posted
2009-11-28 23:55:07 » |
|
i too have this problem, and it seems to be an issue with the native method JAWT_GetAWT0(ByteBuffer).
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
gouessej
|
 |
«
Reply #33 - Posted
2009-11-29 00:15:52 » |
|
i too have this problem, and it seems to be an issue with the native method JAWT_GetAWT0(ByteBuffer).
Do you succeed in launching JOGL 2 gears?
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #34 - Posted
2009-11-29 02:16:57 » |
|
It is a good piece of news, it is not a JOGL 2 bug  My project uses JOGL 1.1.1a, I compile it sometimes with JOGL 1.1.2 but you cannot get it anymore publicly. Adapt the explanation on my website to JOGL 2. If it does not work, we will have to find another solution. Pierre, as far as I know, we live in the same town, we don't need VNC... (let us talk about it in private). I don't need to test TUER, my small code is enough (imo). Is my code correct ? I think the problem is in my libraries import...
|
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #35 - Posted
2009-11-29 02:29:31 » |
|
i'm trying to add "one by one" jar files in my project i've this error message : 1 2 3 4 5 6
| Exception in thread "main" java.lang.ExceptionInInitializerError at javax.media.opengl.awt.GLCanvas.<clinit>(GLCanvas.java:78) at TestJOGL.main(TestJOGL.java:18) Caused by: javax.media.opengl.GLException: No profile available: [GL2, GL2ES2, GL2ES1, GLES2, GLES1, GL2GL3, GL3] at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:750) ... 2 more |
|
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #36 - Posted
2009-11-29 02:47:03 » |
|
My problem is (maybe) fixed \o/ Use ALL .jar and .dll files was not good.
Now, i use only : gluegen-rt.jar jogl.all.jar nativewindow.all.jar gluegen-rt.dll jogl_gl2.dll nativewindow_awt.dll nativewindow_jvm.dll
I can see my window, and the background is gray.
|
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #37 - Posted
2009-11-29 03:09:05 » |
|
My GLCanvas is gray (inactive) with a JFrame, and black (active) with a Frame...
|
|
|
|
|
gouessej
|
 |
«
Reply #38 - Posted
2009-11-29 12:36:40 » |
|
Ok so it works.
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #39 - Posted
2009-11-29 13:10:49 » |
|
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #40 - Posted
2009-11-29 18:32:49 » |
|
It works, but i can't use it in a JFrame !
|
|
|
|
|
gouessej
|
 |
«
Reply #41 - Posted
2009-11-29 19:54:12 » |
|
It works, but i can't use it in a JFrame !
Why?
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #42 - Posted
2009-11-29 21:12:21 » |
|
The GLCanvas is invisible in a JFrame : the background is gray... But it works perfectly in a Frame (AWT) : the background is black.
|
|
|
|
|
princec
|
 |
«
Reply #43 - Posted
2009-11-29 22:06:08 » |
|
Heavyweight (OpenGL) components don't mix very nicely with lightweight (Swing) components. Cas 
|
|
|
|
gouessej
|
 |
«
Reply #44 - Posted
2009-11-30 10:46:16 » |
|
Rather use GLJPanel with Swing components but it is slower on some hardwares.
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #45 - Posted
2009-11-30 12:25:45 » |
|
ok :/
|
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #46 - Posted
2009-12-06 18:58:53 » |
|
I can't use GLCanvas directly in a JFrame, but i can use it in a JTabbedPane (in a JFrame)
|
|
|
|
|
Rob Nugent
Junior Member  
May contain nuts
|
 |
«
Reply #47 - Posted
2009-12-15 14:03:43 » |
|
This used to work fine (GLCanvas in a JFrame) but stopped working recently (a month or two back), giving the blank white/grey display. My app's been coded this way for a couple of years, and broke because of this. It's been discussed in a couple of other threads. I don't believe if we ever determined if it was due to a change in the base JDK, JOGl, or what. I never did find a fix - resorting to a GLJPanel in a JFrame is slow and caused other issues for my app. e.g. see: http://www.java-gaming.org/topics/error-jogl-jogl2-and-java6-update-14/21296/msg/174606/view.html#msg174606I got this down to a simple testcase, but with the current state of JOGL I'm not aware if there's anyone who wants to look into it. Rob
|
|
|
|
|
Pierre
Senior Newbie 
|
 |
«
Reply #48 - Posted
2009-12-15 14:14:33 » |
|
can you try my "fix" ? GLCanvas in a JTabbedPane in a JFrame
|
|
|
|
|
gouessej
|
 |
«
Reply #49 - Posted
2009-12-15 15:04:15 » |
|
This used to work fine (GLCanvas in a JFrame) but stopped working recently (a month or two back), giving the blank white/grey display. My app's been coded this way for a couple of years, and broke because of this. It's been discussed in a couple of other threads. I don't believe if we ever determined if it was due to a change in the base JDK, JOGl, or what. I never did find a fix - resorting to a GLJPanel in a JFrame is slow and caused other issues for my app. e.g. see: http://www.java-gaming.org/topics/error-jogl-jogl2-and-java6-update-14/21296/msg/174606/view.html#msg174606I got this down to a simple testcase, but with the current state of JOGL I'm not aware if there's anyone who wants to look into it. Rob Maybe submit a bug report on project kenai. I don't see any bug tracker on github.
|
|
|
|
jdp
Senior Newbie 
NEWT is beautiful
|
 |
«
Reply #50 - Posted
2009-12-16 02:02:14 » |
|
hi, have you validated that the native libraries are getting loaded? john
|
|
|
|
|