Elvas Tower: Build A Better Skydome - Terragen 2 ? - Elvas Tower

Jump to content

  • 20 Pages +
  • « First
  • 17
  • 18
  • 19
  • 20
  • You cannot start a new topic
  • You cannot reply to this topic

Build A Better Skydome - Terragen 2 ? Rate Topic: -----

#181 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,447
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 22 January 2023 - 04:13 PM

Joseph, Scott -- scottb613 -- recently uploaded some improvements they made for streams, lakes and rivers...I think it's in the threads if you search for them. I'm using them on some routes and it makes an improvement. Globally for OR - afaik - there have been no code changes for water in the main branch of OR.

edit -- I searched and found it--- scottb613 uploaded some water textures to the library. "ORTS Water Textures"

Path is >>>

#182 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 985
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 22 January 2023 - 04:54 PM

Hi James,

Do you think you could look into adding 2d Lightning effects for ORTS using the information found here?

https://gamedevelopm...s--gamedev-2681

This would greatly add to the desert rail routes, since the lightning can be very intense in such a hot try environment.

Thanks

Robert

#183 User is offline   ErickC 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,004
  • Joined: 18-July 17
  • Gender:Male
  • Location:Hastings, MN, US
  • Simulator:ORTS
  • Country:

Posted 22 January 2023 - 06:52 PM

Howdy - I have some responses to comments in this thread but don't really want to dig through them to create quotations, so I will post my thoughts here.

1. I am very glad we're talking about ways to implement a more realistic sky!

2. On the subject of thunder and lightning - I already have a thunderstorm SMS available in navs_env.zip - at the moment, you have to substitute them for the rain SMS files, but I consider them up for grabs (public domain) if the community wants to use those environment sounds as a basis for this. At the moment, there are two thunder streams, one with distant thunder effects and one with close thunder effects, both set to go off at random. There are wind and rain effects in other streams. I had the idea that loading up stormy weather could load up storm_in.sms and storm_ex.sms if present, and the rain ones if not.

3. On the subject of 3D clouds - yes, it's an art-intensive process, but I'd be more than happy to build some shapes and I'm sure others would be as well. What if we use an extensible system whereby all cloud shapes in a folder are loaded at random without respect to an individual filename? Then the number of 3D clouds can grow organically as more are built. You could start with one or two and then the amount of variety increases as the community builds more. Scott, since you've been rendering skydomes, would you consider the idea of rendering textures for individual cloud sprites? Then I could use the sample FS2004 clouds as a guide for building at least a couple cloud shapes.

If we did sprite clouds, what would the shapes/hierarchy look like? Maybe the top node can be a dummy, and each sprite can be a simple 2D plane with the name "spritexxx" where "xxx" is a number? Maybe the sim could recognize that node name as a sprite?

I also have some general observations:

1. In a rail simulator, a lot of the problems with 3D clouds that exist in a flight simulator aren't really a major consideration because you're not flying through them. I am not sure we'd actually need sprite-based clouds at all. Let's say each cloud shape consisted of a flat base that covers the whole cloud (kind of like the current cloud dome), with fixed geometry constructed like the FS2004 sprites fleshing out the space above it? When the cloud is directly overhead, you'd just see the bottom, and as it passes further away, you'd start to see the top-level geometry. Considering how OR batches drawcalls, I suspect this might be more efficient as multiple clouds could effectively become a single draw as opposed to a bazillion sprites. Then 2D distant clouds like the Railworks example above can fill in the clouds in the distance.

2. I think we only really need 3 cloud layers - we can have a flat layer for stratus clouds that basically functions like the current cloud dome, then a layer of 3D cumulus clouds, then a top cloud dome with cirrus clouds.

If we wanted to experiment with maybe some basic spriteless 3D cloud shapes - I could probably build a couple in not too much time using the FS2004 sample cloud artwork just as a proof-of-concept. A whole bunch of sample cumulus clouds and the textures came with the FS2004 gamepack:

Attached Image: cloud00.JPG

Just for the fun of it, I built a quick-and-dirty cumulus cloud using my "fixed geometry" idea - it's 6 planes:

Attached Image: clouds01.JPG

Viewed from below here. Not the greatest cloud shape by any means, but it was made in about 3 minutes - if the cloud bases obscured the upper-level geometry enough, it'd probably look fine from the ground. As a size comparison, I went ahead and dropped my 70-tonner in the scene:

Attached Image: clouds03.JPG

Food for thought - if we can get a half-decent set of textures going, I think we could build up some pseudo-3D clouds without too much time and effort.

Attached Image: clouds04.JPG

Same cloud viewed from the side - the tiny black dot at the bottom center of the image is the 70-tonner. The cloud base measures about 15,000 feet across - given how big the cloud shapes are, we can cover a lot of real estate with a few simple models, a ring of distant clouds like in the Railworks example above, and a flat layer of cumulus "film" below. Add in a stratus layer and a cirrus layer - and you've got a dynamic sky without using a whole lot of resources like sprites would!

#184 User is offline   PerryPlatypus 

  • Fireman
  • PipPipPip
  • Group: Access 1 Open Rails Forums
  • Posts: 194
  • Joined: 13-January 10
  • Gender:Male
  • Location:Spokane, WA
  • Simulator:Open Rails
  • Country:

Posted 22 January 2023 - 09:49 PM

I am consistently getting crashes on Mullan Pass still with these recent Unstable versions. No crashes with the last Stable version.

Log file attached.

What exactly is the OR code now looking at from the ENV folder that it was not looking at before?

Attached File(s)



#185 User is offline   Jovet 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 2,250
  • Joined: 14-January 08
  • Gender:Male
  • Location:Omaha, Nebraska.
  • Simulator:MSTS/Open Rails
  • Country:

Posted 23 January 2023 - 09:50 AM

View PostR H Steele, on 22 January 2023 - 04:13 PM, said:

edit -- I searched and found it--- scottb613 uploaded some water textures to the library. "ORTS Water Textures"
Hey, thanks!


#186 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 24 January 2023 - 02:37 PM

View Postrailguy, on 22 January 2023 - 09:07 AM, said:

Maybe a workable option to choose a skydome would be to house a variety of skydome (and maybe cloud files) in the OpenRails content folder, and allow the user to select what file to load from a drop-down list like a user chooses an activity. Alternatively, create a place in the .act file for the activity creator to select what skydome file to load when the activity runs, similar to selecting what weather and precipitation will be used at the start of the activity. And, to be really fancy, include the ability to transition to a different skydome during an activity using a weather change event entry in the .act file.

The sky and clouds will be chosen based on weather parameters; we may well be adding more presets than the simple clear/rain/snow options and any new options will need to be supported elsewhere (activity, weather file)

View PostGenma Saotome, on 22 January 2023 - 11:58 AM, said:

Start at the top, stop when you find a skydome reference.

There might be scope for this later on, after I've analysed the current sky colour issues, but I am not expecting to implement a full sky/cloud dome replacement from content like the Railworks example (that's what the MSTS environments is for)

Instead, content may get the option of overriding the colour choice for e.g. clear sky, sunset, etc., but I want to emphasise that the detail has not been figured out yet

View PostJovet, on 22 January 2023 - 02:55 PM, said:

Is there ever any hope of more-realistic water in Open Rails?

Yes, there is hope. I've love for it to happen but currently I'm looking up to the sky :)

View PostSP 0-6-0, on 22 January 2023 - 04:54 PM, said:

Do you think you could look into adding 2d Lightning effects for ORTS using the information found here?

https://gamedevelopm...s--gamedev-2681

This would greatly add to the desert rail routes, since the lightning can be very intense in such a hot try environment.

This is really interesting, thank's for sharing! :sign_thanks:

I did come across the Köppen climate classification and similar things recently, which would potentially give us two things:

  • An inhabited Earth-wide classification of the climate
  • A taxonomy for routes to specify a climate

We already have some basic code to check for latitude/longitude inside a "desert zone" to change the built-in behaviour of the weather, so it might be good to expand that based on a climate classification system

View PostErickC, on 22 January 2023 - 06:52 PM, said:

2. On the subject of thunder and lightning - I already have a thunderstorm SMS available in navs_env.zip - at the moment, you have to substitute them for the rain SMS files, but I consider them up for grabs (public domain) if the community wants to use those environment sounds as a basis for this.

Thanks, it is really useful to have options like this!

View PostErickC, on 22 January 2023 - 06:52 PM, said:

3. On the subject of 3D clouds - yes, it's an art-intensive process, but I'd be more than happy to build some shapes and I'm sure others would be as well. What if we use an extensible system whereby all cloud shapes in a folder are loaded at random without respect to an individual filename?

It seems reasonably likely at this point that we'll be wanting to do this even for textured skies; e.g. some kind of folder/naming convention for picking individual cloud textures (or parts of cloud textures?) depending on the layer and weather conditions

Definitely needs more investigation though into what we need exactly

View PostErickC, on 22 January 2023 - 06:52 PM, said:

2. I think we only really need 3 cloud layers - we can have a flat layer for stratus clouds that basically functions like the current cloud dome, then a layer of 3D cumulus clouds, then a top cloud dome with cirrus clouds.

That's an interesting point, we might only need some bits to be 3D (or have the appearance of 3D)

