thanks pete..  that FrustumClipping is working fine for me... Can u
have any perfect documentation for away3d or ebooks .. If i have any
doubt i search on away3d actionscript docs.. i dont know the wat are
the classes for what purpose are there... if know this anyone done
easily with away3d... i m new to away3d .. last 4days i m working on
this..

once again thanks
arul

On Feb 12, 2:35 am, Peter Kapelyan <[email protected]> wrote:
> http://away3d.com/pete/clip.jpg
>
> It looks fine for me, unless I move the camera. then the wall gets clipped.
> In this case I think you need FrustumClipping, can you try that?
>
> var clipping:FrustumClipping=new FrustumClipping ({minZ:10});
> view.clipping=clipping;
>
> -Pete
>
>
>
> On Thu, Feb 11, 2010 at 3:51 PM, Arul <[email protected]> wrote:
> > My camera currenly like this
> >http://sharedaa.com/labs/flash/away3d/room1.jpg
>
> > On Feb 12, 1:25 am, Arul <[email protected]> wrote:
> > >http://sharedaa.com/labs/flash/away3d/temple.jpg
>
> > > here i shown u how i want the result...
>
> > > On Feb 12, 1:10 am, Peter Kapelyan <[email protected]> wrote:
>
> > > > That is weird...but why do you have to use the SWF? Can you put it in
> > an
> > > > html page? Then problem is solved (hopefully).
>
> > > > On Thu, Feb 11, 2010 at 3:08 PM, Arul <[email protected]> wrote:
> > > > > scrollRect also the same as clipping...
>
> > > > > On Feb 12, 1:08 am, Arul <[email protected]> wrote:
> > > > > > yes.. i am using clipping here.. but the swf size changedhttp://
> > > > > sharedaa.com/labs/flash/away3d/room.jpg..
> > > > > > i want to viewer same like 800*600.. i want to change the camera
> > width
> > > > > > height only.. thanks pete for quick replay...
>
> > > > > > On Feb 12, 12:51 am, Peter Kapelyan <[email protected]> wrote:
>
> > > > > > > Hmm..If you put the swf into an html page, it will only show the
> > > > > 800x600.
>
> > > > > > > But, one way around showing only the 800x600 portion in just the
> > swf is
> > > > > to
> > > > > > > use a mask, or scrollRect. Another way is to use a rectangle
> > Clipping,
> > > > > which
> > > > > > > is the same as a scrollRect. Like this:
>
> > > > > > > //imports the clipping stuff
> > > > > > > import away3d.core.clip.*;
>
> > > > > > > //set up view new View (etc..)
> > > > > > > view.clipping = new RectangleClipping({minX:-(800/
> > > > > > > 2), minY:-(600/2), maxX:800/2, maxY:600/2});
>
> > > > > > > Let me know if it helps any, or still the same problems.
>
> > > > > > > -Pete
>
> > > > > > > On Thu, Feb 11, 2010 at 2:46 PM, Arul <[email protected]>
> > wrote:
> > > > > > > > Hello everyone,
> > > > > > > >        I am creating a room..
> > > > > > > >http://sharedaa.com/labs/flash/away3d/room.swf
> > > > > > > > here is the demo. Not finished yet.. In this camera occupied
> > the full
> > > > > > > > view.. Here is the codehttp://
> > > > > sharedaa.com/labs/flash/away3d/room.zip
> > > > > > > > ...
>
> > > > > > > > I am using camara3D for camera..
>
> > [SWF(backgroundColor="#FFFFFF",frameRate="30",quality="LOW",width="800",height="600")]
>
> > > > > > > > var swfHeight:Number = 800;
> > > > > > > > var swfWidth:Number = 600;
> > > > > > > > clipping = new RectangleClipping({minX: -swfWidth / 2, minY: -
> > > > > > > > swfHeight / 2, maxX: swfWidth / 2, maxY: swfHeight / 2});
> > > > > > > > viewer = new View3D( { camera: camera, scene: scene, clipping:
> > > > > > > > clipping, x: swfWidth / 2, y: swfHeight / 2, z: 0 } );
>
> > > > > > > > I used half value of swfWidth,swfHeight for view3d x and y
> > > > > > > > respectively. The room width and height is 8000X6000. But the
> > camera
> > > > > > > > is covered all.. it does not shown the 800X600 scene. I want to
> > show
> > > > > > > > only 800 * 600 part of the room to the user . if the user move
> > up or
> > > > > > > > down i will show the others.. Like
> > > > > > > >http://www.closier.nl/playground/temple.html
> > > > > > > > ..
> > > > > > > > I should finish this tomorrow..
>
> > > > > > > > I think pete and  fabric3d are guru in away3d.. they may knew
> > the
> > > > > > > > answer...I hope u guys will help me to finish this..
>
> > > > > > > --
> > > > > > > ___________________
>
> > > > > > > Actionscript 3.0 Flash 3D Graphics Engine
>
> > > > > > > HTTP://AWAY3D.COM
>
> > > > --
> > > > ___________________
>
> > > > Actionscript 3.0 Flash 3D Graphics Engine
>
> > > > HTTP://AWAY3D.COM
>
> --
> ___________________
>
> Actionscript 3.0 Flash 3D Graphics Engine
>
> HTTP://AWAY3D.COM

Reply via email to