www.jpct.net

General => News => Topic started by: EgonOlsen on August 22, 2007, 12:05:24 am

Title: A new demo...
Post by: EgonOlsen on August 22, 2007, 12:05:24 am
...can be found here: http://www.jpct.net/demos/dust/dust.jnlp (http://www.jpct.net/demos/dust/dust.jnlp). It requires a GeForce3 or better to render something useful. It'll most likely start on cards that don't support all the required features, but it won't look very pretty.

(http://www.jpct.net/pix/lamp_intro.jpg)
Title: Re: A new demo...
Post by: Klaudiusz on August 22, 2007, 09:13:37 pm
Haha, works great here on ATI. Well done Egon!
Title: Re: A new demo...
Post by: EgonOlsen on August 22, 2007, 09:36:46 pm
Good to know. This demo is in fact a compatibility test to see if 1.15 is ready for a release. I had some problems especially on ATI that should be fixed, but you never know... ;) Which ATI card is that exactly?
Title: Re: A new demo...
Post by: Klaudiusz on August 22, 2007, 11:08:09 pm
I have ATI Radeon x550. With v1.15 seems like everything works fine...:)
Title: Re: A new demo...
Post by: Kearnan on August 23, 2007, 06:52:54 am
Looks great and works fine on my ATI Radeon 9550/X1050 as long as I select a depth of 32.  I tried it on two computers; the second with an ATI Radeon 9600 (Pretty much the same card, this one with an older driver) and also got great results as long as I selected a depth of 32.  I changed my monitor Color depth on both computers to 16 bit and still no results at any X*X*16.   X*X*32 still worked fine.
Title: Re: A new demo...
Post by: EgonOlsen on August 23, 2007, 08:42:38 am
Looks great and works fine on my ATI Radeon 9550/X1050 as long as I select a depth of 32.  I tried it on two computers; the second with an ATI Radeon 9600 (Pretty much the same card, this one with an older driver) and also got great results as long as I selected a depth of 32.  I changed my monitor Color depth on both computers to 16 bit and still no results at any X*X*16.   X*X*32 still worked fine.
Do these cards support FBOs? If you open the webstart console, there should be a message about FBOs being found or not (right after the initialization of the OpenGL renderer). If not, then it's using another approach to render into a texture that may not work with 16bpp desktops. Maybe you can check that? That would be great. The lowest ATI that i can check out is a X800, so i don't know how the 9x00 series behaves.

BTW: How does it behave in 16bpp? Crash? No display? Renders rubish?
Title: Re: A new demo...
Post by: Kearnan on August 24, 2007, 01:37:17 am
After more tesing, it seems I was being to hasty with my "Please select video mode..." choice.  I was simply selecting the first 16bit option which askes for a 59 refresh rate.  On that choice, No Display, the frame doesn't open at all.  That's actually the only 16bpp choice I had problems with on either card on either computer.  All of the other choices with refresh rates other than 59, ran perfectly.

Overall, I tested it on four computers all with ATI Graphics cards with the same results.  The 59 seems to be the only problem.  I had good results with about two dozen random choices, other than the "59", with an even spread of 16 and 32.

This is my console output at a few 16bpp Video Mode choices.

320*200*16 - 59
   Application window does not open.
   Console Output:
      Exception in thread "Thread-8" java.lang.NullPointerException
      at com.threed.jpct.Config.glSetDesiredVideoMode(Unknown Source)
      at com.threed.jpct.demos.dust.Dust.selected(Dust.java:46)
      at com.threed.jpct.demos.util.ResolutionFrame$2.run(ResolutionFrame.java:20)

320*200*16 - 60
   Application window opens and runs correctly.
   Console Output:
      Java version is: 1.6.0_02
      -> support for BufferedImage
      Version helper for 1.2+ initialized!
      -> using BufferedImage
      Software renderer (OpenGL mode) initialized
      Software renderer disposed
      Current mode:320 x 200 x 16 @60Hz
      Driver is: ati2dvag/6.14.10.6683 on ATI Technologies Inc. ATI Radeon 9550 / X1050 Series x86/MMX/3DNow!/SSE2
      FBO supported and used!
      OpenGL renderer initialized (using 4 texture stages).....etc.....



320*200*16 - 75
   Application window opens and runs correctly.
   Console Output:
      Java version is: 1.6.0_02
      -> support for BufferedImage
      Version helper for 1.2+ initialized!
      -> using BufferedImage
      Software renderer (OpenGL mode) initialized
      Software renderer disposed
      Current mode:320 x 200 x 16 @60Hz
      Driver is: ati2dvag/6.14.10.6683 on ATI Technologies Inc. ATI Radeon 9550 / X1050 Series x86/MMX/3DNow!/SSE2
      FBO supported and used!
      OpenGL renderer initialized (using 4 texture stages).....etc.....

