Jump to content
  • Advertisement
Sign in to follow this  
TerraX

Please test my first shader test app!

This topic is 4964 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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.

Share this post


Link to post
Share on other sites
Runs fine on my amd 1700+ and 9700 pro.

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Quote:
Woah 11.25fps! Needs a little speeding up i think!

It's a FX 5200 = slowest shader unit on earth.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!