some water

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Aug 25, 2012 at 14:28

just showing some water off. its just reflecting the sky, thats all you need to get that cool sun beam across it. its actually scrolling perlin noise, each octave scrolls a different direction, then you just have to tune the frequency and amplitude, the more bass the octave the faster it scrolls… i wish I had a little movie of it, its pretty cool.

to make it perfect i guess all it needs is some fog factor for how close to vertical the refraction angle is.

waterya.png

4 Replies

Please log in or register to post a reply.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Aug 25, 2012 at 16:37

here it is slighly bugfixed, ive got no idea what sides of the skybox are reflecting correct. :) as you can see im making this little flight sim, but ive gotten bogged down when i worked out my instancing was terrible and i should have had way more planes than i was getting.

im not sure what ill do, but adding the water underneath was fun.

waterbaby.png

B20d81438814b6ba7da7ff8eb502d039
0
Vilem_Otte 117 Aug 25, 2012 at 22:17

Ok, it looks good - but in case you would like to try some better simulation for ocean water - I can give off my LibOcean library for a test or two - it’s used for simulating ocean water with FFT (basically it was a semestral school work) but it works and isn’t as slow as one could think. I thought of building an OpenCL version before, but well it’s pretty fast in naive C right now.

Would you like to give it a try? (If you do, just post a target system for you and I’ll build a .so or .dll for you with description) :)

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Aug 26, 2012 at 04:45

Thanks man.

Does your library just plug straight in and work? Have you any youtube videos or screenshots of the waves? If the wave shapes are realistic Im interested.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Aug 26, 2012 at 14:15

finally got the clouds to reflect properly, and now ive got this great white sun ball that never leaves the view no matter how you try to escape it! :)
sunball.png