UnitZeroOne

Avatar

A blog written by Ralph Hauwert, freelance front-end developer, specialized in rich internet applications, games and visualisation.

Papervision3D + Water Simulation = Waterballs

Waterball 2

You always have projects lying around that are to be finished…but probably never have the time for…

Today Exey Panteleev posted some creative use of Papervision3D and the Shaders in 2.0. Accompanying to his post he asked if it would be possible to run water simulation with Papervision3D….

Actually, yes…
Water Ball Experiment 1 Water Ball 2(cpu burner alert!)

As one of those things I never finished and probably don’t have time to finish within the next month or so, I have two examples of Papervision3D running interactive water on top of a sphere.

Disclaimer : these things are hacked together experiments from a couple of months ago…as a result performance isn’t to good. I’m sure that given some time they can run smooth, without burning your cpu to the ground. Hope you enjoy anyway ;-)

Digg, StumbleUpon, Slash and others: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • StumbleUpon
  • Slashdot
  • Technorati
  • blogmarks
  • BlogMemes
  • Ma.gnolia

Pssstt..Adobe…MAKE SOME NOISE!

Adobe, make some noise!

Digg, StumbleUpon, Slash and others: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • StumbleUpon
  • Slashdot
  • Technorati
  • blogmarks
  • BlogMemes
  • Ma.gnolia

Papervision3D : Cut any mesh into 2 new meshes. (source).

Halved Sphere Example

A nice addition to the Papervision3D code base. With the latest repository version of Papervision3D 2.0 / GreatWhite, it is possible to cut any TriangleMesh into half. Here’s how :

var meshes:Array = MeshUtil.cutTriangleMesh(triangleMesh, cuttingPlane);

Where the cutting plane is a Plane3D and the triangle mesh is any object with it’s own triangle geometry, including for instance ASE, DAE, MD2 or Collada, but also all primitives.

Here’s an example source for download : Mesh Cutting sources

Digg, StumbleUpon, Slash and others: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • StumbleUpon
  • Slashdot
  • Technorati
  • blogmarks
  • BlogMemes
  • Ma.gnolia

Search

Projects & Work

A selection of current work

Advertising