Online Video Card Benchmark Test (WIP)

Well spotted, I forgot to add lighting to the object. Fixed it.

Also changed the water so it doesnt look like a toy ship in a bathtub.

Still planning to add a sea monster (to show off refraction), and a day to night cross over for lighting effects.

ah brilliant, looks much nicer now.

Now all it needs is two ships instead of one, both travelling from opposite sides of the screen with little cannons that fire. Oh and don’t forget some sound. :slight_smile:

Added the music ;D

added it to facebook:

Still havnt found an effective way to publish scores. hopefully it isnt that hard. Im thinking I might try use the share function in facebook. and pass the score to the URL via a query string. If anyone has had experience using facebook, I’d love to know the best way of handling score publishing.

Love the pirate ship in the water, looks fantastic. 200 FPS.

But when I closed the tab with your applet in GoogleChrome it locked the browser and I had to kill the task manually. Windows Vista.

thanx, I tried to do the same on Windows 7, Google Chrome version 5.0.375.70 and it didnt crash.
Ill install chrome on a friends version of vista and debug it.

I just re-tried it and the same thing happened. Also happens in firefox.

This is my java version according to the Java Console: 1.6.0_22

Btw there was no error thrown in the console.

JavaSound doesn’t work too well here under linux (especially if your mixing with OpenAL). Also likely JavaSound is hogging more resources (thus effecting the benchmark). Better to just do everything through OpenAL (try Slick-Util if you need support for some alternative sound formats).

Ill go over all the Threads again to make sure that I havnt broken anything when cleaning up resources.

Good to know, Ill look into the Slick music player. Currently Im just using the Jogg player.

How did you do the unsigned applet with hardware acceleration?

Its signed with a trusted certificate. You may hava already clicked “run” once when “always trust” was ticked, on another 1 of my applets, or you have ran this one previously.

Changed the water shader demo so that the camera pans.
Added a time limit to each test.
Fixed full page demo so that it doesnt run at maximum frame rate.

I added another test, just a simple Map loader that I ported from my RTS.

I find it looks alot better when running the fullpage version.

Added a youtube video for this version

Wow! Runs really nice and it looks awesome! Are you going to create a game using this graphics, or have you already done that? I love the first test with the light effects.

oh, nice bump mapped floor there :slight_smile:

Yeah I am working on improving some older games, as well as working on some new small projects

Added another test called “EntityTest” it is using a model that I got from Riste Sekuloski.

http://users.on.net/~bobjob/goon.jpg

ALSO NEED SOME HELP!
Im currently trying to make a good way to handle shadows in a 3rd a person game, my RTS shadows are all static, which doesnt work well for this sort of thing.
If anyone has some good ideas in regards to handling this please give me some advise.
Currently this is what I will be doing. using both a projected texture and a shadow map. the projected texture will be the same as the shadow map except it will be the scene from the light source rendered in black with white Fog (Ill get the textures after a single pass). To simulate attenuation: Ill use this texture map as a texture mask, when redering the scene using only diffuse lighting.
Which means Ill use two shaders: one for ambient lighting/height map and another for normal/specular lighting.

Passes required:
for areas that have no lighting, just a single pass for ambient lighting.
for each light at least 2 passes (for spot light/sun light) plus 2 calls for each texture copy, on each tile region.
A was thinking that I will be using cascaded shadow maps.

If anyone knows a better way to handle 3D shadows in a reasonable way, feel free to share some ideas. Im not sure how many light sources my game will use, but In case there is alot, this seems like a good way to handle unlimited lights. The way I have described will look very polished, which is nice inside a web page, but I also understand that it can kill the video card, granted I will allow the disabling of shadows, but it would be nice if everyone could get into the atmosphere of the game.

look nice but fails to work here.

Get this in the java console

Java Plug-in 1.6.0_23
Using JRE version 1.6.0_23-b05 Java HotSpot(TM) 64-Bit Server VM
User home directory = /home/user

----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

java.io.FileNotFoundException: /tmp/have2chat.net/benchmark.jar.pack.lzma (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
	at loader.j.c(Unknown Source)
	at loader.j.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
	at loader.i.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.NullPointerException
	at loader.d.run(Unknown Source)
java.io.FileNotFoundException: /tmp/have2chat.net/benchmark.jar.pack.lzma (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
	at loader.j.c(Unknown Source)
	at loader.j.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
	at loader.i.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.NullPointerException
	at loader.d.run(Unknown Source)

As always, Thanks kappa for helping me debug it.

Thats a strange error, I cant replicate it, ill try it on a few other computers, see what I get.

odd thing is why is it looking in “/tmp/have2chat.net/benchmark.jar.pack.lzma”
wasn’t the default linux cache directory moved to “~/.java/deployment/cache/*”
or are you maybe still using an old customised verion of the appletloader?

Iv been modifying the applet along with changes made in the LWJGL applet loader. But I havnt really changed the linux code, as I cant debug it, current no linux install on my PC.