Author Topic: How to add water to your meshes (advanced)  (Read 15288 times)

0 Members and 1 Guest are viewing this topic.

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: How to add water to your meshes (advanced)
« Reply #15 on: May 01, 2017, 06:54:38 AM »
@RedKetchup  I was just struggling with that as well :P. I've found a way that works though :).

The trick is to adapt the mesh to make a turn, but to leave the UV channel straight. I'll show what I did:

I first separated my plane into several strokes (Here I did a few, but in the end it turned out that I needed much more. I subdivided them later). Make sure that the UV channel looks exactly the same (we're going to leave it that way).
http://i.imgur.com/5U39u1r.png
How to add water to your meshes (advanced)


Then I moved all the vertices on the left side of the plane to the same position, at the bottom of the square.
http://i.imgur.com/055wHaK.png
How to add water to your meshes (advanced)


After that I rotated the vertices on the right side 45 degrees, and moved and scaled them so that they form the long side of the triangle and that there's a 90 degrees angle in the lower left corner.
http://i.imgur.com/48lTnxZ.png
How to add water to your meshes (advanced)


Then I moved the vertices of the long side around to make it look like a nice quarter circle.
http://i.imgur.com/JU7RbcQ.png
How to add water to your meshes (advanced)


Here I tested it, and realised that it was not detailed enough; I could see clear edges in the water. So I used the option subdivide (I guess 3dsMax has a similar function?) to cut the triangles into multiple smaller ones. I had to increase the amount of triangles by a factor 3 (subdivide 2 times), resulting in a total of 27. In Blender this option automatically updates the UV map while still leaving it straight.
http://i.imgur.com/ElY8mJ6.png
How to add water to your meshes (advanced)


Then this is the result :)
http://i.imgur.com/7ptjScj.jpg
How to add water to your meshes (advanced)


Let me know if it works!
« Last Edit: May 01, 2017, 06:57:45 AM by Bartender »

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #16 on: May 01, 2017, 07:18:08 AM »
that was  kinda what i did but yeah i was seeing big edges in the water....
but i didnt re-subdivided again. i ll test again tonight but with a subdiv of 3 on top of it.


thanks you for your tests :)
will give news back tonight
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline Necora

  • Modders
  • Trader
  • *****
  • Posts: 488
Re: How to add water to your meshes (advanced)
« Reply #17 on: May 01, 2017, 05:01:26 PM »
That is pretty darn cool. Although I guess the riffle stuff is pretty redundant now. Hmm.

Offline QueryEverything

  • Advisor
  • Banished Expert
  • *****
  • Posts: 1063
Re: How to add water to your meshes (advanced)
« Reply #18 on: May 01, 2017, 05:06:35 PM »
That is pretty darn cool. Although I guess the riffle stuff is pretty redundant now. Hmm.

You bite your tongue!  pffffttttt Had to pounce this because many people will still use the Riffles, I see that there is definitely still a place for the mod - a very controlled placement is the first example, what I see as how I would use the above and yours is:
Create the larger area (like I was trying to achieve with the terraform by Kral) then fill it in with the Riffle mod, the nuances to it, and all the little riffles on the edges etc.

Definitely not redundant at all.    After all, I am still determined to get a backyard pond fishing spot made and we're 95% there now :D :D :D
~ QE, I query because I like learning new things. 

Banished pinterest & Banished mod ideas
(Gently) Please: if you download mods please rate them, this helps & encourages the modders. :)

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #19 on: May 01, 2017, 09:35:13 PM »
have riffles just below the water level and having see it moving cause the river game particles can be very cool, much more cooler than before :)
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline despo_20

  • Laborer
  • **
  • Posts: 44
Re: How to add water to your meshes (advanced)
« Reply #20 on: May 02, 2017, 03:06:19 AM »
Your riffles are amazing Necora! Close to the wheels of mills or near the rocks add a more realistic look!

About the little streams instead, can this new discovery be used to implement reflective water?
Is there a minimum size limit?

Offline Paeng

  • Banished Expert
  • *****
  • Posts: 1340
Re: How to add water to your meshes (advanced)
« Reply #21 on: May 02, 2017, 04:46:59 AM »
I guess the riffle stuff is pretty redundant now.

Nah, there's always use for surface water... and the turbulences are still way cool (sorry, can't get used to the term "riffles")...  :)
Heads are round so thoughts can take a turn
Editor's Choice here

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: How to add water to your meshes (advanced)
« Reply #22 on: May 02, 2017, 05:20:16 AM »
I have to second this, your riffles are amazing @Necora ! It would be a shame to stop development on them.

I personally feel that combining your idea of putting meshes and particles in the water with being able to add water to our meshes actually creates a huge potential! Imagine actual flowing water rapids going downhill, with riffles in them and the foaming particles at the bottom.. that would look amazing.

