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.

Reply via email to