Jump to content


* * * * * 1 votes

77A Weather Patch V2.14


  • Please log in to reply
35 replies to this topic

#1 Lee200

Lee200

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,525 posts
  • Gender:Male
  • Sim interest:GPL

Posted Mar 26 2017 - 07:34 AM

I've just finished a completely new version of the Weather Patch which I think you will have fun with.  You can download it from my website located here:

http://gplmotorworks.gplworld.de/

Thanks to the '55 Mod team for their test support and especially to Stefan Roess for hosting the website.

BTW, Stefan has cooked up a nice surprise for everyone too.  :)


https://www.youtube....eature=youtu.be
Be careful, it can be slippery out there.  :man-on-ice:

Lee

----------

What Is It?:  The Weather Patch continuously changes the visibility on-the-fly to simulate fog, rain, or haze.

It works during training, qualification, and race for all mods, all country .exes, all tracks, and with the D3D7v2 and OpenGLv2 rasterisers.

Online players see the same visibility regardless of when they join the server.

As the visibility decreases, so does the track surface grip to simulate a wet track.  Also, the AI will slow down.

How Does It Work?:  The Weather Patch uses GPL's Fog Effect which, before now, could only apply a constant density, gray colored fog throughout qualification and race.  Normally, the fog's density is set in the track.ini file, but the Weather Patch automatically and continuously changes the density on-the-fly and track.ini file settings aren't needed.

The density and change duration are random, but are based on the track's length.  So each track will have different fog characteristics.

How Do You Use It?: See this link to my website which contains the link to download the Weather Patch and how to add patches:

http://gplmotorworks.gplworld.de

I place the Weather patch in one of the Options directories to make it easy to turn on and off with GEM+'s checkbox.

Important--the patch only works with v2 rasterisers!  Do not use it with the Night Patch!

What Should You Expect To See?:  The Weather Patch continuously adjusts the visibility during qualification or race.  Sometimes the visibility will be very good while at other times, it can be quite poor.  Be careful when the visibility is poor as the track surface can be very slippery.

Replays:  The patch works during replays.  All the replay buttons such as fast forward, pause, .etc, and the time slider work normally and the visibility is automatically updated although it make take a few seconds to adjust.  If your replay includes qualification and race segments, the patch automatically adjusts.  You can use a saved replay as well as the normal qualification/race replay screen.

Other Notes:

1.  If you enter and exit your car or use the replay time change features, elapsed time and visibility may no longer be in real time.  Press the "Live Feed" button to synchronize the display.  This is not a bug with the patch, but is a feature of GPL.
2.  To minimize possible frame rate degradation, visibility changes are purposely limited to twice per second.  This may create a slight flickering effect when the visibility is worst.  
3.  The Fog Effect is always active so it may obscure the horizon at some tracks.  Some tracks have a distant horizon which makes them more susceptible to the effect.  Tracks with closer horizons, such as Monaco, are not obscured as much.
4.  Do not use the Weather Patch at the same time as the Night Patch as the two patches are not compatible with each other.
5.  The online server does not have to be patched for the Weather Patch to work.

Attached Files


Edited by Lee200, Mar 26 2017 - 07:38 AM.


#2 Claudio Pablo Navonne

Claudio Pablo Navonne

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 190 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina
  • Sim interest:GPL

Posted Mar 26 2017 - 07:53 AM

Thanks!!!

#3 twinpotter

twinpotter

    Richard "Dick"Seaman

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 1,472 posts
  • Gender:Male
  • Location:leeds,England
  • Interests:Motor Racing
    Motorbikes
    computer gaming-
  • Sim interest:GPL

Posted Mar 26 2017 - 08:41 AM

Thanks Lee and all concerned for this patch !
Again another wonderful add on :clap:

PS: Does the weather also hinder the AI as well as yourself (offline) ?

Thanks again :thumbup:

TP:

#4 Fat Rich

Fat Rich

    Lazy Blipper

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 772 posts
  • Gender:Male
  • Location:Fallen out of the Karussell again
  • Interests:GPL has got me by the throat and won't let go.
  • Sim interest:GPL

Posted Mar 26 2017 - 09:52 AM

Wow! Looks amazing

A big thank you to all involved :thanks:

#5 John Woods

John Woods

    Be Somebody

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 2,470 posts
  • Gender:Male
  • Interests:Too Much Fun
  • Sim interest:GPL

Posted Mar 26 2017 - 10:30 AM

