Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Gallery
Next Gallery
Print Thread
Rate Thread
Page 2 of 2 1 2
Atmospheric Scattering #242859
12/26/08 06:57
12/26/08 06:57
6 Images
Joined: Feb 2008
Posts: 46
California
E
ecg_limey Offline OP
Newbie
Atmospheric Scattering

Here are a few shots of the project I'm working on. I've been trying to implement atmospheric scattering, skies etc...

I 'borrowed' a fair amount of code from the various examples around the net yet it was still a bit 'hair pulling out' at times.

It isn't 100% accurate, I simplified some things and changed some other things here and there. I'm sort of happy with the results so far but would appreciate some constructive criticism to make it look 'better'.

The terrain is made in Earth Sculptor and exported to 3dgs with my HMP export plugin (cough, shameful plug no pun intended)...
The sky dome is a geo-sphere with 42k polys (needs to be fairly well tesselated as the atm. scat. interpolates vertex colors. The clouds are a basic cloudy texture sphericaly mapped to the dome (this will be improved upon). The terrain is only doing a norm/sundir dot prod. for lighting so this too has a lot to be improved upon.

Thanks to Conitec for supplying a (now) good engine, I hated 3dgs at first but now I'm getting used to it and with the new betas adding a lot more usable functionality I'm beginning to quite enjoy it.

Merry xmas to all. You know you're a geek with a problem if you're coding on xmas day!!!

This runs a 512x512 terrain with 4 textures + 1 blendmap @ lod=1 (no lod), 1600x1200 @ 100+ fps on a 7900gs. Reaches 200ish at 1024x768.


Justin

Last edited by ecg_limey; 12/26/08 07:15. Reason: Addendum
16 Comments
Re: Atmospheric Scattering [Re: ryangregory] #243097
12/27/08 22:38
12/27/08 22:38
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
wow, that looks sweet! looking forward for a demo or a vid showing day\night cycle smile

Re: Atmospheric Scattering [Re: Shadow969] #243155
12/28/08 13:15
12/28/08 13:15
Joined: Jul 2006
Posts: 503
Australia
A
adoado Offline

User
adoado  Offline

User
A

Joined: Jul 2006
Posts: 503
Australia
Looks great!

Quote:
...yet it was still a bit 'hair pulling out' at times.


Lol, I can relate to this wink I have attempted to write a similar shaver also, but unfortunately it seems to be a very awkward shader to get right :P Every version seems to be different, have different 'constants' and fudge factors, etc :P ^^

Cheers,
Adoado wink


Visit our development blog: http://yellloh.com
Re: Atmospheric Scattering [Re: adoado] #243156
12/28/08 13:33
12/28/08 13:33
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
wow great.


3333333333
Re: Atmospheric Scattering [Re: Quad] #243281
12/29/08 09:20
12/29/08 09:20
Joined: Feb 2008
Posts: 46
California
E
ecg_limey Offline OP
Newbie
ecg_limey  Offline OP
Newbie
E

Joined: Feb 2008
Posts: 46
California
I just luuuuuv fudge factors, especially when they're not commented!

... and tyvm for all the kind comments

Re: Atmospheric Scattering [Re: ecg_limey] #246777
01/17/09 04:46
01/17/09 04:46
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
being part of this project now, i have to say, its a lot of fun to play with :P

Re: Atmospheric Scattering [Re: lostclimate] #248967
01/30/09 13:46
01/30/09 13:46
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Looks great! Nice job!

Re: Atmospheric Scattering [Re: ryangregory] #249327
02/01/09 19:15
02/01/09 19:15
Joined: Apr 2008
Posts: 235
TEXCOORD3
Foxfire Offline
Member
Foxfire  Offline
Member

Joined: Apr 2008
Posts: 235
TEXCOORD3
hey,
Great work! I myself am always "disecting" shaders to figure out how they work and it seems you nailed this one smile Keep it up!


http://www.groundtacticsgame.com/
Alienware m17x R Custom laptop
specs:
Intel Core 2 Extreme Quad CPU Q9300
2x Nvidia 280GTX 2GB vram
6GB ddr3 memory@ 1333Mhz
512GB SSD
1200p 17' screen
runs Crysis Warhead on max settings at 1200p at 90 fps
Page 2 of 2 1 2

Moderated by  jcl, Realspawn, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1