Page 1 of 11 123 ... LastLast
Results 1 to 20 of 218
  1. #1
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    valence, france
    Posts
    761

    Advanced GLSL 2D Filter demo

    Couldnt decide where to put it, in resources or here.

    Anyway this is Work in Progress thread.
    So i finally got the light scattering/sunray/godray 2D filter working.
    It is totally not optimized and runs slower than DoF+SSAO together. At the moment it crawls at 35fps fullscreen (on highend PC) with SSAO+sunrays+chromatic_aberration+DoF, so im pretty optimistic about usefullness of these 2DFilters in future, when downsampling gets integrated.

    Hopefully a video and a .blend file will be soon available also. I will make some trees and stuff and optimize the scene and filters.

    I totally forgot to mention that this work (2D Filters, not the landscape) is part of a big Blender game Twilight 22, although not yet announced.

    --------------------

    Edit:

    http://dl.dropbox.com/u/11542084/GLSL_Filters_Mountains.blend

    video: http://www.youtube.com/watch?v=f8SZEmETxp0

    Controls:
    WASD - move camera
    Left/Right arrows - move sun
    Filters:
    1 - SSAO only
    2 - SSAO + scene
    3 - Light scattering
    4 - DoF (mousewheel - change focus)
    5 - Chromatic abberration
    6 - Cross shaped bloom

    Note that it is still Work in Progress. The light scattering filter must be optimized alot. It is much slower than it should be. Also the gluProject is not working properly and it doesnt run right when played in fullscreen. Also exporting runtime doesnt work with gluProject. I will try to fix that soon.

    Have fun!
    --------------------

    So here are two huge images. (Photoshop used just for cropping)





    Tada!
    Last edited by martinsh; 16-Dec-10 at 10:26.



  2. #2
    Member Ace Dragon's Avatar
    Join Date
    Feb 2006
    Location
    Wichita Kansas (USA)
    Posts
    20,708
    That practically looks like a BI render, not a BGE game

    the filters you used should really be hardcoded into the BGE as presets like sepia and sobel, or maybe have the SSAO filter be automatically enabled by the engine when enabling AO in the world buttons.
    Sweet Dragon dreams, lovely Dragon kisses, gorgeous Dragon hugs. How sweet would life be to romp with Dragons, teasing you with their fire and you being in their games, perhaps they can even turn you into one as well.
    Need Cycles materials / node setups: Get them here



  3. #3
    Member gomer's Avatar
    Join Date
    Dec 2004
    Location
    canada
    Posts
    509
    This is probably the most impressive visual I've seen produced in the GE. If you can get this optimized and built into the engine, it would be an amazing step forward. Your work is always impressive Martinsh, keep it up.



  4. #4
    Member yournamehere's Avatar
    Join Date
    Nov 2007
    Location
    Location: Location
    Posts
    1,341
    incredible work. You've officially and utterly blown me away. Will you release a video demonstration of this?

    peace,
    -nick
    *New* Blender Texture Pack | 128x128 Texture Pack

    "You could call Bill Gates a compassionate Pimp"
    -Al Capone



  5. #5
    ...and I jizzed in my pants!
    i cant wait for blend files O_O



  6. #6
    Member Mentalturkey's Avatar
    Join Date
    Jan 2009
    Location
    Perth, Australia
    Posts
    331
    holy shit!



  7. #7
    Member Doggie_B's Avatar
    Join Date
    Mar 2009
    Location
    The Netherlands
    Posts
    1,145
    Eye-stunning !I thought for a minute this was a render and not a game. Can we see this in motion please?



  8. #8
    Wait, how many of those are realtime and how many are renders? Or all of them realtime?
    "Best way to clear the air is to have it all out in the open."
    - spoken by Atticus Finch - To Kill a Mockingbird
    ENERGY CRISIS - The Chinese Assault - Website
    ENERGY CRISIS - The Chinese Assault - Thread



  9. #9
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    valence, france
    Posts
    761
    Hey thanks for replies!

    Yes they all are realtime (30 fps though).
    Video and blend file is coming very soon.



  10. #10
    omg. Very impressive!

    IMHO there are two points:
    - There is one strange streak/shadow. (attachment)
    - And the cloud is to dark for it's thickness.
    Attached Images Attached Images



  11. #11
    Member Radmanlive's Avatar
    Join Date
    Oct 2008
    Location
    UK (South-East)
    Posts
    395
    *Jaw drops*
    Wow, it took me about five minuits to come up with this to write..I'm just totally speechless!

    How did you come up with that light streaking from the sun filter?

    This is some godamn amazing stuff!

    /Radman
    If it takes 10 people 10 days to complete a project,
    It will take one person one day to complete the same project.

    Simple logic, right?



  12. #12
    Member Minifig's Avatar
    Join Date
    Sep 2008
    Location
    America, Central time.
    Posts
    3,095
    Please tell me this isn't an April Fools Day joke!
    Feel free to use my texture repository: http://www.cdupload.com/browse/Minifig/3913_FKSa1
    I have a facebook page!



  13. #13
    Member Mr. Smith's Avatar
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    67
    "Picking myself up of the ground"
    That is some amazing work!

    How did you do the SSAO filter?

    Mr. Smith



  14. #14
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    valence, france
    Posts
    761
    Originally Posted by Conz3D View Post
    omg. Very impressive!

    IMHO there are two points:
    - There is one strange streak/shadow. (attachment)
    - And the cloud is to dark for it's thickness.
    Ahh it is a cloud from skybox. I will fix that

    Originally Posted by Radmanlive View Post
    *Jaw drops*
    Wow, it took me about five minuits to come up with this to write..I'm just totally speechless!

    How did you come up with that light streaking from the sun filter?

    This is some godamn amazing stuff!

    /Radman
    Thanks, umm the technique is explained at top images, it is actually quite simple compared with real volumetric lighting techniques.


    Originally Posted by Minifig View Post
    Please tell me this isn't an April Fools Day joke!
    I made this thread in 2. April, so no, it is not a joke


    Originally Posted by Mr. Smith View Post
    "Picking myself up of the ground"
    That is some amazing work!

    How did you do the SSAO filter?

    Mr. Smith
    Thanks,
    I will explain it little later and post also the codes of each Filter and of course the demo blend.
    Stay tuned.



  15. #15
    Member Blendiac's Avatar
    Join Date
    May 2007
    Location
    North of Toronto, Ontario, Canada
    Posts
    903
    Please, please, please give us a video! (OK, a blend file would do, too! )



  16. #16
    Member Minifig's Avatar
    Join Date
    Sep 2008
    Location
    America, Central time.
    Posts
    3,095
    A .blend or video would be amazing!
    Feel free to use my texture repository: http://www.cdupload.com/browse/Minifig/3913_FKSa1
    I have a facebook page!



  17. #17
    Thats sooo amazing! you keep on giving me more inspiration to carry on working with blender thank you!!

    loving the sun rays! although i reckon any game to try these effects in the BGE would surely struggle :/ if theres alot of detail!



  18. #18



  19. #19
    Member cekuhnen's Avatar
    Join Date
    Mar 2003
    Location
    Grosse Pointe Woods, Michigan, USA
    Posts
    10,402
    Ah so when you were using the term godray you were not joking in a different thread!

    I see ...


    Looks very impressive!



  20. #20
    Member vitorbalbio's Avatar
    Join Date
    Nov 2008
    Location
    Rio de Janeio - Brasil
    Posts
    785
    absolutely incredible!
    The Best work with GLSL in BGE!!!!
    Cogumelo Softworks
    www.cogumelosoftworks.com



Page 1 of 11 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •