20thCenturyBoy
Junior Member   Medals: 1
So much to learn, so little time.
|
 |
«
Reply #60 - Posted
2004-05-02 12:08:18 » |
|
Ok, I updated my Nvidia drivers to 53.03 and now the demo works. Excellent work Tom, it plays really smoothly. I couldn't get fullscreen to work though, it crapped out when I tried.
Damn drivers. It's a wonder that PC games work so well most of the time!
|
"I have never done unit testing and I don’t find it a very useful concept" - Jonathan Blow
|
|
|
tom
|
 |
«
Reply #61 - Posted
2004-05-02 13:23:27 » |
|
Glad you finally got it working 
|
|
|
|
erikd
|
 |
«
Reply #62 - Posted
2004-05-02 13:51:48 » |
|
I'm getting a weird texture and a BSP hole:  I'm getting this yellow texture + BSP holes everywhere I think should be a sky box.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
tom
|
 |
«
Reply #63 - Posted
2004-05-02 15:59:45 » |
|
I'm getting this yellow texture + BSP holes everywhere I think should be a sky box. Yes. Got some issues with sky shaders at the moment. It will be fixed. Until then, just try to ignore it 
|
|
|
|
Luke
Senior Newbie 
I love YaBB 1G - SP1!
|
 |
«
Reply #64 - Posted
2004-05-02 16:36:53 » |
|
The previous version worked in windowed mode, but with the latest version, I get: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| java.lang.NullPointerException at sh.SquareHeads.createWindow(SquareHeads.java:216) at sh.SquareHeads.initLwjgl(SquareHeads.java:174) at sh.SquareHeads.main(SquareHeads.java:1294) 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) |
I'm runnning 1.4.2_04 on XP
|
|
|
|
|
darcone
Junior Member  
Size matters
|
 |
«
Reply #65 - Posted
2004-05-02 20:25:02 » |
|
Funny that the doors open when you shoot at them  Other than that, looks really really great!
|
|
|
|
|
Morgrog
Senior Newbie 
Rubber bands and cafeine, weeeee~
|
 |
«
Reply #66 - Posted
2004-05-02 20:33:06 » |
|
Really really good stuff, I get some really good fps too!  If only I could play for more then 5 secs at a time :| it crashes to the menu after a few seconds... gnah well, still looks really really good 
|
|
|
|
|
erikd
|
 |
«
Reply #67 - Posted
2004-05-04 11:28:59 » |
|
Did anybody compare this with Quake 3 yet, performance-wise?
Erik
|
|
|
|
tom
|
 |
«
Reply #68 - Posted
2004-05-04 12:45:20 » |
|
I've done a couple of tests, and the fps is within +-15% depending on where you are and where you are looking.
But it's not a completely fair comparison as the q3 renderer does a lot more stuff like lighting entities, loding bezier surfaces, tesselating fog surfaces, doing multilayered sky etc. Also, we have vbos now wich improves performance alot.
|
|
|
|
Abuse
|
 |
«
Reply #69 - Posted
2004-05-04 14:30:49 » |
|
Still isn't working here  Athlon 1.33, 512ddr, GF2gts 32mb (latest drivers 56.72), WinXP. I got it working once, out of the 4times I tried, don't ask me how or why, all I was doing was hammering the copy button on the java console window (to make sure I didn't miss the error) and it worked! (although, ingame it crashed as soon as I fired after picking up the grenade launcher) Havn't managed to replicate this however. Normally I just get a black framed window, desktop changes to the fullscreen gamma settings, it then bombs out with this :- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
| javaws-1.5.0-beta Using JRE version 1.5.0-beta Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Robin Chaddock ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list 0-5: set trace level to <n> ---------------------------------------------------- GuiGlobal init FileLoader Unable to add zip D:\compaq\spill\Quake 3 Arena\baseq3\pak0.pk3 java.util.zip.ZipException: The system cannot find the path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at trb.io.FileLoader.addZipFile(FileLoader.java:48) at sh.Global.init(Global.java:26) at sh.SquareHeads.initLwjgl(SquareHeads.java:169) at sh.SquareHeads.main(SquareHeads.java:1294) 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) Unable to add zip C:\java\sh\src\quartzdm1.jar java.util.zip.ZipException: The system cannot find the path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at trb.io.FileLoader.addZipFile(FileLoader.java:48) at sh.Global.init(Global.java:27) at sh.SquareHeads.initLwjgl(SquareHeads.java:169) at sh.SquareHeads.main(SquareHeads.java:1294) 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) NVIDIA Corporation GeForce2 GTS/AGP/3DNOW! 1.5.0 GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control GL_MAX_TEXTURE_SIZE=2048 GL_MAX_TEXTURE_UNITS=2 GL_MAX_ELEMENTS_VERTICES=4096 GL_MAX_ELEMENTS_INDICES=4096 UdpReader socket bound at /192.168.0.1:17940 |
|
Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! 
|
|
|
Games published by our own members! Check 'em out!
|
|
erikd
|
 |
«
Reply #70 - Posted
2004-05-07 11:19:51 » |
|
I've done a couple of tests, and the fps is within +-15% depending on where you are and where you are looking. But it's not a completely fair comparison as the q3 renderer does a lot more stuff like lighting entities, loding bezier surfaces, tesselating fog surfaces, doing multilayered sky etc. Also, we have vbos now wich improves performance alot. So this makes the 'java part' (as opposed to the accellerated video part), a lot slower than -15% from the C counterpart doesn't it? Any optimizations still possible in the java code?
|
|
|
|
2late4u
Senior Newbie 
.....
|
 |
