Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Galemp on October 29, 2002, 10:46:20 pm

Title: Pseudo-atmospherics
Post by: Galemp on October 29, 2002, 10:46:20 pm
I was browsing through old threads and came across this bit about Localized Nebulae-- in short, clouds.

http://www.hard-light.net/forums/index.php/topic,1695.0.html

Would it be possible, now with the source, to do something like this?
Title: Pseudo-atmospherics
Post by: EdrickV on October 31, 2002, 02:22:16 am
Just about anything is possible. The trick is figuring out how to do any particular thing. And this I have no idea about.
Title: Pseudo-atmospherics
Post by: ##UnknownPlayer## on October 31, 2002, 06:43:12 pm
If you felt like utterly destroying the game performance, you could render a giant sphere with a volumetric texture on it.
Title: Pseudo-atmospherics
Post by: IceFire on October 31, 2002, 07:42:15 pm
How do flight sims do it?  Stuff like Il-2 and CFS3?
Title: Pseudo-atmospherics
Post by: Galemp on October 31, 2002, 09:14:11 pm
Well, we know with the nebula code you can have a background of blue or whatever. Maybe the asteroid field code could help in defining a 'cloud field' with variable densities and wind direction or something...
Title: Pseudo-atmospherics
Post by: mikhael on October 31, 2002, 10:52:58 pm
Don't reinvent the wheel. Go examine the Nebula setup in I-war2 (which has localized nebula that don't slow down the game) and figure out what they did and how. THEN work out how to do it in psuedocode and THEN work out how to code that in C/C++ to work with the FS2 engine.
Title: Pseudo-atmospherics
Post by: ##UnknownPlayer## on November 01, 2002, 12:18:04 am
A stop gap solution would be to implement 'partial nebula's'. Essentially you define a value between 0.0 and 1.0 that defines the density and frequency of nebula 'clouds' but in this way it won't adjust the background to that bright blue color. Then, if someone wants to render up some differing colored clouds for effect?