Title: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 26, 2012, 08:00:32 AM http://www.moddb.com/games/arcane-worlds (http://www.moddb.com/games/arcane-worlds)
1: Check it out. 2:tell me how great the water physics are ( ::) ). 3: debate. When I saw this I thought: WOW. These waterphysics no matter how much water I placed, it didn't decrease my FPS. I was wondering if paul could figure out how to make such water physics, it looks blocky though so it might fit into Mythruna with enough research. Give it some thought, and tell me what you think. If you create a downwards hill of water, you can see the water moving DOWN (foam) and it looks aweshum. perfect for water-falls. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 26, 2012, 09:19:01 AM It looks interesting. Mythruna water might be able to make waves like that but I don't think we'll know because I'm not sure I'll test shooting water blocks. :)
I have the basic flowing water model designed. The water falls in Mythruna will actually be streaming water, though... and cascade down the rocks and placed objects. The hardest part of Mythruna water physics is dealing with the user-placed objects. And basically, water would be pretty lame if users couldn't place objects to divert the flow. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: FutureB on March 26, 2012, 12:00:24 PM that idea about water is rather cool, being able to splash people ect. with flowing water will there be a current that will pull you depending on how big strong/ small and little the river is?
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: randomprofile on March 26, 2012, 12:02:25 PM That engine likes nice... but I find it hard to imagine Mythruna with those kind of physics... infact I kind of don't like the HD textures we have now... since block detail >= texture detail. but that's just my opinion .
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 26, 2012, 12:18:37 PM that idea about water is rather cool, being able to splash people ect. with flowing water will there be a current that will pull you depending on how big strong/ small and little the river is? I strongly want to have current. I think for rivers it will be possible because I'm modeling them differently than regular bodies of water. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: randomprofile on March 26, 2012, 09:40:00 PM Yeah, I do too... it would be pretty cool to make a raft and float down the river with it :D but wouldn't that be mind boggling hard?
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 27, 2012, 06:29:00 AM Yeah, I do too... it would be pretty cool to make a raft and float down the river with it :D but wouldn't that be mind boggling hard? Not necessarily. In the current design, rivers are modeled as separate connections between bodies of water. They are simpler versions of water falls (and in fact in the current design they are no different than waterfalls). The links between the larger bodies of water have the information of the path. This theoretically lets me know how fast a body of water is being filled and emptied as well as being able to let it drain if the feeding rivers are blocked, or cut off, etc. If all of that is possible then the flow is easy to determine (though not necessarily easy to draw). But even purely block water could have a current... after all, even minecraft has current. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 27, 2012, 07:13:54 AM So what are you making? Real-time water or blocky/slow movement Minecraft water ;) .
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 27, 2012, 07:43:41 AM So what are you making? Real-time water or blocky/slow movement Minecraft water ;) . Somewhere in between. I'm trying to generalize it to a sort of fluid dynamics... but for performance reasons, I'm doing block-style water for the bodies of water and fake fluid "pipes" for the connections between them. We'll see if it actually works, though... things get weird when fluid pipes are close enough to become bodies. But overall this method seems to simplify some things. ...generalized it should let me model smoke and spreading heat/fire, also. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 27, 2012, 02:14:12 PM Steam engines and moar are possible then?! Steam punk YEA! *mines coal*... "Hmm..." *mines copper for pipes/boiler/steam release pipes*. "AHA!" *creates a furnace*... "Like a boss." *makes a steamboat* "Onwards we go into the deep abyss! Or is that submarines... O.o" *creates a submarine* "Onward we go into the REAL deep abyss! :D!".
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 27, 2012, 03:15:08 PM Steam engines and moar are possible then?! Steam punk YEA! *mines coal*... "Hmm..." *mines copper for pipes/boiler/steam release pipes*. "AHA!" *creates a furnace*... "Like a boss." *makes a steamboat* "Onwards we go into the deep abyss! Or is that submarines... O.o" *creates a submarine* "Onward we go into the REAL deep abyss! :D!". Medieval fantasy setting with a magic-oriented steam punk vibe is what I'm targeting... so yeah. :) Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 28, 2012, 12:44:02 PM Medieval fantasy setting with a magic-oriented steam punk vibe is what I'm targeting... so yeah. :) :O You just blew my mind. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: randomprofile on March 28, 2012, 07:09:53 PM Well... so submarines SHOULD be possible to make?
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 28, 2012, 09:32:26 PM Well... so submarines SHOULD be possible to make? In theory. The only problem I have so far (in design) with submarines and boats is that the surface of a body of water will still be drawn inside the boat. A body of water doesn't deflect just because there is a boat in it (it would be pretty intense having to regenerate the geometry every time the boat moved) and I haven't quite thought of a solution that I like for masking the surface. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 28, 2012, 11:46:06 PM Instead of making a submarine having many sides, make it square on the outside on your first test with a sub. Then give it more faces and round out some edges. Finally pick the best performance wise/good looking rounded out submarine for water to generate around for optimal performance. Remember to try it out with multiple submarines to get performance differences with how many sides the water has to generate while you are moving in water to see fps drops. Also if you opened the hatch in a sub under-water would it fill the inside and sink? That would be cool for pirate ship fights.
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: randomprofile on March 29, 2012, 03:20:31 AM Well, isn't that a bit hard? and another idea, Paul. If you want currents... Why not simulate a round world... where if you reach one edge you pop up on the other side :D Why not copy the awesome design we have now :D (Earth) jkz. But, Paul didn't your plan include dynamic water... where if you built a damn, the water would find another way to go?
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 29, 2012, 06:28:22 AM Well, isn't that a bit hard? and another idea, Paul. If you want currents... Why not simulate a round world... where if you reach one edge you pop up on the other side :D Why not copy the awesome design we have now :D (Earth) jkz. But, Paul didn't your plan include dynamic water... where if you built a damn, the water would find another way to go? Dams would effect flowing water... ie: the rivers/streams between bodies of water. If you put a dam in a body of water then it doesn't really do anything but sit there. @Moonkey, it's not me making the submarines... it would be the players. I do plan to determine if objects are water tight because I'd like ships to sink if they have holes in the bottom... I'm not sure I'll be able to do it, though. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on March 29, 2012, 09:08:35 AM Maybe, maybe not. Dams would be nice... Maybe when you have water-falls, have a splash effect when it goes down? Like a mist effect? (Mass effect >:D). From what that demo (IF YOU PLAYED IT) shows, there IS blocky water. Are you planning to do what was in that tech demo of arcane worlds?
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: pspeed on March 29, 2012, 09:42:01 AM Waterfalls will splash... at least that's the idea. If you plop a large object under a waterfall then it should divert.
A waterfall is designed to be treated like a horizontal jet of water. The force of the jet being determined by the current flowing into it. The physics engine will be used to roughly determine where the water would "fly" and map out the cascading. The arcane thingy demo video looked like the water was gridded in x,y space but otherwise was using some kind of isometric surfacing. I don't remember seeing a case where a blob of water was floating in the air... which may indicate that the water is just a grid of water heights that are then turned into a nice smooth mesh. Mythruna water won't work that way. I'd like to be able to support jets of water shooting straight into the air. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: BenKenobiWan on March 29, 2012, 11:49:37 AM Also if you opened the hatch in a sub under-water would it fill the inside and sink? That would be cool for pirate ship fights. IMO, that would be necessary for pirate ship fights. Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: randomprofile on March 30, 2012, 12:03:21 AM Torpedo's away :D
Title: Re: Water physics demonstration. (Not in-game Mythruna(If you got your hopes up)) Post by: Moonkey on April 02, 2012, 07:31:00 AM Quote from: BenKenobiWan link=topic=660.msg3391#msg3391 date=1333046977 IMO, that would be necessary for pirate ship fights. [/quote Not in Garry's mod. |