Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 1161 times)
0 Members and 1 Guest are viewing this topic.
Offline cep21

Junior Member




Java games rock!


« Posted 2004-08-05 00: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 08: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
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #2 - Posted 2004-08-05 08: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 13: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 15: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
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #5 - Posted 2004-08-05 15: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 16: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 18: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 19: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 20: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!
Try the Free Demo of Revenge of the Titans
Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


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

and no longer on the demo page

Offline Middy

Junior Member




Java games rock!


« Reply #11 - Posted 2004-08-06 11: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 11: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 13: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 13: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (81 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.117 seconds with 20 queries.