View PostErickC, on 22 January 2023 - 06:52 PM, said:

Food for thought - if we can get a half-decent set of textures going, I think we could build up some pseudo-3D clouds without too much time and effort.

These do seem pretty good for such a quick setup!

I'm going to try out some flat options first but we may nevertheless end up with 3D clouds

View PostPerryPlatypus, on 22 January 2023 - 09:49 PM, said:

I am consistently getting crashes on Mullan Pass still with these recent Unstable versions. No crashes with the last Stable version.

Log file attached.

What exactly is the OR code now looking at from the ENV folder that it was not looking at before?

View PostJames Ross, on 17 January 2023 - 01:22 PM, said:

The correct sunrise/sunset times come from the ENV file so changes were made to that code

It looks like your issue is different from the other thread, so I will prepare an additional fix for the MRL Mullan Pass crash (and any other route with similar data)

#187 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 26 January 2023 - 02:55 PM

View PostPerryPlatypus, on 22 January 2023 - 09:49 PM, said:

I am consistently getting crashes on Mullan Pass still with these recent Unstable versions. No crashes with the last Stable version.

I don't have the route, so I can't be 100% sure, but I believe this crash is fixed in Unstable Version U2023.01.26-2251

#188 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 985
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 29 January 2023 - 02:04 PM

Hi James,

Glad you found the link about the 2d lightning interesting. I will be looking forward to lightning in the future.

A couple other observations, A long time ago Robert Murphey had started to look into supporting more of the original MSTS .Env files. The MSTS compatible mode in ORTS still produces a weird cartoonish looking sky. What is the current status of those improvements to support more of the MSTS .env files?

Second,

Regarding rain and environmental effects. I'd like to see rain hitting the windows and the wipers removing the rain drops. I'd also like to see rain flowing down the windows in passenger view modes.

Maybe some of the needed coding can be adapted from the info here? Windscreen Rain

Rain 2

Raindrop effect pass view.

The rain on the passenger car windows is at the 2:06 mark.

Robert

#189 User is offline   PerryPlatypus 

  • Fireman
  • PipPipPip
  • Group: Access 1 Open Rails Forums
  • Posts: 194
  • Joined: 13-January 10
  • Gender:Male
  • Location:Spokane, WA
  • Simulator:Open Rails
  • Country:

Posted 01 February 2023 - 11:51 AM

View PostJames Ross, on 26 January 2023 - 02:55 PM, said:

I don't have the route, so I can't be 100% sure, but I believe this crash is fixed in Unstable Version U2023.01.26-2251


Sorry for the late reply. Yes, I have confirmed no crashes on Mullan now, thanks!

I did notice that the super-hyper bright Headlights and Sphere of Light on certain locomotives even in the middle of the day, turning the ground to a blinding white color, is back (not sure when that popped up, but it's not present in the latest Stable version). I am assuming that's nothing you've done related to the environment work per se, but since it plays into the whole lighting engine I thought I'd mention it.

#190 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 02 February 2023 - 02:38 PM

View PostSP 0-6-0, on 29 January 2023 - 02:04 PM, said:

A couple other observations, A long time ago Robert Murphey had started to look into supporting more of the original MSTS .Env files. The MSTS compatible mode in ORTS still produces a weird cartoonish looking sky. What is the current status of those improvements to support more of the MSTS .env files?

I am not currently planning any work on the MSTS environment support, but others are welcome to have a go - and maybe the updates I am making to the OR environment code will help

View PostSP 0-6-0, on 29 January 2023 - 02:04 PM, said:

Regarding rain and environmental effects. I'd like to see rain hitting the windows and the wipers removing the rain drops. I'd also like to see rain flowing down the windows in passenger view modes.

This is definitely a desirable feature, although I don't know if it would be possible to implement for existing models - it may need specific data adding to properly identify the window surfaces and how the wiper clears it

Something I'll keep in mind for the future

View PostPerryPlatypus, on 01 February 2023 - 11:51 AM, said:

Sorry for the late reply. Yes, I have confirmed no crashes on Mullan now, thanks!

Great, thanks for checking!

View PostPerryPlatypus, on 01 February 2023 - 11:51 AM, said:

I did notice that the super-hyper bright Headlights and Sphere of Light on certain locomotives even in the middle of the day, turning the ground to a blinding white color, is back (not sure when that popped up, but it's not present in the latest Stable version). I am assuming that's nothing you've done related to the environment work per se, but since it plays into the whole lighting engine I thought I'd mention it.

I don't believe any changes I've made here would do that, but good to highlight it, and you're right that it'll be included in the brightness / colours review after I am done with the wind

  • 20 Pages +
  • « First
  • 17
  • 18
  • 19
  • 20
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users