Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (552)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Webstart problems trying demos on www.lwjgl.org  (Read 1489 times)
0 Members and 1 Guest are viewing this topic.
Offline cep21

Junior Member




Java games rock!


« Posted 2004-08-04 22:27:04 »


Grass throws the following
java.lang.NullPointerException

     at org.lwjgl.test.opengl.Grass.main(Unknown Source)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

     at java.lang.reflect.Method.invoke(Unknown Source)

     at com.sun.javaws.Launcher.executeApplication(Unknown Source)

     at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

     at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

     at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

     at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

     at com.sun.javaws.Launcher.run(Unknown Source)

     at java.lang.Thread.run(Unknown Source)

Offline Middy

Junior Member




Java games rock!


« Reply #1 - Posted 2004-08-05 06:07:13 »

heh that grass demo kills my win2000 and causes a blue screen of death...

When do I get my makeMyGameAsILike() extension?
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #2 - Posted 2004-08-05 06:26:45 »

the NPE is probably because it can't load its shader file - I haven't tested it properly, since my machine at home cannot run it (ati card).
As for middy's crash - I blame it on a crappy machine :p

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Middy

Junior Member




Java games rock!


« Reply #3 - Posted 2004-08-05 11:16:42 »

Win 2000
1.6GHZ Pentium M
785MB RAM
Radeon 9700 Mobile (I bets its this one)


But its not crappy Smiley

When do I get my makeMyGameAsILike() extension?
Offline EgonOlsen
« Reply #4 - Posted 2004-08-05 13:47:56 »

On my machine (P4HT@3.2, Win XP, Radeon 9700pro, Catalyst 4.7), it does nothing but saying "vertex program supported: false"...which is simply not true...  Huh

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2004-08-05 13:54:42 »

System.out.println("Vertex program supported: " + GLContext.GL_NV_vertex_program);
- not any vertex program - but nVidias

Offline EgonOlsen
« Reply #6 - Posted 2004-08-05 14:00:10 »

Ok, i was too lazy to look at the sources... Wink But what's the point of a NVidia-only demo? It should open a window telling me that it won't work on my hardware and not changing the screenmode, doing nothing and writing this useless message to System.out. At least, the message should be something like: "NVidia vertex program not supported" IMHO.

Edit: Running it on a GF3 with the latest drivers, i get the same Exception as the thread starter.

Offline elias

Senior Member





« Reply #7 - Posted 2004-08-05 16:14:17 »

Quote
Ok, i was too lazy to look at the sources... Wink But what's the point of a NVidia-only demo? It should open a window telling me that it won't work on my hardware and not changing the screenmode, doing nothing and writing this useless message to System.out. At least, the message should be something like: "NVidia vertex program not supported" IMHO.

Edit: Running it on a GF3 with the latest drivers, i get the same Exception as the thread starter.


Calm down Wink This demo was written by me in the early LWJGL days to demonstrate vertex programs was indeed possible in LWJGL/java. At that time, only nvidia's vertex program extension was available! For what it's worth, the demo should probably be deleted or replaced with an updated one using ARB extensions.

- elias

Offline EgonOlsen
« Reply #8 - Posted 2004-08-05 17:00:44 »

Quote
At that time, only nvidia's vertex program extension was available!
I understand that, but it doesn't work on NVidia cards either. I tried it on a GF3 and a GF4 and it crashes on both of them. It drops me to a 640*480 desktop, prints the exception and kills javaw. I just don't think that it's good marketing for LWJGL in its current state.

Offline elias

Senior Member





« Reply #9 - Posted 2004-08-05 18:29:43 »

Point taken - the test has been removed from CVS - the org.lwjgl.test.opengl.shaders (or the JCD demos) are superior anyway.

- elias

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #10 - Posted 2004-08-05 18:46:06 »

and no longer on the demo page

Offline Middy

Junior Member




Java games rock!


« Reply #11 - Posted 2004-08-06 09:38:42 »

Egon Olsen GF3 and GF4 (some of them) dont have vertex shaders. Thats for direct 9.0 and upwards. GF3 is 8.0

When do I get my makeMyGameAsILike() extension?
Offline EgonOlsen
« Reply #12 - Posted 2004-08-06 09:53:03 »

Quote
Egon Olsen GF3 and GF4 (some of them) dont have vertex shaders. Thats for direct 9.0 and upwards. GF3 is 8.0
GF3 and GF4 have both support for vertex shaders in hardware. A GF4MX doesn't, but they will be emulated by the drivers using the cpu. In either way, it should work. Vertex shaders were introduced with DX8, not with DX9.

Offline Middy

Junior Member




Java games rock!


« Reply #13 - Posted 2004-08-06 11:26:35 »

You are completely correct., damn that. I simply assumed so since all the JCD vertex shader demoes wouldent work on my card

When do I get my makeMyGameAsILike() extension?
Offline EgonOlsen
« Reply #14 - Posted 2004-08-06 11:58:18 »

Quote
You are completely correct
I always am when it comes to graphics hardware... Grin...Could be related to the fact that i'm changing my graphics hardware twice a year at least.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (22 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (25 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (26 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (41 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!