| Author |
[X3D]Another problem with JOGL :-(
|
|
| Roberto 2006-12-06, 7:36 pm |
| Solved the problem with the newer version of jogl (now i'm using an oldest
version od jogl), this error occurs:
Exception in thread "main" java.lang.NoSuchMethodError:
net.java.games.jogl.GLCa
nvas.setAutoSwapBufferMode(Z)V
at
org.j3d.aviatrix3d.surface.SimpleAWTSurface.<init>(SimpleAWTSurface.j
ava:98)
at
org.web3d.ogl.browser.X3DBrowserJPanel.<init>(X3DBrowserJPanel.java:3
99)
at
org.web3d.ogl.browser.X3DOGLBrowserFactoryImpl.createComponent(X3DOGL
BrowserFactoryImpl.java:338)
at
org.web3d.x3d.sai.BrowserFactory.createX3DComponent(BrowserFactory.ja
va:210)
at SimpleSAIDemo.<init>(SimpleSAIDemo.java:43)
at SimpleSAIDemo.main(SimpleSAIDemo.java:69)
why???????????????????????????????????
I'm crazying!!!!!!!
| |
| Rex Melton 2006-12-06, 7:36 pm |
| Roberto wrote:
> Solved the problem with the newer version of jogl (now i'm using an oldest
> version od jogl), this error occurs:
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> net.java.games.jogl.GLCa
> nvas.setAutoSwapBufferMode(Z)V
> at
> org.j3d.aviatrix3d.surface.SimpleAWTSurface.<init>(SimpleAWTSurface.j
> ava:98)
> at
> org.web3d.ogl.browser.X3DBrowserJPanel.<init>(X3DBrowserJPanel.java:3
> 99)
> at
> org.web3d.ogl.browser.X3DOGLBrowserFactoryImpl.createComponent(X3DOGL
> BrowserFactoryImpl.java:338)
> at
> org.web3d.x3d.sai.BrowserFactory.createX3DComponent(BrowserFactory.ja
> va:210)
> at SimpleSAIDemo.<init>(SimpleSAIDemo.java:43)
> at SimpleSAIDemo.main(SimpleSAIDemo.java:69)
>
> why???????????????????????????????????
> I'm crazying!!!!!!!
>
>
>
Hi Roberto,
My reply was probably not very clear. I would suggest that you use the
latest jogl release prior to the JSR repackaging. The version is 1.1.1 :
https://jogl.dev.java.net/servlets/...6&folderID=3631
Alternately, if you download the 1.0 release version of Xj3D, it will
have a compatible jogl release included:
http://www.web3d.org/x3d/xj3d/
-Rex
| |
| Roberto 2006-12-06, 7:36 pm |
|
"Rex Melton" <NoSpam_rex.melton_NoSpam@comcast.net> ha scritto nel messaggio
> My reply was probably not very clear. I would suggest that you use the
> latest jogl release prior to the JSR repackaging. The version is 1.1.1 :
> https://jogl.dev.java.net/servlets/...6&folderID=3631
> Alternately, if you download the 1.0 release version of Xj3D, it will have
> a compatible jogl release included:
> http://www.web3d.org/x3d/xj3d/
ok Rex!!!!
I solved the problem!!
Thank you very very much!
Now I can run correctly my files but when I wirte the statement:
JFrame.setbaackgroung(Color.white)
the background remains black. Have you an explanation about this strange
behaviour?
Thanks again for your counsils!
| |
| Rex Melton 2006-12-06, 7:36 pm |
| Roberto wrote:
> "Rex Melton" <NoSpam_rex.melton_NoSpam@comcast.net> ha scritto nel messaggio
>
>
>
> ok Rex!!!!
> I solved the problem!!
> Thank you very very much!
> Now I can run correctly my files but when I wirte the statement:
> JFrame.setbaackgroung(Color.white)
> the background remains black. Have you an explanation about this strange
> behaviour?
> Thanks again for your counsils!
>
>
>
If what you want to do is set the background -within the Xj3D browser-
then you will need to configure an X3D Background node in the Scene.
Here's a reference that may help - it describes how to setup the fields
of a Background node to a single color.
http://accad.osu.edu/~pgerstma/clas...Ref/ch3-305.htm
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |