No Ability to Deactivate Visibility for Bounding Boxes in Away3DLite (Feb 24th 2010)
Ability in is in Base Class Object3D for newer Away3DLite release but needs to be overridden.
//Create Invisible WireframeMaterial for Bounding Boxes
// This Away3D Lite version hack needed until support is added for "visible".
var zeroAlphaMaterial = new WireframeMaterial(0xFFFFFF, 0);
From: http://www.mail-archive.com/away3d-dev@googlegroups.com/msg07411.html
> > I've found where is the problem with WireframeMaterial alpha property,
> > in WireframeMaterial.as the following line
>
> > _graphicsStroke.fill = new GraphicsSolidFill(_color);
>
> > should be changed with
>
> > _graphicsStroke.fill = new GraphicsSolidFill(_color,
> > _alpha);
There are two instances of the line to correct. The important one is in the constructor.
Cheers!
No comments:
Post a Comment
Give me your best comment. *_*