Page 1 of 4 123 ... LastLast
Results 1 to 20 of 74
  1. #1
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    riga, latvia
    Posts
    771

    Atmospheric Scattering

    Hello, I haven`t posted anything for too long time .
    So, here I present you a shader i`ve recently been busy with.

    It is based on the chapter "Accurate Atmospheric Scattering" of the "GPU Gems 2" I found here: http://http.developer.nvidia.com/GPU...chapter16.html

    Scene contains 4 spheres: 2 for ground & 2 for atmosphere, as there are 4 shaders (Ground from Space/Atmopshere & Skies from Space/Atmosphere).

    Feel free to use this in your own projects, but the setup may be a headache.
    Moving, scaling etc. operations of the spheres will cause strangeness
    ---------------------------------------------------------
    Yet to do:

    • easier setup
    • skydome only (if you dont need a view from space)

    • cloud coverage
    • normal-mapped lighting for ground
    • ocean material

    ---------------------------------------------------------
    screenshots:







    panoramic 360° views of setting Sun (thanks to dfelinto`s Dome rendering):


    a view from ground:


    Videos:





    ---------------------------------------------------------
    and a blend :
    http://dl.dropbox.com/u/11542084/atmosphere.blend
    controls:

    wasd - move camera
    mouse movement - mouselook
    left mouse button&mouse movement - grab&move sun
    mousewheel up/down - scattering exposure
    Up/Down - scattering samples

    Enjoy!
    Last edited by martinsh; 23-Mar-11 at 06:22.



  2. #2
    Member
    Join Date
    Sep 2009
    Location
    Vancouver, WA
    Posts
    90
    That is really cool!!!!!

    And very realistic.

    Thanks for sharing!
    free gun website i made
    http://free3dguns.co.nr


    music i have made
    http://youtube.com/hybridmermaids -instrumentals
    http://youtube.com/vlangjahr - different stuff and covers
    http://myspace.com/teknisk - death metal



  3. #3
    Member diskette's Avatar
    Join Date
    Dec 2008
    Location
    Brasil - RS
    Posts
    48
    you are crazy, very crazy ...
    congratulations you deserve!

    thanks for sharing



  4. #4
    Member vitorbalbio's Avatar
    Join Date
    Nov 2008
    Location
    Rio de Janeio - Brasil
    Posts
    1,165
    Fantastic martinsh!
    As always.... xD
    Thanks Martinsh you´re the Master of BGE Graphics!



  5. #5
    Member torakunsama's Avatar
    Join Date
    Dec 2007
    Location
    Luanda
    Posts
    1,821
    Congratulations mate, you did it! I looks great, that's what I've been looking for!
    TOMAFORMA
    - Make it Real -



  6. #6
    5* as allways
    very nice and realistic...
    many thanks for sharing

    wondering what would be next



  7. #7
    Member Olm-Z's Avatar
    Join Date
    Apr 2006
    Location
    Bxl - Be
    Posts
    327
    wow ... damn usefull and elegant ... thanks for sharing !



  8. #8
    ... wow ...
    I was impressed at the screen shots when I thought it was a rendered effect. I nearly had an accident when I realized it was real-time!
    Supervising Animator at Grand Design Productions
    We're using Blender for the modeling, but Maya for the animation and rendering.
    My demo reel.



  9. #9
    Member Captain Oblivion's Avatar
    Join Date
    Jan 2006
    Location
    MA (USA)
    Posts
    2,459
    Absolutely beautiful.
    You can see some of my art on my site, and some more on my blog or my tumblr! None of those get updated very often!
    Balsa man and sulfur girl make a perfect match.



  10. #10
    wooot I just watched those procedural clouds video on youtube... pure awesomness
    can't believe my eyes



  11. #11
    Member
    Join Date
    Feb 2008
    Location
    Saskatchewan
    Posts
    750
    Wow this is incredible. And runs quite well. Most things like this hardly run on my comp, but this runs at 15 fps. Doesn't sound like much, but its great for me.
    Pre-procrastinating. Put it off now so you don't have to put it off later.



  12. #12
    you are freaking awersome!



  13. #13
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    riga, latvia
    Posts
    771
    Thank you

    here are a video:
    (YouTube and Vimeo versions)






  14. #14
    Member
    Join Date
    Apr 2009
    Location
    New Zealand
    Posts
    228
    A couple of general questions....

    Are these videos being made with screen capture?

    Is there a way to use game engine / GLSL shaders directly in still/video renders?



  15. #15
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    riga, latvia
    Posts
    771
    Originally Posted by Dazzle View Post
    Are these videos being made with screen capture?
    Yeah Fraps at 30 frames per second.

    Originally Posted by Dazzle View Post
    Is there a way to use game engine / GLSL shaders directly in still/video renders?
    Yup, but the captured image size is limited by your monitor size.



  16. #16
    Wow, you really deserve the title "BGE God", martinsh. Awesome as always!
    My first finished project in Blender: The Machine Stops



  17. #17
    Member
    Join Date
    Apr 2009
    Location
    New Zealand
    Posts
    228
    Originally Posted by dazzle
    Is there a way to use game engine / GLSL shaders directly in still/video renders?
    Originally Posted by martinsh View Post
    Yup, but the captured image size is limited by your monitor size.
    Would that method be to use FRAPS to capture OpenGL directly? Not a conventional F12 Blender Internal render?



  18. #18
    Member martinsh's Avatar
    Join Date
    Oct 2006
    Location
    riga, latvia
    Posts
    771
    Originally Posted by Dazzle View Post
    Would that method be to use FRAPS to capture OpenGL directly? Not a conventional F12 Blender Internal render?
    Fraps or any other screen capturing software, yeah.
    Though there is a way to to render images of each frame to specified folder. The python code were quite simple as I remember.
    Last edited by martinsh; 04-Nov-09 at 19:31.



  19. #19
    Member leonnn's Avatar
    Join Date
    Dec 2008
    Location
    Brazil - PR - Maringá
    Posts
    2,554
    Awesome, thanks to suply us, your work on this filters are are, are i dont know, it saves my life every day, i use your filters on my job, they are excelent. Thanks, realy thanks for this



  20. #20
    Member Mentalturkey's Avatar
    Join Date
    Jan 2009
    Location
    Perth, Australia
    Posts
    331
    Daaaammmm, thats awesome.



Page 1 of 4 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
  •