Remember:
import away3d.core.utils.*;//for the "Cast" part
Then, assuming you have a class in your library named "bodyColor" for the
base metal color, and a shiny reflective map in library with class name
"reflectiveMap":
var envMat = new EnviroBitmapMaterial(Cast.bitmap("bodyColor"),
Cast.bitmap("reflectiveMap"), { reflectiveness:0.5});
That's the meat and potatoes of it. Hope it works out for you.
-Peter
On Tue, Mar 30, 2010 at 10:14 PM, Kurt C <[email protected]> wrote:
> Are there any tutorials about how to use the EnviroBitmapMaterial
> class, I have no idea at the moment as to how to use it.
> Kurt
>
>
>
> On Mar 25, 6:30 pm, Peter Kapelyan <[email protected]> wrote:
> > Also, you can use the EnviroBitmapMaterial for a touchy of shininess, and
> a
> > classic metal or chromy feel.
> >
> > -Pete
> >
> > On Thu, Mar 25, 2010 at 5:14 AM, Kurt C <[email protected]> wrote:
> > > Hello I'm an Away3d newbie and was wondering how can I give a 3d
> > > object a metal or rather stainless steel look. To put a simply I want
> > > to get a metal object into Away 3d is this possible.
> > > What would be the steps needed to get the output, would appreciate any
> > > inputs, thanks?
> >
> > > To unsubscribe from this group, send email to away3d-dev+
> > > unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE
> > > ME" as the subject.
> >
> > --
> > ___________________
> >
> > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > HTTP://AWAY3D.COM
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>
--
___________________
Actionscript 3.0 Flash 3D Graphics Engine
HTTP://AWAY3D.COM