also many times the model comes as ObjectContainer3D (if you export several
sub models together from 3d bundle ) with the meshes nested within it.Then
you can extract each mesh from children array of ObjectContainer3D

On Thu, Aug 26, 2010 at 7:35 AM, Stephen Hopkins <[email protected]>wrote:

> use
>  (model as Mesh),
> or
>  (model as ObjectContainer3D)
>
> On Aug 25, 7:37 pm, Rainman <[email protected]> wrote:
> > Using Away3D lite
> >
> > loader = new Loader3D();
> > loader.loadGeometry("3dModel.dae", collada);
> > ...
> > var model:Obecjt3D = loader.handle;        // return Object3D from
> > loaded Collada model
> >
> > The question is how do I get the Mesh Object for that model?
> >
> > I want to set the mesh.material.debug = true to see the wireframe.
> >
> > Can I get a Mesh from loader?
> >
> > Thanks
>



-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to