O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Morphing mesh interactively

Have you ever dreamt of being a sculptor? Well if you had, now you have an opportunity to make your dream true. If not, it can still be useful to know how to deform (morph) a mesh of your 3D object with a mouse if you plan to develop a first flash 3D real-time modeling application.

This recipe will teach you how to perform basic mesh morphing by pushing object faces in interactive ways. This is not going to be as powerful as Pixologic ZBrush, but it is all up to you as a developer to make maximum use of it.

Getting ready

Set up a new Away3D scene using AwayTemplate and you are ready to go.

How to do it...

In the following program, we set up a plane primitive which we are going to be able to deform by pushing or pulling ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required