Tony Lukasavage

Caffeine. Whiskey. Code. Mostly the last one.

Testing Away3D Materials

In an effort to learn more about the vast array of materials available in Away3D I put together this little demo.  It’s just an adjustable sphere that you can change the segment count of with a drop down for selecting materials to apply to it.  It’s got just one light: a DirectionalLight3D pointing straight at it.  This, of course, only affects the shaded materials as you can see in the demo.  By the way, anyone know why I’m getting no color on the ShadingColorMaterial?

Discussion on ShadingColorMaterial not working in Away3D 3.5: http://groups.google.com/group/away3d-dev/browse_thread/thread/aaf9d9c73a12473f/b49add76061e9388

Featured Away3D Code:

  • away3d.materials.AnimatedBitmapMaterial
  • away3d.materials.VideoMaterial
  • away3d.materials.PhongColorMaterial
  • away3d.materials.ShadingColorMaterial
  • away3d.materials.Dot3BitmapMaterialF10
  • away3d.materials.Dot3BitmapMaterial
  • away3d.materials.WireframeMaterial
  • away3d.materials.WireColorMaterial
  • away3d.materials.ColorMaterial
  • away3d.lights.DirectionalLight3D

As usual, right click to view the source of the demo.