Jump to content

Ocean Water Envy


Guest Red Ocktober
 Share

Recommended Posts

Not sure if your in the UK Red Ocktober but I was just flicking through tv listings and at 9pm today on BBC Four "The secret life of waves", hour long documentary about ocean waves. Might be taking research a bit far, but I will have the tv on whilst on laptop.

Link to comment
Share on other sites

I've been incredibly jealous of other engine's detailed water. Even something that's similar to Crysis would be acceptable.

 

Can we have river nodes at least? It's been around for a while now...

 

Also, has anyone looked into the way Valve does it with flow-maps?

http://www.valvesoftware.com/publications/2010/siggraph2010_vlachos_waterflow.pdf

(Developed for L4D2 and used in Portal2)

Link to comment
Share on other sites

  • 4 weeks later...
Guest Red Ocktober

I've been incredibly jealous of other engine's detailed water. Even something that's similar to Crysis would be acceptable.

 

Can we have river nodes at least? It's been around for a while now...

 

Also, has anyone looked into the way Valve does it with flow-maps?

http://www.valvesoftware.com/publications/2010/siggraph2010_vlachos_waterflow.pdf

(Developed for L4D2 and used in Portal2)

 

well... talking about something similar to Crysis' water, Torque3D's just released 1.1 version comes pretty darn close...

 

foam on the shoreline... in the deep water... real displaced waves... nice looking textures...

 

here's a short clip of some scenes taken while i was running around their Pacific demo...

 

 

i'm not gonna bother asking Josh if we can get anything even close to this in 2.4, or 5... but i'm sure gonna hope that 3 compares to this...

 

that's all i'll need...

 

(oh yeah... i threw in a lil Cave and Lava envy frames at the end of the video :) )

 

 

--Mike

Link to comment
Share on other sites

i maed game.exe with my computer which can has like salty water and two balls but maybe make you seasick if you watch too long:

http://dl.dropbox.com/u/28057023/game.exe

 

game.pngI tell you this game called like LE3 vision kali ma shakti deh!

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

It's using a FFT shader, but it works only well on my PC.

On my Samsung Galaxy S2 it's too slow, so I have to make some mesh animated salty water instead for Android, which can use also perturbed UV's to make it look quite nice.

 

The balls don't actually collide with the water, but I put some simple Lua script in the ball model, which checks the water height at the ball's x,z position and adjusts the ball's y coordinate to the water height using the Curve() function, so the ball can also dive. However, the balls have also a physics sphere body so they collide at the beginning when the left ball hits the right ball, and then they move along the water from that collision force. They will stop after a long time, because the friction is set very low.

 

To make the physics work better, I will still need to make a logic so that the ball gets gravity 0 when it's y position is smaller than the water height at the ball's position. With zero gravity the balls can then travel freely under water, and I could also add some small force which pushes the ball a bit up in each frame.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I think you will, because Josh said he wants to make a FFT salty water shader also, the rest is just adjusting parameters to make it look good.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Is that even in Leadwerks?

52t__nvidia.png nVidia 530M cpu.gif Intel Core i7 - 2.3Ghz 114229_30245_16_hardware_memory_ram_icon.png 8GB DDR3 RAM Windows7_Start.gif Windows 7 Ultimate (64x)

-----

IconVisualStudio16.png Visual Studio 2010 Ultimate google-Chrome.png Google Chrome PhotoshopLinkIndicator.png Creative Suite 5 icon28.gif FL Studio 10 MicrosoftOfficeLive.png Office 15

-----

csharp.png Expert cpp.png Professional lua_icon.png Expert BMX Programmer

-----

i-windows-live-messenger-2009.pngskype-icon16.pngaim_online.pnggmail.pngicon_48x48_prism-facebook.pngtunein-web.pngyahoo.giftwitter16.png

Link to comment
Share on other sites

It's not yet in LE2, because I still need to figure out what texture slots and other GLSL stuff LE2 uses.

Would be nice if you could just use any GLSL shader in LE2, and maybe in LE3 it will be easier, but I think the main problem is that nobody has made a global standard for shader's textureslots yet, so everyone uses different slots.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Guest Red Ocktober

just took a look at the demo... verrry nice...

 

that would be great if we could get something similar that in LW...

 

 

--Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...