S-Type!

Starts ok, displays the screen then just hangs changing colour from pink through to blue gradually., but only in the pink area on the screen shot.

system : win me, java 1.4.2,gforce 3, drive asus v8200 v44.03

Screen shot:

http://demo1.e-nablesolutions.com/styp.jpg

The log has one red error:
http://demo1.e-nablesolutions.com/log.html

Nice looking log, with drilldown.

[quote] but I couldn’t figure out how to make it do anything, so I started randomly pressing keys. I eventually got it to do something, which wasn’t pretty :slight_smile:
[/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. I’d appreciate it if you could give me some ideas of things that might need fixing to get it working on Mac.

Orden: The log file points the error out right there - no alpha component gets you no lighting. Changing your desktop to 32bit should solve this (I should put that in the log…).

[quote]I’m running OS X 10.3.1 and Java 1.4.2 DP 1.

It started OK for me. I just checked and I don’t see a 1.4.2 DP 2 available, so I’m not sure if Jeff got his version numbers right. /quote]

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

Is that the same?

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

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

I d really like to make this work :frowning:

JK

Ok, I’ve created a zip of the files so you can attempt to run it manually. You’ll need to download the Mac Jogl files separatly, I keep them in a /Library subdir, but as long as they’re in the classpath/native lib path that shouldnt matter.

I’ve included my own batch file i use for starting this when testing so you can see what you need to put on the command line (the -scene tag needs to point to the scene file to use on startup).

http://studenti.lboro.ac.uk/~cojc5/Temp/STypeDist.zip

I’m running SUSE 9 with an NVIDIA GFFX5650 Go and it doesn’t work. The log file complains about missing preferences (normal I guess) but at the Creating OpenGL canvas, it just hangs. No window is ever shown, and I have to kille the java process.

  • elias

on madrake9.1 (NV ti4200)window shows and hangs (have to kill it) - on win2k window shows - you can see scene then I click on windows(to get focus) and it exists.

For the log: it works.

win98se, k7 500, gf2mx, 128mb, 1.4.2ish vm, 30.82 deto

However, the framerate is quite low (<10 I think) and I’d seen some “sparklies” (they are easier to spot with a low framerate ::))

Oh and that enemies will clip through you, if you are blocking their path (and should be squished between 'em and a nearby wall).

Elias: Yeah, the missing preferences is normal for the first startup, it’ll use the defaults and create the file on exit for next time. I assume other Jogl demos work on that machine? Same question for Daath really, is it Jogl in general thats broken or just my use of it?

oNyx: The shadows are pretty expensive in terms of memory bandwidth needed on the graphics card (lots and lots of blending operations) so an MX is bound to suffer. Perhaps I should add an option to disable the shadows for people with slower machines. Is there anywhere in particular you’ve seen the sparklies? I occasionally get them on the edges of the shadow fins, fixing it is on my todo list…

[quote][…]
oNyx: The shadows are pretty expensive in terms of memory bandwidth needed on the graphics card (lots and lots of blending operations) so an MX is bound to suffer. Perhaps I should add an option to disable the shadows for people with slower machines. Is there anywhere in particular you’ve seen the sparklies? I occasionally get them on the edges of the shadow fins, fixing it is on my todo list…
[/quote]
Yea… I know that… just tried to give you some numbers to figure out the minimun system requirements :slight_smile:

(I had to shoot about 10 screenshots until I got that little bastards :))

The green line (wich is infact a bit too high) shows were sparklies usually appear (between the blind spot of two or more tris) and there are 4 little sparkies marked with green circles.

If you figure out how to remove that, I would be really interested in reading the solution :slight_smile:

I can only say I am running more then 30 demos here without problem but cannot get this one. Sorry I cannot be more specific .

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

  • elias

[quote]I’m not really sure. Are there any JOGL JWS demos around somewhere?

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

[quote]I
Your right. java -version gives me:
build 1.4.2-001-31

Is that the same?
[/quote]
Yes that’s the one.

[quote]if so is there anything else I n eed to do? Like download JOGL and install it seperately?
[/quote]
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?
[/quote]
15" tiBook 1GHz, which uses ATI Radeon 9000 I think.

[quote]I d really like to make this work :frowning:
[/quote]
Me too. My system gets farther than yours… but it still isn’t right.

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…

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…

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

For my app I to do the following with Jogl’s GLCanvas (laying inside an AWT frame) :

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… :slight_smile: (Yes, I read the Java3d tutorial chapter on shadows, but it’s short.)

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

  • elias

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

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.