ok, i check in the away3d doc for the clipping class, but i dont see
how to use this...
Can someone help me ? thanks

On Sep 26, 4:34 pm, Colir <[email protected]> wrote:
> ?? the link work great for me..strange...
> What is a Rectangular clipping ??
> thanks
>
> On 26 sep, 14:53, Peter Kapelyan <[email protected]> wrote:
>
> > Hi,
>
> > The link doesn't seem to work :/
>
> > Have you tried adding a Rectangular clipping to your scene? Don't know if it
> > help or not, but worth a try!
>
> > -Pete
>
> > On Sat, Sep 26, 2009 at 4:30 AM, Colir <[email protected]> wrote:
>
> > > Hi,
> > > i have a make a little website base on away 3d, specially fot the
> > > coming effect ot my different elements.
> > > All work great, except one find : the white screen at the center of
> > > the scene.
>
> > > When i resize my scene under a size of 800px of height, my screen,
> > > which is a plane3d, disapear ...
> > > And reapear when scaling up my scene over 800px of height...
>
> > > I just don't understand why....
>
> > > My screen is compose with 2 plane : base for the footer / and the
> > > screen display.
> > > here is a the interest part of my code - screenMat use a png:
>
> > > //OBJECT & MAT
> > > var decor:ObjectContainer3D = new ObjectContainer3D()
> > > var screenBase:Plane
> > > var screenDisplay:Plane
> > > var screenContainer:ObjectContainer3D = new ObjectContainer3D()
> > > var screenBaseMat:BitmapMaterial = new BitmapMaterial(Cast.bitmap
> > > (ScreenBaseImg), {smooth:true, precision:2});
> > > var screenMat:BitmapMaterial = new BitmapMaterial(Cast.bitmap
> > > (ScreenImg), {smooth:true, precision:2});
>
> > > //CONSTRUCT
> > > screenBase = new Plane({material:screenBaseMat});
> > > screenBase.width =789
> > > screenBase.height = 51
> > > screenBase.rotationX = 90
> > > screenBase.movePivot(0,0,-25)
>
> > > screenDisplay = new Plane({material:screenMat});
> > > screenDisplay.width =691
> > > screenDisplay.height = 402
> > > screenDisplay.y = 50
> > > screenDisplay.rotationX= 90
> > > screenDisplay.x = -10
> > > screenDisplay.movePivot(0,0,-201)
>
> > > screenContainer.movePivot(-340,0,0)
> > > screenContainer.x = -335
> > > screenContainer.addChild(screenBase)
> > > screenContainer.addChild(screenDisplay)
> > > screenContainer.y =1080
> > > screenContainer.rotationZ =20
>
> > > decor.addChild(screenContainer)
>
> > > //RENDER
> > > cam = new Camera3D({zoom:1,focus:2000});
> > > View = new View3D({camera:cam,x:960,y:skyTargetY,stats:false});//
> > > render:QuadrantRenderer
> > > View.renderer = Renderer.BASIC
> > > addChildAt(View,8);
> > > View.render();
> > > addEventListener(Event.ENTER_FRAME,onEnterFrame);
>
> > > and here is the result and also the bug if you resize the window
> > >http://robertson.pro/clients/michelin/minisite/index.html
>
> > > Perhaps the bug is from bitmaps precision ?...
>
> > > Thanks very much for your help
>
> > --
> > ___________________
>
> > Actionscript 3.0 Flash 3D Graphics Engine
>
> > HTTP://AWAY3D.COM
>
>

Reply via email to