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