Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3
  ignore  |  Print  
  S-Type!  (Read 10859 times)
0 Members and 1 Guest are viewing this topic.
Offline elias

Senior Devvie





« Reply #30 - Posted 2003-11-27 12:41:48 »

I'm not really sure. Are there any JOGL JWS demos around somewhere?

- elias

Offline Preston

Senior Devvie


Medals: 4



« Reply #31 - Posted 2003-11-27 12:45:05 »

Quote
I'm not really sure. Are there any JOGL JWS demos around somewhere?

- elias

Sure: https://jogl-demos.dev.java.net/

However 50% of them run with Nvidia cards only. :-(
(Not a good way to demonstrate the platform neutral Java with Jogl, isn't it)
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #32 - Posted 2003-11-27 12:54:14 »

Quote
I
Your right. java -version gives me:
build 1.4.2-001-31

Is that the same?

Yes that's the one.

Quote
if so is there anything else I n eed to do?  Like download JOGL and install it seperately?

I DO have JOGL installed in ~/Library/Java/Extensions/
The November build that G.Z. from Apple has linked on his personal site.

Quote
Lastly Im on  a tiPB G4, ATI 7800 chip.  Whats your hardware?

15" tiBook 1GHz, which uses ATI Radeon 9000 I think.

Quote
I d really like  to make this work Sad


Me too.  My system gets farther than yours.. but it still isn't right.

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

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #33 - Posted 2003-11-27 15:13:16 »

Elias: I've been pointing people to xith.org's webstart demos to test if Jogl works, from the looks of their jnlp they've got Mac and Linux files included.

For everyone else that it doesn't work for, i'm working now trying to get a version with config flags to disable various bits that might be failing to try and nail it down. Currently theres about 4 different things that i'm pointing the finger at...

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #34 - Posted 2003-11-27 19:13:33 »

Ok, I've added a bunch of options to toggle the bits that are probably causing the problems. If you couldn't get the proper version to work then please try the versions below and see how they go.

Compatability Mode
Absolutly minimal framebuffer, no scissor testing, no hardware lighting used. Light intensity will be irratic due to no shadows and light culling. Should work with anything though, if this breaks i'm pointing the finger straight at Jogl.

Editor Rendering
The renderer used for the actual editor, very basic - only immediate mode used. Should also work on anything going, but might actually look playable in this one.

No Scissor Test
Disables the use of the scissor test that might be causing glitches on some cards. Should look identical to the proper game, but may be somewhat slower on low end cards.

No Hardware Lighting
Should look identical to normal, but disables the use of hardware lights to get coloured lighting. Should still give shadows though, just all light sources become white/grey.

Jeff: I've updated the zip i linked to before with the new code. If you try it from the command line then you can open the various jnlp files to see how the command line args control the various options.

Hopefully some of the options above will work for people who couldn't get it working before...

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #35 - Posted 2003-11-28 01:43:49 »

I just tried the original link on SuSE 9.0..  I'm not sure if I have the nVida drivers installed properly yet, but anyway I got this error:

An error occurred while launching/running the application.

Title: S-Type
Vendor: Orangy Tang Studios
Category: Unexpected Error

no jogl in java.library.path

Offline Preston

Senior Devvie


Medals: 4



« Reply #36 - Posted 2003-11-28 01:49:51 »

Quote

Sometimes you have to click on the GL canvas for it to grab the key focus before it'll accept key input. I'm still not sure if its a bug on my part or normal key focus behaviour.

For my app I to do the following with Jogl's GLCanvas (laying inside an AWT frame) :
1  
2  
theGlKanvas.setFocusable(true);
theGlKanvas.requestFocus();

This does the trick AFAIK.

These shadows look really impressive: very good work.

Where could I learn more about how to use them? In particular using them with Xith3d... :-)   (Yes, I read the Java3d tutorial chapter on shadows, but it's short.)
Offline elias

Senior Devvie





« Reply #37 - Posted 2003-11-28 03:42:58 »

I'm getting the same error as swpalmer. I tried the infinite shadow volumes demo from the jogl site, and it worked flawlessly.

- elias

Offline Java Cool Dude

Senior Devvie




Java forever


« Reply #38 - Posted 2003-11-28 05:27:29 »

Hey man how come I can only get to see the wireframes ?
Radeon 9600 Pro here
Offline Kevdog

Junior Devvie





« Reply #39 - Posted 2003-11-28 18:03:35 »

Dell Optiplex SX260
P4 2Ghz
512MB memory
Intel 82845 graphics
WinXp
JDK build 1.4.2-b28


Xith3d works.

Original didn't work.... goes to a blank gray screen and nothing more.

The first two alternate modes you listed didn't work either.  But on those I got random blocks of graphics.

Nothing poking out in the log either.

There are only 10 types of people, those who understand binary and those who don't!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #40 - Posted 2003-11-29 03:40:38 »

COmpatability mode crashed Java.

This is the report genrated:

Date/Time:  2003-11-28 22:39:19 -0800
OS Version: 10.3.1 (Build 7C107)

Command:    java (/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java)
PID:        762
Thread:     Unknown

Link (dyld) error:

dyld: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java can't open library: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/libjawt.dylib  (No such file or directory, errno = 2)


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Jeff

JGO Coder




Got any cats?


« Reply #41 - Posted 2003-11-29 04:10:47 »

Okay.

Something was causing it to try to find its libraries in  the 1.4.1 directory.  I made a sym link from 1.4.1 (which didnt exist) to 1.4.2.

Now it runs Smiley

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #42 - Posted 2003-11-29 18:20:07 »

Jeff,  I had that symlink in place already to deal with some other things.  You should report this problem on the Apple java-seed list.. it may have to do with their code.  At least file a bug report with Apple.
And be careful what you post about the Apple DP outside of the java-seed list.  They are picky about that stuff.

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #43 - Posted 2003-12-05 14:08:40 »

Not sure if you know about this, but the collision detection with the walls doesn't seem to be quite right.

Just to the right of the starting point I managed to push my way through the ceiling.

Kev

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #44 - Posted 2003-12-05 14:16:26 »

Aye, getting the collision is a total pain. Whats there at the moment is pretty good for the most part, but a determined person can still break it Tongue

Some more careful level design usually fixes problems, but that level wasn't tested too much for things like that. I'd like to go back and fix the algorithm, but i just don't have the time since what i've got at the moment works 'good enough'.

Deadlines. Bah. Embarrassed

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #45 - Posted 2004-03-03 14:53:59 »

zparticle: Hmm.. oddity.

Error 1, according to the GL spec says "count was a negative value.". Which is impossible because its only ever set to 0 or incremented. I wonder if this is (yet another) bug in DebugGL. As usual, what graphics card and whats the log file look like?

Error 2, I've only just uploaded the V-Script files, and it hangs for me as well Sad Works fine locally so I'll take a look at my webstart script.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #46 - Posted 2004-03-03 16:18:28 »

Card - Intel 82845G/GL

This post edited to save space.

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #47 - Posted 2004-03-03 16:18:45 »

This post edited to save space.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #48 - Posted 2004-03-03 18:17:28 »

Actually I meant the log file generated, not the console output (first post has the info about it). But I think I managed to find the bug anyway, could you give it another go please?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #49 - Posted 2004-03-03 19:18:30 »

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  
Running in release mode
Level: FINEST Class: com.vscript.util.logging.LogSubsystem Method: startup When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.util.logging.LogSubsystem
Starting V-Script - version: 0.5 build: 23
Level: INFO Class: com.vscript.core.VScript Method: When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
0.5
23
Importing preferences from C:\Documents and Settings\ME/.vscript/config.xml
Level: CONFIG Class: com.vscript.core.VScript Method: importPreferences When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
C:\Documents and Settings\ME
.vscript
config.xml
Setting Kunststoff look and feel.
Level: CONFIG Class: com.vscript.core.VScript Method: When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Starting with command line: scene=Data/Scenes/sType_TestWorld03.scene -renderEditorMode -useSimpleFramebuffer +useScissorTest +useHardwareColouredLighting -showWireframe
Level: INFO Class: com.vscript.core.VScript Method: main When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
scene=Data/Scenes/sType_TestWorld03.scene
-renderEditorMode
-useSimpleFramebuffer
+useScissorTest
+useHardwareColouredLighting
-showWireframe
Startup filename: Data/Scenes/sType_TestWorld03.scene
Level: FINE Class: com.vscript.core.VScript Method: main When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
Data/Scenes/sType_TestWorld03.scene
Creating OpenGL canvas
Level: FINE Class: com.vscript.core.VScript Method: createDisplay When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Using DebugGL.
Level: INFO Class: com.vscript.core.VScript Method: createDisplay When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Creating mouse input handler.
Level: FINE Class: com.vscript.core.VScript Method: createDisplay When: Wed Mar 03 15:13:16 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
OpenGL Vender: Intel
Level: CONFIG Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
Intel
OpenGL Renderer: Intel Brookdale-G
Level: CONFIG Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
Intel Brookdale-G
OpenGL Version: 1.3.0 - Build 4.13.01.3069
Level: CONFIG Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
1.3.0 - Build 4.13.01.3069
Avalible Extensions: (Expand)
Level: CONFIG Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
GL_ARB_multitexture GL_ARB_texture_border_clamp 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_env_crossbar GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_EXT_fog_coord GL_EXT_packed_pixels GL_EXT_packed_pixels_12 GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_filter_anisotropic GL_3DFX_texture_compression_FXT1 GL_IBM_texture_mirrored_repeat GL_NV_texgen_reflection GL_WIN_swap_hint
Framebuffer created: R8 G8 B8 A8 S8
Level: FINE Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
8
8
8
8
8
Framebuffer has an accurate alpha component. Graphics should render correctly.
Level: FINE Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Depth buffer created with 24bits of precision.
Level: FINE Class: com.vscript.core.VScript Method: init When: Wed Mar 03 15:13:17 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Parameters:
24
Generating font texture for font java.awt.Font[family=Serif,name=Serif,style=plain,size=50]
Level: INFO Class: com.vscript.util.TextGenerator Method: When: Wed Mar 03 15:13:19 MST 2004
Thread ID: 10 Logger: com.vscript.util.TextGenerator
Parameters:
java.awt.Font[family=Serif,name=Serif,style=plain,size=50]
Drawing font glyphs...
Level: FINE Class: com.vscript.util.TextGenerator Method: When: Wed Mar 03 15:13:19 MST 2004
Thread ID: 10 Logger: com.vscript.util.TextGenerator
Processing font image...
Level: FINE Class: com.vscript.util.TextGenerator Method: When: Wed Mar 03 15:13:19 MST 2004
Thread ID: 10 Logger: com.vscript.util.TextGenerator
Creating font texture...
Level: FINE Class: com.vscript.util.TextGenerator

Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #50 - Posted 2004-03-03 19:18:49 »

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  
Method: When: Wed Mar 03 15:13:19 MST 2004 
Thread ID: 10 Logger: com.vscript.util.TextGenerator
Loading scene file. (Data/Scenes/sType_TestWorld03.scene)
Level: FINE Class: com.vscript.core.VScript Method: loadQueuedScene When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Parameters:
Data/Scenes/sType_TestWorld03.scene
File version: 0.1
Level: INFO Class: com.vscript.core.VScript Method: readFileHeader When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Parameters:
0.1
Next GUID: 3781
Level: INFO Class: com.vscript.core.VScript Method: readFileHeader When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Parameters:
3781
Could not find link target
Level: WARNING Class: com.vscript.core.scripting.TriggerLink Method: postLoad When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.editor.GlobalControls
Parameters:
AttachPointName:null
ParentId:null
Could not find link target
Level: WARNING Class: com.vscript.core.scripting.TriggerLink Method: postLoad When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.editor.GlobalControls
Parameters:
AttachPointName:null
ParentId:null
Load completed. (Data/Scenes/sType_TestWorld03.scene)
Level: FINE Class: com.vscript.core.VScript Method: loadQueuedScene When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Parameters:
Data/Scenes/sType_TestWorld03.scene
Updating game logic.
Level: INFO Class: com.vscript.core.VScript Method: update When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Game logic update finished.
Level: FINE Class: com.vscript.core.VScript Method: update When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Display method finished.
Level: INFO Class: com.vscript.core.VScript Method: display When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Creating animator...
Level: FINE Class: com.vscript.core.VScript Method: run When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Game loop started.
Level: FINE Class: com.vscript.core.VScript Method: run When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 10 Logger: com.vscript.core.VScript
Performing rendering for first time. Mode: GameRendering
Level: INFO Class: com.vscript.core.VScript Method: display When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 12 Logger: com.vscript.core.VScript
Parameters:
GameRendering
Loading penumbra texture from Data/Textures/Core/Penumbra.png
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Parameters:
Data/Textures/Core/Penumbra.png
Loading light falloff texture from Data/Textures/Core/ExponentialFalloff.png
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:20 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Parameters:
Data/Textures/Core/ExponentialFalloff.png
Setting OpenGL rendering state
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Setting camera matricies
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Filling Z-Buffer
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Starting light rendering loop. 4 visible lights.
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Parameters:
4
Using hardware coloured lighting.
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: drawGeometryPass When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Finished light rendering loop.
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Scene rendering finished. No overlay present - skipping.
Level: FINE Class: com.vscript.core.renderer.GameRenderer Method: render When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.renderer.GameRenderer
Rendering finished first frame.
Level: INFO Class: com.vscript.core.VScript Method: display When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.VScript
First game loop processed sucessfully, continuing...
Level: FINE Class: com.vscript.core.VScript Method: display When: Wed Mar 03 15:13:21 MST 2004
Thread ID: 12 Logger: com.vscript.core.VScript
Shutting down engine.
Level: INFO Class: com.vscript.core.VScript Method: shutdown When: Wed Mar 03 15:16:42 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Exporting preferences to file C:\Documents and Settings\ME/.vscript/config.xml
Level: CONFIG Class: com.vscript.core.VScript Method: exportPreferences When: Wed Mar 03 15:16:42 MST 2004
Thread ID: 11 Logger: com.vscript.core.VScript
Parameters:
C:\Documents and Settings\ME
.vscript
config.xml
Log file closed at 3/3/04 3:16 PM.
Level: FINE Class: com.vscript.util.logging.LogSubsystem Method: shutdown When: Wed Mar 03 15:16:42 MST 2004
Thread ID: 11 Logger: com.vscript.util.logging.LogSubsystem
Parameters:
Wed Mar 03 15:16:42 MST 2004


Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #51 - Posted 2004-03-03 19:32:11 »

Everything looks normal in there, so does it work now?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #52 - Posted 2004-03-03 19:55:21 »

Opps accidentally deleted the part that sadi it still doesn't work. I get a dark background with a white rectangle in the middle. The rectanlge is filled with a lighter color which extends beyond the rectangle to the right side of the window.

Click to Play

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #53 - Posted 2004-03-03 20:55:57 »

Well thats weird. According to the log it should be all up and running, yet it clearly isn't actually displaying anything. Do other Jogl apps work? How about updating your graphics card drivers?

Also, could you try the compatability mode? http://co-project.lboro.ac.uk/users/cojc5/Webstart/SType_CompatabilityRenderer.jnlp

Edit: and I think i've fixed the V-Script hangups now, seems JTree.rebuildUI() causes the whole thing to hang if run via webstart (fine stand-alone though).

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #54 - Posted 2004-03-03 21:43:23 »

Quote

Edit: and I think i've fixed the V-Script hangups now, seems JTree.rebuildUI() causes the whole thing to hang if run via webstart (fine stand-alone though).


Shortly before you posted that, I happend to try it on XP (1.4.2) and it looked great displayed OK but ignored all keyboard and mouse input.

Just tried again from linux 1.4.2, and I got:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
et.java.games.jogl.GLException: Error making context current
      at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
      at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
      at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
      at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
      at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
      at com.vscript.core.VScript.updateProgressBar(VScript.java:633)
      at com.vscript.core.VScript.initialise(VScript.java:333)
      at com.vscript.core.VScript.main(VScript.java:408)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:837)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:797)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:675)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:390)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
      at com.sun.javaws.Launcher.run(Launcher.java:167)
      at java.lang.Thread.run(Thread.java:534)

