Adding interactivity to your object not always means to just make it responsive to the mouse click, or transform it around the scene. You may have much more fun if you are able to also change the way your object looks. In this recipe, you will learn how to paint on the material of your 3D object in the runtime interactively using the mouse as a brush.
Set up a new Away3D scene using
In this example, we use a
ColorChooser component to switch between different colors from a drop-down palette it supplies or by hex values input. The
ColorChooser is one of many great components developed by Keith Peters and called MinimalComps. You can get it for free here at http://www.minimalcomps.com/ ...