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: 482
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.pasteall.org/blend/965

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..

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

Last edited by martinsh; 04-Nov-09 at 22:43.
#1   Old 04-Nov-09, 03:05   
Reply With Quote


vanlangjahr's Avatar
vanlangjahr vanlangjahr is offline
Member
 
Join Date: Sep 2009
Location: California
Posts: 87
That is really cool!!!!!

And very realistic.

Thanks for sharing!
............................................
My Website: http://free3dguns.co.nr
It has a Bunch of Free 3D guns.....
Feel free to give me your guns so I can post them up.

-CANNIBAL CORPSE.
#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: 26
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: 483
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, Angola, Southern Africa
Posts: 293
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 (WIP)
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: 229
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: 280
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: 375
... 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,773
Absolutely beautiful.
............................................
God kills a kitten every time someone makes a pointless thread

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: 229
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 offline
Member
 
Join Date: Feb 2008
Location: Saskatchewan
Posts: 650
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.
............................................
Saskatchewan. Easy to draw, hard to spell.
I live in a rectangle.
#11   Old 04-Nov-09, 22:07   
Reply With Quote
CGgap CGgap is offline
Member
 
Join Date: Oct 2009
Posts: 41
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: 482
Thank you

here are a video:
(YouTube and Vimeo versions)



............................................
www.martinsh.co.nr - gallery is broken..

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 online now
Member
 
Join Date: Apr 2009
Posts: 100
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: 482
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..

Blender artworks:
Shotgun
Assault Rifle
Realtime Bathroom Demo
Advanced GLSL 2D Filters
#15   Old 04-Nov-09, 23:42   
Reply With Quote
shortlord's Avatar
shortlord shortlord is offline
Member
 
Join Date: Jan 2009
Posts: 106
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 online now
Member
 
Join Date: Apr 2009
Posts: 100
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: 482
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..

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 leonnn is offline
Member
 
Join Date: Dec 2008
Posts: 204
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: 329
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 11:33.


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.
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.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists