2D Filter for Game engine

please , help me , my gfx card support the effects , but nothing shows :frowning:
help please

just to itterate what mpan3 wrote; “All GLSL shaders are tested with zaghaghi’s Blender release. They do NOT work with official Blender 2.45 yet!”

siegel, he did say he was using the proper build. 3Dguru, are you seeing any error messages in the console?

better yet, copy the entire console output here, you should have something like this:

Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Enabled GL_ARB_multitexture
Enabled GL_ARB_shader_objects
Enabled GL_ARB_vertex_shader
Detected GL_ARB_fragment_shader
Enabled GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
GL_VERSION: 2.1 (2.1.1)

he did say he was using the proper build

right .

are you seeing any error messages in the console?

attached consol picture

Attachments


ok, download this file, run it with P, and then press the space key to enable the 2d filter. See anything?

here goes what i get , i pressed space obviously , and no difference were noticed !

but an odd thing is the filter section is blank in the logic brick .

edit :- don’t care for the […] button enabled , i tested it a lot before that .

Edit 2 :- here goes the consol i get …

Compiled with Python version 2.5.
Checking for installed Python… got it!
Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Enabled GL_ARB_multitexture
Enabled GL_ARB_shader_objects
Enabled GL_ARB_vertex_shader
Detected GL_ARB_fragment_shader
Enabled GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
GL_VERSION: 2.1 (2.1.1)
Compiled with Python version 2.5.
Checking for installed Python… got it!

Attachments


did you try using a preset filter? what’s the console output? Any compile errors when you start the game?

/Why are you using Vista on 800x600? :smiley:

did you try using a preset filter?

no … there isn’t a preset filter in the menu anyway

what’s the console output?
Any compile errors when you start the game?

again …

Compiled with Python version 2.5.
Checking for installed Python… got it!
Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Enabled GL_ARB_multitexture
Enabled GL_ARB_shader_objects
Enabled GL_ARB_vertex_shader
Detected GL_ARB_fragment_shader
Enabled GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
GL_VERSION: 2.1 (2.1.1)
Compiled with Python version 2.5.
Checking for installed Python… got it!
Compiled with Python version 2.5.
Checking for installed Python… got it!
Compiled with Python version 2.5.
Checking for installed Python… got it!
Compiled with Python version 2.5.
Checking for installed Python… got it!

by the way , zaghaghi’s build which i’m using is DLDed before some time , i tried to DLD the new one , but the bandwidth is dead ! …

/Why are you using Vista on 800x600? :smiley:

offtopic , but to make the printscreen smaller … , and XP not vista !

ok, guru, there should be couple of preset filters, you might got an older version of the release. I have a repacked mirror here.

thanks Mpan3 , thanks … its not i’m lazy or something , lol … but i tried to DLD the new build by zaghaghi but noticed that the site bandwidth limit was dead :frowning:

thanks :slight_smile: ,
what should i say man , that is good :slight_smile: … thanks all …

is not working for me either. the build is working properly with all build in features but your script makes blender chash. IS it because the build is not stable ?

3dguru, you mean it’s working now?

black reaper, no, as far as i know my scripts are stable. I have tested it on a Blender installation without python on WinXP running on a geforce 7 with latest driver (169.??). even if the scripts are broken, the GE should still run, just without the extra effect.

3dguru, you mean it’s working now

ya it does … sorry if my post was obscure , but i was blending :smiley:

i download the blender with it already in and i’ve applied motion blur which works great
but for some reason the others dont work. im sure its not my grahic card becuase i download the fps template and they worked. when i do it i get a blue screen. any suggestions?

the problem I have is that the build is woreking the blend also without the build but when I try to run the blend with the 2d filter build its don’t work

joeyea, you need to have ‘use blender material’ turned off, that might be causing the problem.

Hi, all! 2D Filters are super. Can anyone post an example custom script of simple Blur filter (like Blue Sepia example on http://blender.gameengine.googlepages.com/customfilter). I dont know GLS language, but I want to learn some tricks from examples.
Thanks.

strangely it turned out that it only works when the game window is over a certain size. But now all the effects seem to be blue which is confusing, but im sure ill work it out

here you can find blur and bloom

Thanks a lot, Siegel.