Blur an image during runtim
by Kevin Epps · in Torque Game Builder · 01/26/2008 (2:00 pm) · 8 replies
Is that possible?
I would like to blur an image at will during the runtime of a game. Is there a resource that allows you to blur an image, Sceneobject, or SceneWindow?
I would like to blur an image at will during the runtime of a game. Is there a resource that allows you to blur an image, Sceneobject, or SceneWindow?
About the author
#2
01/26/2008 (4:13 pm)
Ok. Has anyone been able to do it before by changing around the source? Maybe someone could at least point me into the right direction to where I should start.
#3
You could probably do a script work around in conjunction with some photoshop filters, but I don't even know of any C++ mods that do such a thing. What are you working on anyway, Kevin?
01/26/2008 (5:29 pm)
That'd be shader support in TGB! How awesome!You could probably do a script work around in conjunction with some photoshop filters, but I don't even know of any C++ mods that do such a thing. What are you working on anyway, Kevin?
#4
01/26/2008 (7:21 pm)
I'm working on a space shooter that I'm revamping called Space Renegades 2, done in Allegro. There's a planet descending animation that I did (you can actually see it here), and I want to make it even better. What I want to do is a little "focusing" trick when the ship descends into the planet. The ship will hit the atmosphere(particle effect) and the "focus" goes to the ship, with the planet background blurred some.
#5
Anyways, it sounds like that wouldn't be a very hard job for an artist. You'd just have to implement a animated sprite.
01/29/2008 (2:28 pm)
Allegro?Anyways, it sounds like that wouldn't be a very hard job for an artist. You'd just have to implement a animated sprite.
#6
01/29/2008 (4:33 pm)
Allegro Game Library
#7
01/31/2008 (5:15 pm)
You could either have various stages of blurred image as cells within the imagemap, or for motion blur just duplicate the image 10 times, put the copies on 0.2 alpha and scatter them forward and backwards in the direction of the objects movement.
#8
01/31/2008 (6:11 pm)
Ahh yeah! That would work! Thanks Conor.
Associate Phillip O'Shea
Violent Tulip