...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)
Haha, works great here on ATI. Well done Egon!
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?
I have ATI Radeon x550. With v1.15 seems like everything works fine...:)
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.
Quote from: 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.
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?
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
Quote from: Kearnan on August 24, 2007, 01:37:17 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!
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)
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.
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)
Shadows and projective textures are missing, but at least it renders something... ;) Thanks for testing on that exotic hardware.
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
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.
This is a screenshot with a GeForce 4 mx440 - 64MB
(http://www.soft-ec.com/Archivos/imagenes/jpct/shadow_jpct2.JPG)
Quote from: 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.
I'll create a download version on monday.
Here's the version: http://www.jpct.net/download/misc/dust.zip (http://www.jpct.net/download/misc/dust.zip)
Couldn't launch it with Solaris10:
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
There is no lwjgl version for Solaris. That's why it doesn't start because it's an OpenGL-only demo.
Ohhhhhh. Just installed it and was playing around. Thought it would be cool to run that demo :D.