Mansoor,

The effect that comes on the N1/Droid is a pixel shader program
written using the RenderScript library.  There are several algorithms
to simulate fluid dynamics, which include but are not limited to:

1)  Radius ripples using a pixel shader
2)  Fluid dynamics either in a vertex shader or pixel shader or
calculated on CPU

If you don't know where to start, you'll want to check out a few
graphics programming books and opengl books.  I implemented a fluid
dynamics algorithm as a live wallpaper and called it live waterpaper.
It has a few issues at the moment (I haven't had any time to work on
it in months) but the algorithm works well.  It's a CPU-side fluid
dynamics algorithm which manipulates a grid of textured verts on a
full-screen perspective projection.  It's fairly convincing,
especially when using a watery texture like coral.

Start slow, get little things working and build your way up.  If you
stick with it long enough, you'll figure it out.

On Jul 8, 1:14 am, metal mikey <coref...@gmail.com> wrote:
> Ah, typical wipro employee...here's an idea: if you have no clue about
> IT, don't get a job in IT.
>
> Now, about the issue you mentioned above: apart from perhaps doing an
> IT degree whereby you learn how to learn, have a look for old
> javascript ripple effects and learn to port them to JAVA for Android.
> Also, please don't put any of your Apps on Android Market as there's
> already too much crap on there.
>
> On Jul 8, 3:02 pm, Mansoor <mansoor....@wipro.com> wrote:
>
>
>
> > hi treking,
> > i am expecting some technical advice to acheive ripple effect ...if
> > anyone know it please share..
> > Thanks and regards

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to