I definitely think that you could try to apply this material to your small streams, I'd be curious to see how it would turn out :).

Meanwhile, I'm doing some research into the interaction between the OpaqueInWaterMaterial and this new material.. perhaps that one can be used to make parts of meshes that are under the water appear more realistic without needing to do complicated stuff with the textures :).

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #23 on: May 02, 2017, 05:25:36 AM »
I have to second this, your riffles are amazing @Necora ! It would be a shame to stop development on them.

I personally feel that combining your idea of putting meshes and particles in the water with being able to add water to our meshes actually creates a huge potential! Imagine actual flowing water rapids going downhill, with riffles in them and the foaming particles at the bottom.. that would look amazing.

I definitely think that you could try to apply this material to your small streams, I'd be curious to see how it would turn out :).

Meanwhile, I'm doing some research into the interaction between the OpaqueInWaterMaterial and this new material.. perhaps that one can be used to make parts of meshes that are under the water appear more realistic without needing to do complicated stuff with the textures :).


i second that ! @Necora
riffles just below the water will make your riffles look amazing and really moving !

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline despo_20

  • Laborer
  • **
  • Posts: 44
Re: How to add water to your meshes (advanced)
« Reply #24 on: May 02, 2017, 05:33:13 AM »
It seems that the quote feature of this site doesn't work on my browser... but I totally agree with Bartender and Ketchup.
"Apply this material to your small streams" and "place the riffles just below the water" could give great results ;)

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #25 on: May 02, 2017, 05:35:13 AM »
It seems that the quote feature of this site doesn't work on my browser... but I totally agree with Bartender and Ketchup.
"Apply this material to your small streams" and "place the riffles just below the water" could give great results ;)

oh it will work when you ll get more posts ^^ at 3 posts or 5 ... i dont remember exactly the number ^^
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #26 on: May 02, 2017, 05:37:42 AM »
About the little streams instead, can this new discovery be used to implement reflective water?
Is there a minimum size limit?

i dont fully understand the question .... but i dont think there is a limit size... it has the size of your plane you put in your mesh .... if you make a plane of 800x800 tiles.... it will be that big

if you make a "ghosted" plane as big as a small, medium, large map and since it is ghosted, you can build and live with it like if it never existed....
and hidden under ground at minus level -0,75 underground...


every time you will "dig" somewhere in the map, there will always be some water appear wherever you dig ^^
« Last Edit: May 02, 2017, 05:43:18 AM by RedKetchup »
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline embx61

  • Modders
  • Banished Expert
  • *****
  • Posts: 1831
  • You are always on my mind, Forever in my heart
Re: How to add water to your meshes (advanced)
« Reply #27 on: May 02, 2017, 06:00:16 AM »
Quote
oh it will work when you ll get more posts ^^ at 3 posts or 5 ... i dont remember exactly the number ^^

quote link/button ain't working for me either.
Not a big deal as I just copy the text I want to quote and type the quote BB code myself around it.
My beloved Kathy
As you were you will always be
Treasured forever in my memory


For my list of Mods with download links go here

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 11147
Re: How to add water to your meshes (advanced)
« Reply #28 on: May 02, 2017, 06:04:09 AM »
Quote
oh it will work when you ll get more posts ^^ at 3 posts or 5 ... i dont remember exactly the number ^^

quote link/button ain't working for me either.
Not a big deal as I just copy the text I want to quote and type the quote BB code myself around it.

really ?

and if you "reply" an open your box you type in....
scroll down after and click "insert quote" of someone ? doesnt work neither ?

are you using the default forum "appearance" "theme" or 1 of the dozens of theme provided ? (forum profile => look and layout thing)
« Last Edit: May 02, 2017, 06:07:22 AM by RedKetchup »
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Offline embx61

  • Modders
  • Banished Expert
  • *****
  • Posts: 1831
  • You are always on my mind, Forever in my heart
Re: How to add water to your meshes (advanced)
« Reply #29 on: May 02, 2017, 06:25:07 AM »
Quote
oh it will work when you ll get more posts ^^ at 3 posts or 5 ... i dont remember exactly the number ^^

quote link/button ain't working for me either.
Not a big deal as I just copy the text I want to quote and type the quote BB code myself around it.

really ?

and if you "reply" an open your box you type in....
scroll down after and click "insert quote" of someone ? doesnt work neither ?

are you using the default forum "appearance" "theme" or 1 of the dozens of theme provided ? (forum profile => look and layout thing)

Yeah, that works. ^^ :) Never thought about that one.

I just use standard Theme. I never changed it at least.
« Last Edit: May 02, 2017, 06:29:06 AM by embx61 »
My beloved Kathy
As you were you will always be
Treasured forever in my memory


For my list of Mods with download links go here