PDA

View Full Version : water ripple



sklim
08-07-2010, 11:40 AM
halo everyone.. i need HELP here.. i wana create water ripple effect by using c++ with openGL library.. any sample source code for me?? and what step should i do first?? i totally no idea.. thanks for u guys..

sklim
08-09-2010, 11:35 PM
Emergency HELPPPPP!!! thanks for u guys....
or can give me any ideas?? like particle physic engine??
thanks..

ZbuffeR
08-10-2010, 03:14 AM
Your broad question does not have much to do with OpenGL.
http://stackoverflow.com/questions/665076/how-to-implement-water-ripples

Then it will depend on the level of realism you want, realtime or not, droplets or not, ...

sklim
08-11-2010, 09:33 AM
i need to do water ripple by using particle system with C++ and openGL library .. thanks..

ZbuffeR
08-11-2010, 09:37 AM
Use code I linked above.
Draw heightfield as a list of quads.
Done.

sklim
08-13-2010, 01:31 AM
Sorry, i din get what u means.. izit the code form 'OpenGL Project with Water Ripples (Source)'?? i cant get it.. Really sorry for inconvenient..

ZbuffeR
08-13-2010, 02:12 AM
If you looked around the sulaco.co.za site, you would have fixed the link yourself : http://www.sulaco.co.za/opengl_project_water_ripples.htm

Note this is almost 10 years old, but I hope it will help you anyway.

sklim
08-14-2010, 03:01 AM
ok..ok.. i download the code already, but not yet read..
Hopefulty it can help me.. Zbuffer, thanks a lot for ur help..