Elvas Tower: Animated river - Elvas Tower

Jump to content

  • 5 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Animated river A way to make water move in Openrails Rate Topic: -----

#31 User is offline   mrmosky 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 648
  • Joined: 02-October 16
  • Gender:Male
  • Location:Chasetown
  • Simulator:Openrails
  • Country:

Posted 13 August 2017 - 10:51 AM

Great work so far Garry. It looks like the semi-transparent layer was not solvable, but you had a good try at it.
Geoff

#32 User is offline   Jovet 

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

Posted 13 August 2017 - 12:46 PM

Glad the view sphere is ruled out. You might consider posting your files for others to play with. I would like to see your texture file, for one.

What happens when you substitute this texture file? (Simply rename it to the one your shape needs.)

If it's not the textures, then it sounds like an OR problem to me. I've seen OR do some weird things, but only with the "built-in" water. I've not seen regular shapes affected.

#33 User is offline   Garry 

  • Fireman
  • Group: Status: Active Member
  • Posts: 117
  • Joined: 09-March 15
  • Gender:Male
  • Simulator:Open Rails + TSRE5
  • Country:

Posted 16 August 2017 - 08:45 AM

I have attached a zip file containing my latest version of the animated river. The shapes are explained in the instructions file.
I have included a WaterTop.bmp file in the hope that someone else will have a go at it with more success.

My idea is that a flat 100 metre square with semi-transparent texture is placed just above the river bottom and moving river shapes. To aid in placing them I wanted to copy positon and rotation from the bottom shape.
Another improvement would be if the bottom shapes snapped together without overlapping. This would then do the same for the top layer, if these overlap there is a difference in transparency that shows up in OR.

Here's hoping.
Garry

Attached File(s)



#34 User is offline   mrmosky 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 648
  • Joined: 02-October 16
  • Gender:Male
  • Location:Chasetown
  • Simulator:Openrails
  • Country:

Posted 16 August 2017 - 10:42 AM

Hi Garry,

The textures for the moving river objects GP_WaterRiverA B and C are not included in your download.

Geoff
edit
Ah.. is that the reason you included the bitmap?
I see.
Geoff

#35 User is offline   Garry 

  • Fireman
  • Group: Status: Active Member
  • Posts: 117
  • Joined: 09-March 15
  • Gender:Male
  • Simulator:Open Rails + TSRE5
  • Country:

Posted 17 August 2017 - 07:22 AM

Hi Geoff
Hopefully GP_WaterRiverA B and C all use the same texture as GP_WaterBottom.s . This way the moving pieces (GP_WaterRiverA B and C) only show up as moving ripples as they travel just above the river bed.
The bitmap is what I used to create the semi-transparent top layer. This is the same ripple texture but a few shades lighter. The moving pieces show through this top layer.

Hopefully someone can get this to work as I intended.

Garry

#36 User is offline   Garry 

  • Fireman
  • Group: Status: Active Member
  • Posts: 117
  • Joined: 09-March 15
  • Gender:Male
  • Simulator:Open Rails + TSRE5
  • Country:

Posted 25 September 2017 - 05:41 AM

I have uploaded 2 sets of files for "Animated River" to UKTrainSim-- File ID 37242 and 37265.
They provide a bit of movement to a flat slow moving river.

The idea works, and could be modified with additional layers that would give different depths to the river for each season.
It might also be possible to make smaller shapes that could be used as a mountain stream, particularly if combined with a few rocks.
Garry

#37 User is offline   LeoCanhoto 

  • Hostler
  • Group: Status: Active Member
  • Posts: 54
  • Joined: 23-July 17
  • Gender:Male
  • Simulator:MSTS & ORTS
  • Country:

Posted 21 November 2017 - 03:08 AM

I liked it a lot! Great job.

#38 User is offline   Sanskar 

  • Apprentice
  • Group: Status: New Hire
  • Posts: 1
  • Joined: 21-November 18
  • Gender:Male
  • Simulator:msts
  • Country:

Posted 09 June 2020 - 03:43 AM

View Postmrmosky, on 30 July 2017 - 08:03 AM, said:

This is something that I have been playing with. It uses existing features in Openrails, and TSRE to make water move.
To start off with, here is a screenshot and a video.
Attachment river1.JPG


Video:
https://youtu.be/CT05mqTxPtg

The water looks better in the sim than in the video. Note the shadows of the trees on the water.
I have been asked to share the method I used, which I am happy to do. I wil upload the TSM source file for anyone who would like to experiment further.

So in the subsequent posts, the steps will be explained.

Geoff


COOL SUPER COOL

#39 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 09 June 2020 - 08:04 AM

Looks very good! I'm waiting for your explanations. :)

#40 User is offline   SVRy_Steve 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,995
  • Joined: 07-January 04
  • Gender:Male
  • Location:Chiloquin, OR
  • Simulator:OR
  • Country:

Posted 10 January 2023 - 06:23 AM

Great idea using the carspawner for moving water! I've been experimenting with this a bunch and found that you have to use an 8bit alpha to get good transparency. All of these look much better in motion, but I haven't a clue as to how to show this.

Here's a crystal clear stream.

Attached Image: next stage.jpg

Also, I made a large shape for a pond surface as an object. I don't have the texture just right, but it looks pretty good so far.

Attached Image: stream pond.jpg

Here's some murky water in a slow moving river.

Attached Image: muddy water river.jpg

I had a friend make me a basic shape that was designed to use 8bit alphas, which made all the difference, as this will allow a full range from clear to opaque.

  • 5 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 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