malloc will be first against the wall when the revolution comes...
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #55 - Posted 2004-03-03 21:45:31 »

PS Strangely my JWS seems to have permanently inherited the Ocean (or whatever it's called) LaF from 1.5.x, which I ran once on my machine - although I've checked and it's definitely using the 1.4.2 JVM.

I doubt it makes any difference, but it does make JWS look a lot nicer Smiley.

malloc will be first against the wall when the revolution comes...
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #56 - Posted 2004-03-03 22:35:44 »

I need to get a FAQ for this, I seem to keep answering the same questions..
The linux crash is almost certainly the no-framebuffer-alpha-on-linux problem that blights all Jogl apps. Again, theres a fix posted a little while back in the Jogl forum but I lack a linux box to compile it myself. And after *much* nagging no one on the Jogl team *ever* gets around to adding it to a formal build.
Current workaround is to use the compatability renderer for linux (looks weird but works).

For the inert windows one, try clicking on the display so it can grab keyboard focus. I think i need a .requestFocus in there somewhere so this isn't needed.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #57 - Posted 2004-03-04 07:59:14 »

Quote

For the inert windows one, try clicking on the display so it can grab keyboard focus. I think i need a .requestFocus in there somewhere so this isn't needed.


Sorry, I should have been more specific - in windows, clicking on the window had no effect whatsoever. In fact, clicking on it didn't even bring it to foreground (only alt-tab and clicking on the taskbar icon for the app would do that). there was also a 5-15 second pause for redrawing any obscrued part of the window (i.e. with the standard java default of rendering the clip region grey until the redraw came through).

malloc will be first against the wall when the revolution comes...
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #58 - Posted 2004-03-04 09:53:45 »

Damn, thats somewhat more fatal. Ususal question, can I have a look at the log file generated?
[size=1]why is it i keep having to ask that... I spend the effort adding a log to try and narrow problems down and I just keep being told 'it doesn't work'.[/size]

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #59 - Posted 2004-03-04 10:34:41 »

Quote
why is it i keep having to ask that... I spend the effort adding a log to try and narrow problems down and I just keep being told 'it doesn't work'.


You want a list? Grin


  • How the heck is a user supposed to know there *is* a logfile, unless they carefully read everyone else's problems in this thread
  • Where the heck is it, especially with webstart?
  • webstart actually has it's own logfile, but you have to turn it on *globally* so you keep it off all the time until you need it, then turn it on for one run
  • ...and, on the specific occasion above, I was only at the machine for 15 minutes, and didn't have a net connection until I'd left the machine Smiley


NB: item no.1 is no criticism (except of the users, who tend to be lazy and not look). But the expectation of users is that a given game doesn't have a logfile (because most don't), so they don't even think of it. Or, like with me, it goes in one ear and out the other without me noticing.

The sad reality is that if you want *everyone* to send you the logfile, *especially* with a JWS game, you have to popup a message which says "if it breaks, send file: .... to me along with a description of the problem".

malloc will be first against the wall when the revolution comes...
Pages: 1 [2] 3
  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.

rwatson462 (36 views)
2014-12-15 09:26:44

Mr.CodeIt (29 views)
2014-12-14 19:50:38

BurntPizza (61 views)
2014-12-09 22:41:13

BurntPizza (98 views)
2014-12-08 04:46:31

JscottyBieshaar (58 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (76 views)
2014-11-29 21:32:03

toopeicgaming1999 (137 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (37 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!