sidebar features
sidebar content

Go Back   Blender Artists Forums > Game Engine > Game Engine Resources

Reply
 
Thread Tools
martinsh's Avatar
martinsh martinsh is offline
Member
 
Join Date: Oct 2006
Location: riga, latvia
Posts: 561
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://www.********.org/blend/2433

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!
............................................
www.martinsh.co.nr - gallery is broken..
artmartinsh.blogspot.com - blog

Blender artworks:
Shotgun
Assault Rifle
Realtime Bathroom Demo
Advanced GLSL 2D Filters

Last edited by martinsh; 08-Apr-10 at 12:23.
#1   Old 04-Nov-09, 03:05   
Reply With Quote


vanlangjahr vanlangjahr is offline
Member
 
Join Date: Sep 2009
Location: California
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
#2   Old 04-Nov-09, 03:27   
Reply With Quote
diskette's Avatar
diskette diskette is offline
Member
 
Join Date: Dec 2008
Location: Brasil, RS - Guaíba
Posts: 46
you are crazy, very crazy ...
congratulations you deserve!

thanks for sharing
............................................
Estudante universitário na (UNISINOS) Universidade do Vale do Rio dos Sinos na área de desenvolvimento de jogos.
Undergraduate Student of Digital Games (UNISINOS)
messenger: giovanniprotta@hotmail.com
mail: gprotta@gmail.com
portifólio: http://gprotta.wordpress.com
#3   Old 04-Nov-09, 04:00   
Reply With Quote
vitorbalbio's Avatar
vitorbalbio vitorbalbio is offline
Member
 
Join Date: Nov 2008
Location: Rio de Janeio - Brasil
Posts: 551
Fantastic martinsh!
As always.... xD
Thanks Martinsh you´re the Master of BGE Graphics!
............................................
Starats Studio! Brasil tb tem Blendero!
Blog: http://obalbio3d.wordpress.com/
Ruínas2.0 : http://blenderartists.org/forum/showthread.php?t=152668
"O Blender não é mt carismático mas.... "
#4   Old 04-Nov-09, 10:51   
Reply With Quote
torakunsama's Avatar
torakunsama torakunsama is offline
Member
 
Join Date: Dec 2007
Location: Luanda
Posts: 437
Congratulations mate, you did it! I looks great, that's what I've been looking for!
............................................
Minds to Infinity^3
Working on:
COS
FOTA
Join CinemaBLender
Site: Infinitycreations (old)
Artist @ Geist3D
#5   Old 04-Nov-09, 10:57   
Reply With Quote
psychotron's Avatar
psychotron psychotron is offline
Member
 
Join Date: Jul 2007
Posts: 268
5* as allways
very nice and realistic...
many thanks for sharing

wondering what would be next
#6   Old 04-Nov-09, 11:51   
Reply With Quote
Olm-Z's Avatar
Olm-Z Olm-Z is offline
Member
 
Join Date: Apr 2006
Location: Bxl - Be
Posts: 289
wow ... damn usefull and elegant ... thanks for sharing !
#7   Old 04-Nov-09, 14:24   
Reply With Quote
RobCozzens's Avatar
RobCozzens RobCozzens is offline
Member
 
Join Date: Dec 2006
Posts: 400
... 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.
#8   Old 04-Nov-09, 20:54   
Reply With Quote
Captain Oblivion's Avatar
Captain Oblivion Captain Oblivion is offline
Member
 
Join Date: Jan 2006
Location: MA (USA)
Posts: 1,979
Absolutely beautiful.
............................................
Balsa man and sulfur girl make a perfect match.
#9   Old 04-Nov-09, 21:12   
Reply With Quote
psychotron's Avatar
psychotron psychotron is offline
Member
 
Join Date: Jul 2007
Posts: 268
wooot I just watched those procedural clouds video on youtube... pure awesomness
can't believe my eyes
#10   Old 04-Nov-09, 22:02   
Reply With Quote
IAmThisGuy IAmThisGuy is online now
Member
 
Join Date: Feb 2008
Location: Saskatchewan
Posts: 738
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.
#11   Old 04-Nov-09, 22:07   
Reply With Quote
CGgap CGgap is offline
Member
 
Join Date: Oct 2009
Posts: 64
you are freaking awersome!
#12   Old 04-Nov-09, 22:43   
Reply With Quote
martinsh's Avatar
martinsh martinsh is offline
Member
 
Join Date: Oct 2006
Location: riga, latvia
Posts: 561
Thank you

here are a video:
(YouTube and Vimeo versions)



............................................
www.martinsh.co.nr - gallery is broken..
artmartinsh.blogspot.com - blog

Blender artworks:
Shotgun
Assault Rifle
Realtime Bathroom Demo
Advanced GLSL 2D Filters
#13   Old 04-Nov-09, 22:47   
Reply With Quote
Dazzle Dazzle is offline
Member
 
Join Date: Apr 2009
Location: New Zealand
Posts: 201
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?
#14   Old 04-Nov-09, 23:25   
Reply With Quote
martinsh's Avatar
martinsh martinsh is offline
Member
 
Join Date: Oct 2006
Location: riga, latvia
Posts: 561
Quote:
Originally Posted by Dazzle View Post
Are these videos being made with screen capture?
Yeah Fraps at 30 frames per second.

Quote:
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.
............................................
www.martinsh.co.nr - gallery is broken..
artmartinsh.blogspot.com - blog

Blender artworks:
Shotgun
Assault Rifle
Realtime Bathroom Demo
Advanced GLSL 2D Filters
#15   Old 04-Nov-09, 23:42   
Reply With Quote
shortlord shortlord is offline
Member
 
Join Date: Jan 2009
Posts: 125
Wow, you really deserve the title "BGE God", martinsh. Awesome as always!
............................................
My first finished project in Blender: The Machine Stops
#16   Old 04-Nov-09, 23:48   
Reply With Quote
Dazzle Dazzle is offline
Member
 
Join Date: Apr 2009
Location: New Zealand
Posts: 201
Quote:
Originally Posted by dazzle
Is there a way to use game engine / GLSL shaders directly in still/video renders?
Quote:
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?
#17   Old 05-Nov-09, 00:07   
Reply With Quote
martinsh's Avatar
martinsh martinsh is offline
Member
 
Join Date: Oct 2006
Location: riga, latvia
Posts: 561
Quote:
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.
............................................
www.martinsh.co.nr - gallery is broken..
artmartinsh.blogspot.com - blog

Blender artworks:
Shotgun
Assault Rifle
Realtime Bathroom Demo
Advanced GLSL 2D Filters

Last edited by martinsh; 05-Nov-09 at 00:31.
#18   Old 05-Nov-09, 00:28   
Reply With Quote
leonnn's Avatar
leonnn leonnn is offline
Member
 
Join Date: Dec 2008
Location: Brazil - PR - Maringá
Posts: 611
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
#19   Old 05-Nov-09, 12:29   
Reply With Quote
Mentalturkey's Avatar
Mentalturkey Mentalturkey is offline
Member
 
Join Date: Jan 2009
Location: Perth, Australia
Posts: 331
Daaaammmm, thats awesome.
#20   Old 05-Nov-09, 13:27   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 19:07.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Blender Headlines
Featured Artwork
Crocodile by Julia Korbut
Classic vintage look renders by HANGAR
Blending life - Old George by bigbad
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Social BlenderArtists