Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Simple Ripple Mesh Deformation in Unity3d

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,051
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 18, 2009

This is a simple ripple simulator that I wrote for Unity3d. It uses a very simple bitmap algorithm to simulate rippling water. (ie no complicated FFT or physics simulations) It isn't super realistic, but it is good enough. (and it is fast)

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (tauntingpanda)

  • Hello!This is really cool!

    The mesh deformation happens on the GPU or on the CPU?Do you use a normal script or a shader to deform it?

  • @tedchirvasiu The mesh deformation is entirely done on the CPU using a normal script. I am actually moving the mesh vertexes every frame. If you check the link in the description i provide the code. Cheers!

  • It is not technically a physics simulation, just a clever bitmask manipulation that is translated into a mesh deformation. So to answer both your questions: not very processor intensive really., should work on just about anything. If you wanted to do the same thing with 'proper physics' it would be very very expensive. (which is why I went the 'fake' route :-)

  • @tauntingpanda Is there anyway to get a download of this? Like a prefab, or a script? It would be hella awesome and much appreciated.

  • @mbe102 Check out my other video: ripple effect test in unity 3d, it has a link in the description to my blog where you can download it :-)

see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • TUTORIAL!!!!!!!!!!!!!!!!!!!!!!­!

  • @tauntingpanda How do you do bitmap manipulation in Unity? I'm looking to do something very similar.

  • @tauntingpanda how do you make water

  • I'm also interested in the Tornado Twins' question, and I do wonder if there's some way to incorporate it into simple physics...

  • nice looks cool

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more