Thank you Lee for this patch, Stefan for the movie, and everyone who helped out.

Need some new words like ultrabrilliant, superamazing...

Leefantastic!


:D

Edited by John Woods, Mar 26 2017 - 10:31 AM.


#6 Lee200

Lee200

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,525 posts
  • Gender:Male
  • Sim interest:GPL

Posted Mar 26 2017 - 11:25 AM

View Posttwinpotter, on Mar 26 2017 - 08:41 AM, said:

PS: Does the weather also hinder the AI as well as yourself (offline) ?

Read Post #1.  :)

#7 twinpotter

twinpotter

    Richard "Dick"Seaman

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 1,472 posts
  • Gender:Male
  • Location:leeds,England
  • Interests:Motor Racing
    Motorbikes
    computer gaming-
  • Sim interest:GPL

Posted Mar 26 2017 - 11:34 AM

As the visibility decreases, so does the track surface grip to simulate a wet track.  Also, the AI will slow down.

"MISS READ THAT LEE" :hithead:

TP:

Edited by twinpotter, Mar 26 2017 - 11:35 AM.


#8 JonnyA

JonnyA

    Perry McCarthy

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 588 posts
  • Gender:Male
  • Location:Dorset, UK
  • Interests:Historic motor sport, sailing, astrophotography
  • Sim interest:GPL

Posted Mar 26 2017 - 11:40 AM

Thanks Lee!

#9 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 879 posts
  • Gender:Male
  • Location:Hungary
  • Interests:"I am a semi-professional race car driver AND an amateur tattoo artist."
  • Sim interest:GPL

Posted Mar 26 2017 - 12:30 PM

Thanks Lee!

#10 Arturo Pereira

Arturo Pereira

    Denny Hulme

  • Moderator
  • 862 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina
  • Sim interest:GPL

Posted Mar 26 2017 - 12:43 PM

Thank Lee!!! :)

#11 Lord

Lord

    Mr. Broken Gearbox

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 175 posts
  • Gender:Male
  • Location:Latina, Italy
  • Interests:Formula 1, Football (Soccer), Grand Prix Legends and rFactor
  • Sim interest:GPL

Posted Mar 26 2017 - 01:34 PM

I wonder if it can be perfected to randomly (and on-the-fly) put haze, heavy rain, normal rain and clear sky: that would be the nail it needs IMHO :)

#12 Lee200

Lee200

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,525 posts
  • Gender:Male
  • Sim interest:GPL

Posted Mar 26 2017 - 02:52 PM

View PostLord, on Mar 26 2017 - 01:34 PM, said:

I wonder if it can be perfected to randomly (and on-the-fly) put haze, heavy rain, normal rain and clear sky: that would be the nail it needs IMHO :)

I don't understand.  It already randomly varies the visibility from very good to very bad.

Now if you are talking about displaying actual raindrops, that is something that can be done, but it requires using modified track .3DO files.  Wet Spa and Wet Mosport are good examples where the track maker has modified the track .3DO file to add raindrops.  I've looked into automatically doing this with a patch, but it's probably impossible to do as the track .3DO file structure is extremely complex.

#13 Brian Speake

Brian Speake

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Herefordshire, UK
  • Interests:Rugby
  • Sim interest:GPL

Posted Mar 26 2017 - 02:56 PM

Many thanks for the update.

#14 Jim Pearson

Jim Pearson

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 130 posts
  • Gender:Male
  • Location:Down Under
  • Interests:Trackmaking, Bike Road Racing, Links Golf, Long Distance Walking.
  • Sim interest:GPL

Posted Mar 26 2017 - 11:57 PM

Excellent!  :wave:

#15 Roo

Roo

    Jim Clark student

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 296 posts
  • Gender:Male
  • Location:France 77
  • Interests:climbing
  • Sim interest:GPL

Posted Mar 27 2017 - 12:54 AM

amazing, thanks Lee :)

#16 marco lenarduzzi

marco lenarduzzi

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 217 posts
  • Gender:Male
  • Location:brome lake Quebec, Canada
  • Interests:racing sims,cars, F1,cooking,skiing
  • Sim interest:GPL

Posted Mar 27 2017 - 03:07 AM

This is amazing ! Thank you Lee and all concerned !  :thumbup:

WOW ! Just watched the video on Youtube. The effect is stunning and that was some great racing too. :)

Edited by marco lenarduzzi, Mar 27 2017 - 03:26 AM.


