Every toggle,I call update camera without creating a new camera3D. after I add one line before change param of camera3D the problem is gone. """ view3D.camera = new Camera3D(); """ ps:version above 3.5.3 has back culling problem in my project.
On Mon, May 9, 2011 at 2:56 PM, Von <[email protected]> wrote: > Hi, > This is my usage: > """ > view3D = new View3D({width:550,height:400,x:550 / 2,y:400 / 2}); > view3D.session = new SpriteSession(); > view3D.scene.addChild(myModel); > > GlobalConsts.stage.addChild(view3D); > view3D.x = 300; > view3D.y = 300; > > toggleBtn.addEventListener(MouseEvent.CLICK,function():void > { > view3D.clear(); > view3D.render(); > }); > """ > > Everytime I click toggleBtn,the view become a bigger one or a smaller > one.It toggle within two size. > > How to resolve the code without update to a new version of away3d? >
