Show Posts
|
|
Pages: [1]
|
|
2
|
Java Game APIs & Engines / jMonkeyEngine / Re: jME demos not working
|
on: 2004-12-17 12:51:47
|
|
I know that error.
You have to downgrade LWJGL to version 0.9. That's why JME makes a call to Display.class, that is no more present in the 0.9.2 version, or has been moved in another branch of the JAR file. Than JavaRT isn't able to find it and gives error.
Bye, bye
Ender
|
|
|
|
|
3
|
Java Game APIs & Engines / JOGL Development / Windows 98 SE Error on closeing Xith3D app
|
on: 2004-09-26 03:01:10
|
|
Hello.
I'm a newbie Java developer.
Recently I've tried to use Xith3D to view the performance of native libs on a Pentium III 600, with 192 MB RAM, NVIDIA RIVA TNT2 M64 with 16 MB Video RAM (with the last NVIDIA drivers installed), AGP 4X, running Windows 98 SE (Italian), with tha last NVIDIA Drivers for video card, and Java 1.4.2_04 (for I've tested v. 1.4.2_05 but gave to much problems). I would like to develop a 3D game based on JOGL-Xith3D.
I've also posted this topic to Xith3D forum. They 've been helpfull but not able to resolve my problem.
The problem is:
While running, Xith3D test apps run smoothly, but when I close them, Windows open an allert window with this error (i've tried to translate from allert window of Win98SE Italian): JAVA caused a not valid page error in NVOPENGL.DLL module in 0167:6960aa17. Registry: EAX=00000000 CS=0167 EIP=6960aa17 EFLGS=00010282 EBX=00000000 SS=016f ESP=00d1fae4 EBP=ffffffff ECX=d211d010 DS=016f ESI=004785ac FS=47af EDX=00000008 ES=016f EDI=004785ac GS=0000 Byte at address CS:EIP: 8b 03 85 c0 74 1c 8d 49 00 8b 08 39 b9 a0 42 00 Stack image: 025d995c 004785ac 000006db 695fe76b 004785ac 004d8718 6964f928 004785ac 004d8718 6964fa59 0280fa70 004d8718 0000000d 69664b35 004d8718 000006da
While the output on the Command Prompt window have been something like this:
Available 12: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 8 , Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 Score: 400 Available 13: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 0, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 S core: 636 Available 14: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 0, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 8, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 S core: 924 Available 15: GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAcce lerated: false, DepthBits: 32, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 1144 Available 16: GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAcce lerated: false, DepthBits: 16, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 1048 Available 17: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: false, DepthBits: 32, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 144 Available 18: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: false, DepthBits: 16, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 48 Chosen index: 5 Chosen capabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 1 6, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 No Vertex Program support, skipping No Fragment Program support, skipping
Some times, instead, Windows gives no error; but Java gives the next error output, just a line after the output I've written previuosly: Exception in thread "main" net.java.games.jogl.GLException: Error swapping buffe rs at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers (WindowsOnscreenGLContext.java:140) at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:292) at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:208) at net.java.games.jogl.GLCanvas.display(GLCanvas.java:75) at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1159) at com.xith3d.scenegraph.View.renderOnce(View.java:803) at com.xith3d.scenegraph.View.renderOnce(View.java:736) at com.xith3d.test.CubeTest.<init>(CubeTest.java:181) at com.xith3d.test.CubeTest.main(CubeTest.java:201)
Does anyone know why I have this problem and How to resolve it? Thanks to everyone that will answer this question. bye, bye Ender
|
|
|
|
|
4
|
Java Game APIs & Engines / Xith3D Forums / Re: Problems with Xith3D
|
on: 2004-09-26 02:34:10
|
|
I've found a way? Maybe?
Today morning, I am working on this trouble. With a simple util in Java I've found that this is my Java Native Library Path:
Native Library path(s): C:\PROGRAMMI\JAVA\J2RE1.4.2_04\BIN; .;C:\WINDOWS\SYSTEM;C:WINDOWS; C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRAMMI\JAVA\J2RE1.4.2_04\BIN;C:\J2SDK1.4.2_04\JRE\BIN;C:\J2SDK1.4.2_04\BIN;C:\PROGRA~1\FILECO~1\GTK\2.0\BIN;
I'm telling that for a simple reason. I've tryed again to launch jacke2, a game based on JOGL and JOAL. It runs perfectly, even if, developer page says that I should have at least a GeForce2 to run smoothly and Win XP. jake2 comes with the JOGL/JOAL libraries installed in its home dir. Also Wurm on Line comes with a similar dir configuration, but it is based on Java Web Start, and I don't know how to manage Path Environment with it.
My next question would be: there is any possibility that the JOGL APIs, installed by my self on the system, doesn't work well and Wurm calls them instead of thouse installed in its home dir?
Your answers have been really usefull to me!
I surely will try Xith3D with LWJGL. I'm curious to see the differences.
Anyway thanks!
Even if I've had those propblems, I think that Xith3D is a really great product.
Bye, bye.
|
|
|
|
|
5
|
Java Game APIs & Engines / Xith3D Forums / Re: Problems with Xith3D
|
on: 2004-09-25 03:15:43
|
|
First of all, thaks all.
I have already installed the last NVidia drivers.
The Virtual Machine does not shutdown! Simply, it gives that errors, when I close the Java Application.
Anyway I have also another problem. Some Game I've download from the internet, like Wurm on Line, based on JOGL run very slow (2-6 fps). It seams to me very strange! There are games more and more complex written in C++ that run smoothly on the PC I've used. I thought that JOGL, based on native libraries, should run faster.
I will ask this also in the JOGL forum. But I've asked it here before, becouse I think to use Xith3D as base 3D API for a game I have to develop.
Anyway, do you think it could be usefull to downgrade NVIDIA drivers rather than upgrade?
Thanks.
Bye, bye
Ender
|
|
|
|
|
6
|
Java Game APIs & Engines / Xith3D Forums / Problems with Xith3D
|
on: 2004-09-24 00:52:17
|
|
Hello
When I close the test apps of Xith3D (like CubeTest), even if the app runs smoothly, sometimes the output is:
Available 12: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 8 , Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 Score: 400 Available 13: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 0, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 S core: 636 Available 14: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: true, DepthBits: 0, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 8, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 S core: 924 Available 15: GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAcce lerated: false, DepthBits: 32, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 1144 Available 16: GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAcce lerated: false, DepthBits: 16, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 1048 Available 17: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: false, DepthBits: 32, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 144 Available 18: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccel erated: false, DepthBits: 16, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 0 ] MS: false 2 Score: 48 Chosen index: 5 Chosen capabilities: GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 1 6, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ] MS: false 2 No Vertex Program support, skipping No Fragment Program support, skipping Exception in thread "main" net.java.games.jogl.GLException: Error swapping buffe rs at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers (WindowsOnscreenGLContext.java:140) at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:292) at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:208) at net.java.games.jogl.GLCanvas.display(GLCanvas.java:75) at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1159 ) at com.xith3d.scenegraph.View.renderOnce(View.java:803) at com.xith3d.scenegraph.View.renderOnce(View.java:736) at com.xith3d.test.CubeTest.<init>(CubeTest.java:181) at com.xith3d.test.CubeTest.main(CubeTest.java:201)
C:\xith3d\xith3d\demo>
Some other times Windows gives an error like:
(i've tried to translate from allert window of Win98SE Italian)
JAVA caused a not valid page error in NVOPENGL.DLL module in 0167:6960aa17. Registry: EAX=00000000 CS=0167 EIP=6960aa17 EFLGS=00010282 EBX=00000000 SS=016f ESP=00d1fae4 EBP=ffffffff ECX=d211d010 DS=016f ESI=004785ac FS=47af EDX=00000008 ES=016f EDI=004785ac GS=0000 Byte at address CS:EIP: 8b 03 85 c0 74 1c 8d 49 00 8b 08 39 b9 a0 42 00 Stack image: 025d995c 004785ac 000006db 695fe76b 004785ac 004d8718 6964f928 004785ac 004d8718 6964fa59 0280fa70 004d8718 0000000d 69664b35 004d8718 000006da
while the prompt window output reamin the same of the previous example but without the last part: "Exception in thread "main" [...]".
I use, and I need to use, a Pentium III 600, with 192 MB RAM, NVIDIA RIVA TNT2 M64 with 16 MB Video RAM, AGP 4X, running Windows 98 SE (Italian), with tha last NVIDIA Drivers for video card, and Java 1.4.2_04 (for I've tested v. 1.4.2_5 but gave to much problems).
Does anyone know why I have this problem and How to resolve it?
Thanks to everyone will answer this question.
bye, bye
Ender
|
|
|
|
|