1440*900*16 - 60
   Application window opens and runs correctly and looks great.
   Console Output:
      Java version is: 1.6.0_02
      -> support for BufferedImage
      Version helper for 1.2+ initialized!
      -> using BufferedImage
      Software renderer (OpenGL mode) initialized
      Software renderer disposed
      Current mode:1440 x 900 x 16 @85Hz
      Driver is: ati2dvag/6.14.10.6683 on ATI Technologies Inc. ATI Radeon 9550 / X1050 Series x86/MMX/3DNow!/SSE2
      FBO supported and used!
      OpenGL renderer initialized (using 4 texture stages).....etc.....


Happy coding

-Kearnan
Title: Re: A new demo...
Post by: EgonOlsen on August 24, 2007, 08:20:02 am
320*200*16 - 59
   Application window does not open.
   Console Output:
      Exception in thread "Thread-8" java.lang.NullPointerException
      at com.threed.jpct.Config.glSetDesiredVideoMode(Unknown Source)
      at com.threed.jpct.demos.dust.Dust.selected(Dust.java:46)
      at com.threed.jpct.demos.util.ResolutionFrame$2.run(ResolutionFrame.java:20)
Yes, i've noticed that behaviour on one of my machines too. This mode causes trouble albeit i've no idea why. The driver reports it but somehow it doesn't make it from the selection down to the actual method and causes a null pointer...must be some problem in the selection window. I'll look into it next week if playing BioShock permits it... ;D

Anyway, thanks for testing!
Title: Re: A new demo...
Post by: raft on August 27, 2007, 01:30:02 pm
it works well on my intel 915 chpiset too. except the bloom effect which kills the performance as other the bloom demo. the interesting part is the shadows are much sharper in this demo. as you will remember the cube-sphere sample was generating blurred edges

here is the shot:
(http://img54.imageshack.us/img54/2425/demo2du6.png)
Title: Re: A new demo...
Post by: EgonOlsen on August 27, 2007, 05:10:58 pm
Thanks for testing it on Intel. The chips doesn't have the fillrate to handle bloom very well, i suppose. And it seems to lack support for FBOs or otherwise, the shadow map's resolution would be higher than it is in your screen shot.
Title: Re: A new demo...
Post by: Melssj5 on August 29, 2007, 08:52:35 pm
This SSHOT was on a VIA S3 UNICHROME video card. I never expected to work just was a "just in case".

(http://www.soft-ec.com/ssdemojpct.JPG)
Title: Re: A new demo...
Post by: EgonOlsen on August 29, 2007, 10:21:47 pm
Shadows and projective textures are missing, but at least it renders something... ;) Thanks for testing on that exotic hardware.
Title: Re: A new demo...
Post by: cyberkilla on September 08, 2007, 02:38:05 pm
That was fantastic!

Sorry i missed a screenshot, but I can tell you it renders PERFECT on my "Geforce 8400M GT GPU".

Wow, I didn't realise I was on a nividia now:D
Title: Re: A new demo...
Post by: Melssj5 on September 15, 2007, 03:01:26 am
Is there a demo version with a .bat file to run it? I want to test certain hardware emulator but I need to have an exe or bat file to use it.
Title: Re: A new demo...
Post by: Melssj5 on September 15, 2007, 03:07:13 am
This is a screenshot with a GeForce 4 mx440 - 64MB

(http://www.soft-ec.com/Archivos/imagenes/jpct/shadow_jpct2.JPG)
Title: Re: A new demo...
Post by: EgonOlsen on September 16, 2007, 07:30:01 pm
Is there a demo version with a .bat file to run it? I want to test certain hardware emulator but I need to have an exe or bat file to use it.
I'll create a download version on monday.
Title: Re: A new demo...
Post by: EgonOlsen on September 17, 2007, 05:58:54 pm
Here's the version: http://www.jpct.net/download/misc/dust.zip (http://www.jpct.net/download/misc/dust.zip)
Title: Re: A new demo...
Post by: Remo on September 22, 2007, 09:24:30 pm
Couldn't launch it with Solaris10:

Code: [Select]
java.lang.reflect.InvocationTargetException
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:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1154)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1101)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:944)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
at com.threed.jpct.GLBase.getAvailableVideoModes(Unknown Source)
at com.threed.jpct.FrameBuffer.getVideoModes(Unknown Source)
at com.threed.jpct.demos.util.ResolutionPanel.<init>(ResolutionPanel.java:66)
at com.threed.jpct.demos.util.ResolutionFrame.<init>(ResolutionFrame.java:15)
at com.threed.jpct.demos.dust.Dust.main(Dust.java:42)
... 11 more
Title: Re: A new demo...
Post by: EgonOlsen on September 23, 2007, 10:34:44 am
There is no lwjgl version for Solaris. That's why it doesn't start because it's an OpenGL-only demo.
Title: Re: A new demo...
Post by: Remo on September 24, 2007, 01:17:21 am
Ohhhhhh. Just installed it and was playing around. Thought it would be cool to run that demo :D.