Advertisement

Please test my first shader test app!

Started by November 11, 2004 05:03 PM
37 comments, last by vincoof 20 years ago
Let me know if it blows up your pc etc, thanks =) Download (2.6Mb)
vsync off, no bloom : min=93 max=129 fps
vsync off, bloom on : min=11 max=11.25 fps

Hardware : P4 2.40 GHz, RAM 512 MB, GeForce FX 5200 Ultra 128 MB AGP 4x
Software : your app in fullscreen, using NVIDIA 61.77 driver on top of WinXP Home SP1.

btw, I think there's a bug in your vsync init. When I start the program, the framerate is locked to 60Hz (+/- 1%) and when I hit F3 it's still locked to 60Hz, and when I hit F3 again the framerate is unlocked (unleashed !). Then whenever I hit F3 it toggles vsync correctly.
Advertisement
Runs fine on my amd 1700+ and 9700 pro.

Got a link to an explination of how that effect is done?
Works great!

Win2K
ATI Radeon 9800pro 128
AMD Bartons 2500
512mb 400MHz PC3200 Mushkin Enhanced RAM
effect is simple -- my explination will use OpenGL :D

- create offscreen buffer with ~25% screen dimensions
- render to the buffer
- run seperated convolution filter (guassian blur) on offscreen buffer
- combine buffer with finaly rendered scene.

pretty simple, pretty effect, but its still fake HDR :D
"I am a donut! Ask not how many tris/batch, but rather how many batches/frame!" -- Matthias Wloka & Richard Huddy, (GDC, DirectX 9 Performance)

http://www.silvermace.com/ -- My personal website
Works fine here (7-8 fps with glow effect).

HW : Athlon 1GHz, GeForce FX 5200
SW : Linux/wine.
SaM3d!, a cross-platform API for 3d based on SDL and OpenGL.The trouble is that things never get better, they just stay the same, only more so. -- (Terry Pratchett, Eric)
Advertisement
very very pretty app

im runnin an amd 3200+ 32bit
9600xt
1gb pc3200

no bloom ~145fps
bloom on ~45fps
Quote: Original post by vincoof
vsync off, no bloom : min=93 max=129 fps
vsync off, bloom on : min=11 max=11.25 fps

Hardware : P4 2.40 GHz, RAM 512 MB, GeForce FX 5200 Ultra 128 MB AGP 4x
Software : your app in fullscreen, using NVIDIA 61.77 driver on top of WinXP Home SP1.

btw, I think there's a bug in your vsync init. When I start the program, the framerate is locked to 60Hz (+/- 1%) and when I hit F3 it's still locked to 60Hz, and when I hit F3 again the framerate is unlocked (unleashed !). Then whenever I hit F3 it toggles vsync correctly.


Woah 11.25fps! Needs a little speeding up i think!

Quote: Orig post by skow
Got a link to an explination of how that effect is done?

Yup :) ... I've never actually written any CG stuff with OpenGL before, this link (along with the CG tut on NeHe's site) got me up to speed fast!
Link
The link above is actually a link on how to modify the halflife engine to render glow, but it's V.easy to figure it out, it was almost a cut and paste job! I just hope I can figure out the shader .cg files.

Vincoof, thanks for the vsync bug report, it's just a simple bool being set to wrong value :)

Thanks for testing, I'm so pleased my new game framework code doesn't blow up your PC and actually runs!
Quote: Woah 11.25fps! Needs a little speeding up i think!

It's a FX 5200 = slowest shader unit on earth.
Really nice :)

Without ~165 FPS.
With glow ~32 FPS.

Sitting on a P4 1,4Ghz. Geforce 3 64MB. 768MB RAM

This topic is closed to new replies.

Advertisement