Interesting Graphics Techniques

BlitzMax Forums/BlitzMax Programming/Interesting Graphics Techniques

thalamus(Posted 2008) [#1]
I was wondering if anyone had experimented with or discovered any interesting or unusual 2D graphics techniques in Max?

Specifically, I'm wondering if there's a way to create a real-time blur effect, or make an image look as though it's out of focus (e.g. too close to the "camera").

Any suggestions or interesting code nuggets welcome :)


xlsior(Posted 2008) [#2]
Here's one I made a while back...

http://www.blitzbasic.com/codearcs/codearcs.php?code=2116

Note that's its pretty math-intensive, and you'll need a fairly decent machine if you're intending to run it real-time.


tonyg(Posted 2008) [#3]
Here is my bloom .
The same technique might be useable full-screen but never tested.


xlsior(Posted 2008) [#4]
Here's another blur function I whipped up --

It's much faster than my other blurr in the code archives, but more limited in how 'blurry' it can get.




thalamus(Posted 2008) [#5]
Isn't there such a thing as hardware blurring these days?

And if not, why not? ;)


ImaginaryHuman(Posted 2008) [#6]
With a shader, yes.