HDR / Bloom tech demo

Here is a new tech demo that I have been working on in LWJGL. The scene is rendered into a float buffer, and the component that is > 1 is gaussian blurred and redisplayed over the top. The bloom is slightly ‘exaggerated’ in this demo… but what’s the point of a bloom tech demo if you can’t make it look like gears of war.

The demo requires OpenGL 2.0, Non power of 2 textures and float texture support:
http://strumpy.org/Games/HDRDemo/deploy.jnlp

http://strumpy.org/Games/HDRDemo/hdr.png

Works just fine (Vista Ultimate, Java6, Radeon HD2900XT).

Fine here on XP (Java 6.02), some good Nvidia card from 3 years ago.

Cas :slight_smile:

Vista Ultimate? Have you ripped out your hair yet?

Oh yeah, worked for me as well (OS X 10.4.10, 2GB RAM, 256MB X1600)

blank screen and 100% cpu usage probably because i have an old video card: Geforce 6600 GT

java 6.0 on winXP with 768Meg ram and athlon 2100XP

doesn’t work here, no support for non-power-of-2 textures sizes

Windows XP SP2, Ati Mobility Radeon X1600, recent drivers

System Builder version of Ultimate (which may be sold separately in germany) costs 150€ only…

doesn’t work for me. the error message is Application could not be started, details are:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
at org.lwjgl.util.Timer.(Timer.java:50)
at org.strumpy.engine.framework.manager.GameTimer.(GameTimer.java:21)
at org.strumpy.engine.framework.manager.GameManager.(GameManager.java:68)
at org.strumpy.engines.ThreadedEngine.(ThreadedEngine.java:74)
at org.strumpy.game.GenericGame.main(GenericGame.java:106)
… 9 more

looks like i am missing lwjgl file? am i doing something wrong? I have WindowsXP and Radeon 9800 pro gvideocard…

Thank you for giving it a run everybody.

OleR: That should not be happening at all and I can’t explain it. Try clearing your webstart cache and trying again, it’s like webstart isn’t using the right classpath…

Moogie: I have that same setup on my hope PC and it works. Are you using recent drivers? There shouldn’t be a black screen though… :S very odd I have noticed the same thing happening on the new macbook pro’s (nvidia cards)… maybe there is an issue there I will have to have a look into.

In other news, I have also got tone mapping working in a more recent build. I might upload it tonight when I get home from the office.

Thanks again!

Same problem here, Win XP SP2 and a 7800 GS I think

I would say “obviously something wrong with your libraries / binaries / config” because webstart cache by design should have no effect on this…

Diddly-itto

Ditto here… with recent ATi drivers.

I’m 100% sure these cards support NPOT-textures, I think you’re just using an OpenGL-extension that’s only implemented in nVidia drivers. You should try to find the ATi alternative.

Your Demo works wonderfu. No Problems. Intel Core2Duo T7300 2x2Ghz, SantaRosa Chips, 2GB Ram, Geforce8600m GT 256 - 1GB. :slight_smile:

Doesn’t work for me cause I use a fixed dual screen setup in linux. Can it be started in windowed mode?

No problems here.

Windows XP, P4 Northwood 2.6c, 1GB ram, GeForce 6800, lastest drivers.

doesn’t work here, no support for non-power-of-2 textures sizes

Same. Also with some ATI card.

This looks really sweet, great job man.

However, it doesn’t work on my Radeon X1600Pro. I’m using the latest Omega drivers.

It doesn’t work here. It shows a popup entitled “Can not find display” : “1024*768@32 has been selected but is not supported on this hardware”. I have an exception too :

org.lwjgl.LWJGLException: Could not load devil library.
at org.lwjgl.devil.ILNative.nCreateIL(Native Method)
at org.lwjgl.devil.ILNative.createIL(ILNative.java:116)
at org.lwjgl.devil.IL.create(IL.java:590)
at org.strumpy.engine.framework.texture.DevilTextureLoader.(DevilTextureLoader.java:24)
at org.strumpy.engine.framework.texture.TextureManager.(TextureManager.java:26)
at org.strumpy.engine.framework.manager.GameManager.(GameManager.java:66)
at org.strumpy.engines.ThreadedEngine.(ThreadedEngine.java:74)
at org.strumpy.game.GenericGame.main(GenericGame.java:106)
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:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1272)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1218)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1065)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)

tried again. Screen was black for ages, and your mouse capturing is **** - it went haywire so I had to kill the JVM.

I very very strongly suggest you don’t capture the mouse however it is you’re doing it, it’s just nasty.