Thanks for the answer.
I have considered that path and prototype around a bit, but the box/plane
edge can't stay in the screen border perfectly when I rotate my camera
(different from what I want to achieve in the Prototype
<http://www.harsanalif.com/files/flash/temp/Prototype.swf>link).
Do I need to tinkering Away3D perspective mode to maintain this kind of
view?

On Wed, Jun 16, 2010 at 12:32 AM, savagelook
<[email protected]>wrote:

> oops, make the cube have a height, width, and depth of 400 centered
> around the origin.
>
> On Jun 15, 1:31 pm, savagelook <[email protected]> wrote:
> > can't you just create a cube and place you camera at the same z
> > coordinate as the near face of it?
> >
> > var cube:Cube = new Cube({x:0, y:0, z:-200});
> > cube.scaleX = -1; // to invert faces
> > view.scene.addChild(cube);
> > view.camera.position = new Number3D(0,0,-200);
> > view.camera.lookAt(new Number3D(0,0,0));
> >
> > just a side note, I had all kinds of z-sorting issues trying to
> > simulate a "room" with a cube.  I had much better luck creating a cube
> > out of 6 planes.
> >
> > On Jun 15, 11:57 am, Alif Harsan Pradipto <[email protected]>
> > wrote:
> >
> >
> >
> > > Hi,
> >
> > > I need to mimic a specific view, where user seeing at monitor as an
> inside
> > > of an empty box. User can then move around the mouse to rotate the
> camera,
> > > but the box edge must always attached to screen edge.
> > > Maybe this prototype can give you a good idea on what I want to try to
> > > achieve: Prototype<
> http://www.harsanalif.com/files/flash/temp/Prototype.swf>
> > > Is there any good method to achieve this effect using Away3D?
> >
> > > Thank you.
> >
> > > Regards,
> > > Alif Harsan Pradipto
>

Reply via email to