Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2019, 11:16:39 pm

Login with username, password and session length
Search:     Advanced search
Savage: XR is a new patch for Savage, created by the Newerth.com staff. The XR1.1 Client is out now! Download it now!
189789 Posts in 10994 Topics by 18279 Members
Latest Member: ericcaille
* Home Forum Wiki Help Search Login Register
+  Newerth Forums
|-+  Announcements
| |-+  Development News
| | |-+  The sky above
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: The sky above  (Read 14466 times)
biggeruniverse
Disrespectful Newerth Coder and Occasional Admin
Hero Member
*****
Posts: 930


Savage Days


View Profile
« on: January 24, 2010, 03:28:02 am »

It goes perhaps without saying, but savage is an outdoors game. When you look at a map, there's very little in it that's man-made. Some low huts and old ruins, but that's about it. So, you'd think that the environment would get a lot of attention in an enhancement like Savage XR. Better water rendering, dynamic shadows, a realistic sky. But up to this point, the environment code in Savage XR remains much the same as it was in SFE or even SEP. There's rain and snow (that fall from cloudless blue skies sometimes) but even they are not very dynamic or interesting.

Ah, but the Sun has a lens flare! That's interesting and dynamic! Well, the Sun in my eyes was annoying. More than that, the lens flare effect was doing horrible things to the frame rate.

That's where the story begins. So I took a look at the sky rendering code, and what I found made me cry a little. A poorly implemented sky indeed. Full of unnecessary bits and slow bits. So, I spent some time and cleaned it up a little, and improved it where I could without changing it drastically. Removed the lens flare, changed when and how the screen is cleared, made the background color match the fog.

I'd like to change it drastically at some point, add some forward scattering effects for the sky, real cloud maps for high altitude clouds, etc. But for now I think it will do.

So here is what sky is like in current XR RC3 (sun is off because I'd rather poke my eye out than look at all that flare):


And here are a few examples of what XR Test looks like(first one is a compare with above):



In this last one you can see how the "dust" affects the Sun, at morning and evening the Sun is redder and not so bright compared with this one closer to noon:


So that's a little tidbit on the Sky, I hope you thought it was kinda cool at least.  Afro


« Last Edit: January 24, 2010, 06:48:00 am by biggeruniverse » Logged


https://twitter.com/SavageRebirth
Quote from: Helios
You mean an already 7 yr old game is going to die eventually?  Good call there Nostradumbass
NamedNubcake
Homewrecker
Full Member
***
Posts: 204


View Profile
« Reply #1 on: January 24, 2010, 04:20:49 am »

What a big improvement. 2nd screenshot was very interesting :D
Logged

Epoks
Sr. Member
****
Posts: 408



View Profile
« Reply #2 on: January 24, 2010, 07:43:25 am »

Lookin gewd. We need a new skybox too.
Logged

Trigardon
Forum Administrator
Legendary Member
****
Posts: 4820


Demonic Monster


View Profile WWW
« Reply #3 on: January 24, 2010, 08:26:49 am »

Looks damn good! Smiley
Logged

$hacaR
"The Mod Machine"
Newerth Donator
Hero Member
****
Posts: 586


Warr!or 4 EVER


View Profile WWW
« Reply #4 on: January 24, 2010, 10:06:04 am »

i really want to give you a wet kiss right now biggeruniverse =))
Logged

Trigardon
Forum Administrator
Legendary Member
****
Posts: 4820


Demonic Monster


View Profile WWW
« Reply #5 on: January 24, 2010, 10:16:05 am »

i really want to give you a wet kiss right now biggeruniverse =))

Logged

BEARD!
Hero Member
*****
Posts: 910



View Profile
« Reply #6 on: January 24, 2010, 11:53:23 am »

Excellent work as always!



Is it just me, or should those shadows be more parallel? At the moment, they change their angle over a short distance, making the sun look closer than it presumably is.

Logged

Trigardon
Forum Administrator
Legendary Member
****
Posts: 4820


Demonic Monster


View Profile WWW
« Reply #7 on: January 24, 2010, 12:01:18 pm »

hmm i think so too... I'm not sure at all here
Logged

darkbread
Newerth Council
Super Hero Member
*
Posts: 1278


a lump of bread, that is of a dark color...


View Profile
« Reply #8 on: January 24, 2010, 12:52:24 pm »

awesome
Logged

biggeruniverse
Disrespectful Newerth Coder and Occasional Admin
Hero Member
*****
Posts: 930


Savage Days


View Profile
« Reply #9 on: January 24, 2010, 07:22:01 pm »


Is it just me, or should those shadows be more parallel? At the moment, they change their angle over a short distance, making the sun look closer than it presumably is.



Yes you're right  Smiley Shadows use a perspective rather than orthographic projection.
Logged


https://twitter.com/SavageRebirth
Quote from: Helios
You mean an already 7 yr old game is going to die eventually?  Good call there Nostradumbass
Sonny
Mefix sux
Newerth Shoutcaster
Sr. Member
*****
Posts: 403


Director, storywriter and voice actor of TFoS


View Profile
« Reply #10 on: January 24, 2010, 08:48:26 pm »

looks great, but I might asume this will violently rape you fps?
Logged

biggeruniverse
Disrespectful Newerth Coder and Occasional Admin
Hero Member
*****
Posts: 930


Savage Days


View Profile
« Reply #11 on: January 25, 2010, 04:53:30 am »

Shadows do, but the improved sky code actually helps your fps, especially when looking in the direction of the Sun.
Logged


https://twitter.com/SavageRebirth
Quote from: Helios
You mean an already 7 yr old game is going to die eventually?  Good call there Nostradumbass
Epoks
Sr. Member
****
Posts: 408



View Profile
« Reply #12 on: January 25, 2010, 05:35:45 am »

I think shrinking the suns size to like 1/2 current would help its realism a lot.
Logged

Mefix
Guest
« Reply #13 on: January 25, 2010, 08:23:50 am »

Depends how far into the future savage universe is. Some 500million years into the future would surely make it bigger.
Logged
Feathers
beep
NDC Organizer
Super Hero Member
***
Posts: 2034



View Profile
« Reply #14 on: January 25, 2010, 06:47:35 pm »

no offense, i like your work but, people won't give a shit because looking into the sun when you got a pred coming out of it. It will be anoying>>>people will disable Sun>>>your hard awesome work will go kind of pointless to the majority of Savage players Undecided

P.s. i do like what you have done though  Smiley
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.029 seconds with 19 queries.