«
Reply #71 - Posted
2004-05-07 20:00:27 » |
|
it crashes to the menu after a few seconds... why???
|
|
|
|
|
tom
|
 |
«
Reply #72 - Posted
2004-05-07 23:43:56 » |
|
it crashes to the menu after a few seconds... I don't know the exact reason behind it, but it's a network problem. The game quits to the menu if the server is timed out. Meaning the client don't recieve any packets from the server within a 5 second timespan. The next version will not quit to the menu, but instead show a warning message in game. What system are you running on? So this makes the 'java part' (as opposed to the accellerated video part), a lot slower than -15% from the C counterpart doesn't it? Kind of hard to tell. I don't know how much impact the missing features would have on the fps. How much faster would q3 be with vbos? Who knows. Any optimizations still possible in the java code? Sure. I've only optimized the level renderer. The entity renderer could be optimized. It currently don't do any state sorting. It uses opprox 15-20% of the frame time. The bezier collision detection is also very slow, as it generates an insane amount of brushes and planes.
|
|
|
|
oNyx
|
 |
«
Reply #73 - Posted
2004-05-08 00:19:54 » |
|
>The bezier collision detection is also very slow, as it >generates an insane amount of brushes and planes. Q3 uses subdivisions 80 for the physics part regardless of the visual subdivision setting. The bounding boxes of the players are axis aligned BBs. The collision detection of player vs patch was optimized several times and now it only seems to kick in whenever you are sliding along a curve. I just thought it's a good idea to point that out 
|
|
|
|
2late4u
Senior Newbie 
.....
|
 |
«
Reply #74 - Posted
2004-05-08 06:54:52 » |
|
it crashes to the menu after a few seconds... i have windows XP with a SV: ATI Radeon 9600 CPU: Athlon XP2400+
|
|
|
|
|
EgonOlsen
|
 |
«
Reply #75 - Posted
2004-05-08 09:21:49 » |
|
I don't know the exact reason behind it, but it's a network problem. The game quits to the menu if the server is timed out.
Don't count on it. I get the same behaviour but it seems to be caused by the org.lwjgl.opengl.OpenGLException: Invalid operation (1282) stuff (as mentioned before in this thread). Win XP, ATI Radeon9700pro...maybe it's a problem with ATI!?
|
|
|
|
princec
|
 |
«
Reply #76 - Posted
2004-05-11 11:37:38 » |
|
No, it's more likely that a few org.lwjgl.opengl.util.checkGLError() calls are needed to narrow down what function is being called with the wrong parameters or at the wrong time. Cas 
|
|
|
|
deepFlame
Senior Newbie 
Java games rock!
|
 |
«
Reply #77 - Posted
2004-05-11 23:07:18 » |
|
it crashes to the menu after a few seconds... why???
I've got the same problem.  My specs are something like his: Windows XP Athlon 1800+ ATI Radeon 9500
|
|
|
|
|
dsellars
Junior Member  
Need to write more games
|
 |
«
Reply #78 - Posted
2004-05-14 22:25:35 » |
|
 first time I got round to trying it (after meaning to for ages). and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| java.lang.IllegalArgumentException: InputStream cannot be null at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at trb.util.XMLDocument.<init>(XMLDocument.java:28) at sh.Menu.createMenuGui(Menu.java:125) at sh.Menu.init(Menu.java:82) at sh.SquareHeads.runMenu(SquareHeads.java:324) at sh.SquareHeads.main(SquareHeads.java:1358) 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) |
I'm running 1Ghz Athalon XP Pro Geforce2 GTS Still the screen shots look good! Regards, Dan.
|
|
|
|
|
tom
|
 |
«
Reply #79 - Posted
2004-05-15 00:03:19 » |
|
New version up which tries to fix some of the reported problems. First off I've removed drawRangeElements alltogether. They seem to cause a native crash on some nvidia cards. In particular those with the latest drivers. This I hope will fix the "it craps out before the menu is shown" bug. I've tried to fix the "It returns to the menu after a few seconds bug", by ignoring OpenGL errors. Hopefully the errors are not critical and the game will keep on ticking. So if you've had any of those problems, please try again and report back 
|
|
|
|
Abuse
|
 |
«
Reply #80 - Posted
2004-05-15 01:28:39 » |
|
yay, works now - though it still crashes when u collect and try to fire the grenade launcher =) Windowed mode 640x480 I get ~145fps. :edit: scratch that - it crashes after roughly 6seconds, which is coincidently the amount of time it takes to go through the tp, and collect the gren. launcher =D There is no error msg either, it just dies and vanishes - along with the console.... leaving the gamma set horribly high  Can you put a shutdown hook to restore the gamma/contrast/brightness in the event of a crash?
|
Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! 
|
|
|
deepFlame
Senior Newbie 
Java games rock!
|
 |
«
Reply #81 - Posted
2004-05-15 12:12:03 » |
|
Yepp, I've got the same problem.
|
|
|
|
|
tom
|
 |
«
Reply #82 - Posted
2004-05-15 12:44:24 » |
|
Can you put a shutdown hook to restore the gamma/contrast/brightness in the event of a crash? Could try. However, what you are seeing is native crash. The javadoc says that there is bo guarantee that the shutdown hook will run if the vm is aborted. Anyone have any experience with this? You can also adjust the gamma in the menu before entering the game. That way you can have a quick test with normal gamma values. Just to make sure it don't hang.
|
|
|
|
Luke
Senior Newbie 
I love YaBB 1G - SP1!
|
 |
«
Reply #83 - Posted
2004-05-15 17:24:38 » |
|
Just to say the problems I reported all appear to be fixed in the latest version. 
|
|
|
|
|
|