Water in sandy

Frustum clipping is a feature once unique to sandy engine, that allows you to chop parts of some mesh off without modifying it. The cool thing is that you can enable or disable this feature per object, which makes it possible to simulate scenes with simple intersections, such as scenes with things in water:


Sandy water experiment

At the moment of writing, sandy still does not allow us to define custom clipping planes, so we have to modify one of frustum planes to achieve this effect. Full sources for this demo are available for interested people.

I used hexagon primitive by Yaniv Pe’er to model the island instead of plane primitive; the reason to do so is discussed here.

2 Responses to “Water in sandy”

  1. 1 greg February 26, 2009 at 19:45

    Thanks for the post, great blog but please get rid of those snapshots popups!

  2. 2 makc3d February 26, 2009 at 22:46

    Done. I was almost thinking this can’t be disabled, but finally found the checkbox now.

Ask a Question

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Old stuff

December 2008
« Nov   Jan »

Oh, btw…

%d bloggers like this: