oh just mailed you offline for this... I have updated the example class as well, can you please test from this class also make sure you have the very latest version. http://github.com/away3d/away3d-core-broomstick/raw/master/src/away3d/tools/Merge.as
Fabrice On May 27, 2011, at 11:42 AM, John Brookes wrote: > Far and near planes are fine. > All the other examples work ok. > > If I take the mergeWithClones() code posted above with no changes and run it > nothing shows. > > Add some traces and a small change > > var m:Mesh = merge.applyToMeshes(receiver, meshes) > m.name = "Bert" > view.scene.addChild(m); > cube = null; > > > trace(Mesh(view.scene.getChildAt(0)).name); //Bert > > trace(Mesh(view.scene.getChildAt(0)).bounds.min.x); //0 > trace(Mesh(view.scene.getChildAt(0)).bounds.max.x); //0 > trace(Mesh(view.scene.getChildAt(0)).bounds.min.z); //0 > trace(Mesh(view.scene.getChildAt(0)).bounds.max.z); //0 > > trace(Mesh(view.scene.getChildAt(0)).geometry.subGeometries.length); //0 > > > The only way I can get it to work is to change the receiver > var receiver:Mesh = new Cube(matcube, 800, 400, 100);//new Mesh(); > > Then I see some stepped cubes. >