#17 Lord

Lord

    Mr. Broken Gearbox

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 175 posts
  • Gender:Male
  • Location:Latina, Italy
  • Interests:Formula 1, Football (Soccer), Grand Prix Legends and rFactor
  • Sim interest:GPL

Posted Mar 27 2017 - 05:28 AM

View PostLee200, on Mar 26 2017 - 02:52 PM, said:

View PostLord, on Mar 26 2017 - 01:34 PM, said:

I wonder if it can be perfected to randomly (and on-the-fly) put haze, heavy rain, normal rain and clear sky: that would be the nail it needs IMHO :)

I don't understand.  It already randomly varies the visibility from very good to very bad.

Now if you are talking about displaying actual raindrops, that is something that can be done, but it requires using modified track .3DO files.  Wet Spa and Wet Mosport are good examples where the track maker has modified the track .3DO file to add raindrops.  I've looked into automatically doing this with a patch, but it's probably impossible to do as the track .3DO file structure is extremely complex.

No man, I wasn't talking about that: I'm sorry if I didn't get the message out clearly enough.
What I'm talking about is since it will already shuffle between haze and heavy, normal and light rain, I thought it would be the cherry on the top if it could shuffle between clear sky and all of the said conditions: in this way it would be a more complete package, at least from where I'm seeing it. I'm not at all bashing on you or your work, mind you, but just asking if there is room for some further improvements down the line by you or someone else who wants to look at the actual code and how it works with GPL. I'm asking that because I've tested the patch for a while and it didn't ever display a sunny/clear weather after all the possible conditions were shuffled through.
I'm not asking for actual raindrops "GP4 style" since it will be objectively a mess: 3DOs have followed very different "standards" in almost 20 years of development, so it would be impossible without checking every single track out there. It would be something to be remembered for the ages, but it's like landing a man on Pluto as of the available tech and time ^^;

#18 Clutch

Clutch

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 180 posts
  • Sim interest:GPL

Posted Mar 27 2017 - 05:54 AM

Good work as ever Lee and thanks for adding more dynamics to this brilliant game.

The video looks superb!

#19 Lee200

Lee200

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,525 posts
  • Gender:Male
  • Sim interest:GPL

Posted Mar 27 2017 - 07:06 AM

View PostLord, on Mar 27 2017 - 05:28 AM, said:

What I'm talking about is since it will already shuffle between haze and heavy, normal and light rain, I thought it would be the cherry on the top if it could shuffle between clear sky and all of the said conditions: in this way it would be a more complete package, at least from where I'm seeing it. I'm not at all bashing on you or your work, mind you, but just asking if there is room for some further improvements down the line by you or someone else who wants to look at the actual code and how it works with GPL. I'm asking that because I've tested the patch for a while and it didn't ever display a sunny/clear weather after all the possible conditions were shuffled through.

As mentioned in the notes, it's not possible to have a completely clear sky as the fog effect is always active.  So even at extremely low density values, the distant horizon including the sky will be obscured somewhat.  The effect differs from track to track.  Many tracks have a distant horizon which will always be obscured while some tracks, such as Monaco, have a closer horizon and aren't obscured as much.

Even if it were possible, I don't think a completely clear sky is realistic for a weather patch as typically rain and fog don't go from pea soup conditions to unlimited visibility in a short time.

There were several technical challenges that had to be overcome for the patch.  Getting it to work well offline was relatively easy, but ensuring that all online players see the same fog density at the same time, but still using random changes for variety was tough.  As you know, online player can join the server at different times which greatly complicates things.

I also spent several days trying to get the cars to display spray behind the tires.  I succeeded in getting one or sometimes two cars to do this and it is a cool effect, but I couldn't get all cars to do so.  :wshI:

#20 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 1,932 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Mar 27 2017 - 07:26 AM

Another great patch, Lee!
Ok when I call you the "Magic Patch Machine" from now on. ;)


Thx to all for the positive feedback on the movie. Nice that you like it. :)


View PostLee200, on Mar 27 2017 - 07:06 AM, said:

I also spent several days trying to get the cars to display spray behind the tires.  I succeeded in getting one or sometimes two cars to do this and it is a cool effect, but I couldn't get all cars to do so.  :wshI:

Maybe one day it might be possible.
It is good to know that it is possible at all....even just for 1-2 cars atm. :)

Edited by Stefan Roess, Mar 27 2017 - 07:27 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Sim Racing Links