This example requires a browser that supports the HTML5 <canvas> feature.

Deforming geometry vertices with the morphGeometry node

In this example we're copying the vertex positions of a teapot node, multiplying them by a sine wave, then wrapping the teapot in a morphGeometry that uses the new postions as a target.


We're then animating the morphGeometry 'factor' attribute in the render loop to peform the morphing.


Log