Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Time/Weather Options
04-13-2010, 09:37 PM
Post: #1
Time/Weather Options
There should be an option to drive tracks with different weather conditions, such as Nuerburgring at night or rainy Monaco ect.
Find all posts by this user
Quote this message in a reply
04-14-2010, 10:02 AM
Post: #2
 
Dynamic daytime is planned.

I am not sure about the weather/rain. Don't know how to implement it realistically. :?
Find all posts by this user
Quote this message in a reply
05-17-2010, 04:29 PM
Post: #3
 
Aye. I see. What about if it was right after it rained or snowed?
Find all posts by this user
Quote this message in a reply
05-17-2010, 07:54 PM
Post: #4
 
open up vdrift/data/tracks/(your favorite track here)/surfaces.txt

in surfaces.txt, change the sections to reduce traction.

example:

Code:
[ ASPHALT ]

ID = 1
BumpWaveLength = 0.0
BumpAmplitude = 0.0
FrictionNonTread = 1.0
FrictionTread = 0.9
RollResistanceCoefficient = 1.0
RollingDrag = 0.0

becomes:

Code:
[ ASPHALT ]

ID = 1
BumpWaveLength = 0.0
BumpAmplitude = 0.0
FrictionNonTread = 0.7
FrictionTread = 0.6
RollResistanceCoefficient = 1.0
RollingDrag = 0.0

taking about 0.3 points away from every friction number feels like rain to me. also makes grass feel like mud.

i've been thinking about how to implement changing this automatically from the track selection screen.
maybe friction presets?
and then later on, we can add graphical effects to the track according to which weather preset you select. (rain falling, water spray from tires, mud spray, glossy asphalt).

the hardest part i see in that is implementing actual falling rain in the air.

snow would come later because that would require much more graphical work.
Find all posts by this user
Quote this message in a reply
02-25-2012, 05:12 PM
Post: #5
 
Sorry for mixing in an old thread again but can't you take some part of the rain and time code that is in Speed-Dreams/TORCS since they are open source? Those are pretty realistic. It doesn't look good but the change in handling is pretty close to what you expect on a wet road.
Is it a good base to build upon or implementing that is way to much work?
Find all posts by this user
Quote this message in a reply
02-26-2012, 12:57 AM
Post: #6
 
hmm, we could start doing it visually by implementing a composite skybox.

right now my vdrift data is hopelessy out of date. but if i were to get the latest (which is preferred now same old svn or git??). then do hand painted alpha on all the non-terrain parts of the skybox...

...then someone makes a clear-sky skybox (not that hard)...

...would we then have very rudimentary day/night/clear/cloudy support?

if this is desirable i'd be happy to do it. just a bit of a trudge through all the track skyboxes. my guess is, that if it messes with anyone's ip that we just revert that track...but maybe we just give the images new filenames like: composite_sybox.png. so if someone's ip feels infringed we just delete the derivative file.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-26-2012, 05:58 AM
Post: #7
 
zimluura Wrote:(which is preferred now same old svn or git??)
We still use svn for the data at the moment Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
02-26-2012, 12:56 PM
Post: #8
 
If someone needs testing of such feature I'm kinda open. I'll submit feedback as soon as I can. I usually visit the site every weekend.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)