Cube wont go fullscreen

Software: Away3D 3.x

Venian, Newbie
Posted: 22 October 2011 07:58 PM   Total Posts: 1

Hi guys.

I added a cube to stage and set it’s width and height to stage.stageWidth and stage.stageHeight.
It should cover the whole screen, yet the cube it’s not of the size of the stage but has space around it like it would have padding. Which is weird.

It has built in padding and i dont know of, or the camera is not set properly?

The Away3D view setup its basic.

   

Richard Olsson, Administrator
Posted: 25 October 2011 07:01 AM   Total Posts: 1192   [ # 1 ]

You are setting dimensions in 3D space, which is not the same as the 2D space of the stage. Try making sure that the camera is ~900 units away from the cube surface, and you might get the results you’re after.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X