The JWS thread *Xith3D demos only*

None of this works on the Mac :frowning:

/me Heman b**** slaps the mac :stuck_out_tongue:
What error do you get man?
Notice that I put a link to the source next every demo, so you might as well take a look and figure the bug out for us :slight_smile:

It switches to full screen mode then locks up… I did manage to dig this out of the console logs:

2003-12-17 00:57:47.356 java[3435] *** +[ThreadUtilities updateModels:]: selector not recognized
2003-12-17 00:57:47.357 java[3435] *** NSThread: ignoring exception ‘NSInvalidArgumentException’ (reason ‘*** +[ThreadUtilities updateModels:]: selector not recognized’) that raised during delayed perform of target 0x72670e0c and selector ‘updateModels:’

Windowed mode fails with:

Error: empty view at “src/native/jogl/MacOSXWindowSystemInterface.m:createContext:24”

[quote] PS: Hey William man can you link my demos on xith.org as well as their sample images straight to the webspace you gave me?
[/quote]
The jnlp files are linked currently - I’ll change it so the images are linked too :slight_smile:

And I’ll add your new demo.

I like the idea of the control panel ;D

Cheers,

Will.

Updated with a new demo :slight_smile:

http://xith.org/demo/JavaCoolDude.php updated.

Nice demo - doesn’t run very fast on this machine but :frowning: - what frame rates are you seeing?

Cheers,

Will.

[quote]http://xith.org/demo/JavaCoolDude.php updated.

Nice demo - doesn’t run very fast on this machine but :frowning: - what frame rates are you seeing?

Cheers,

Will.
[/quote]
http://www.users.xith.org/JavaCoolDude/Pictures/flag.JPG

I can make it run twice as fast, but… the lighting will look a bit worse…
/me back to coding my next demo :wink:

(US) Americans really have to put their flag everywhere. :wink:

quote Americans really have to put their flag everywhere. :wink:
[/quote]
I take it you’re not one of us Americans :P.
:slight_smile:

Edit: The demo now runs 50% faster :slight_smile:

[quote]Edit: The demo now runs 50% faster :slight_smile:
[/quote]
It still fails at the same speed on the Mac :stuck_out_tongue: :wink:

In windowed mode it always just bails. In full screen mode I always get an empty white screen.

The odd thing is that other Xith 3D programs work - Martian Madness for instance.

Hey man how about you help a brother out:
I already posted the source (2 classes) and the dislayOption jar is located right here
You might as well convert the bmp textures into PNGs as I use a hacked version of xith3D which allows to load BMPs and Targas whether they are in a jar file or on the disk :slight_smile:
Help will be much appreciated

I want to, it is just a matter of finding the time. I have done nothing with Xith3D or JOGL or OpenGL yet… have been purely Java2D so far. I also mainly develop on Windows, the Mac is my laptop for testing, email, surfing, and light Java coding. So many things I want to be doing with this stuff but so little time (argh!)…

I have a game idea that I want to use JOGL for, so I have to learn all this stuff anyway… but my “real job” has been very busy lately.

Maybe over the holidays I will be able to take a crack at this. For now I just offer my ability to double click JARs or JNLP files and report results… which is much less time consuming :slight_smile: but hopefully of some value.

Maybe if you can send me a version littered with prints and error checking I can quickly run it and send you the output. Should be quick to see what stage it gets stuck at.

@swpalmer: I’ll see what I can do, however seeing that JoGL ports had hard time running on Mac OS due to pack() problem, I think the glitch is right there.

New demo up: Water simulation and mouse interaction.
@Jens Lehmann: Check out the modification that I’ve made to your interaction demo :wink:

Edit: Special thanks for Kevglass and his awesome 3DS loader :slight_smile:

[quote]@swpalmer: I’ll see what I can do, however seeing that JoGL ports had hard time running on Mac OS due to pack() problem, I think the glitch is right there.
[/quote]
pack() issue aside, Martian Maddness and most of the windowed Xith examples work fine. And the pack issue shouldn’t effect full screen more as far as I can tell.

[quote]New demo up: Water simulation and mouse interaction.
@Jens Lehmann: Check out the modification that I’ve made to your interaction demo :wink:
[/quote]
Very nice. :slight_smile:

[quote]New demo up: Water simulation and mouse interaction.
[/quote]
Hi
All your other demos work fine, but this one runs for maybe 1 second, then quits, no exception is thrown it seems (Nothing in the jws console or log), the window just closes after a few frames.

WinXP, GeForce 4 4200, jdk 1.4.2

Endolf

[quote]New demo up: Water simulation and mouse interaction.
[/quote]
That’s odd the water demo won’t run on my machine, all of the other seem to work. The window comes up and then immediately goes away.

Works fine on my ATI Radeon 9000 Mobility.

Kev

[quote]Works fine on my ATI Radeon 9000 Mobility.

Kev
[/quote]
What gfx card you got zparticle?, nvidia?