rouncer at August 25th, 2012 10:28 — #1
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.
rouncer at August 25th, 2012 12:37 — #2
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.
vilem_otte at August 25th, 2012 18:17 — #3
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)
rouncer at August 26th, 2012 00:45 — #4
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.
rouncer at August 26th, 2012 10:15 — #5
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!