Hi everybody !
I’m currently trying to do a full browser project and my problem is :
When i resize the browser, i resize the stage3d but i want 3D objects keep the same size into the screen. How can i do ?
Thanks!
Resize Stage3D without resize 3d ObjectsSoftware: Away3D 4.x |
||
soso, Newbie
Posted: 24 July 2012 10:37 AM Total Posts: 6 Hi everybody ! I’m currently trying to do a full browser project and my problem is : Thanks! |
||
Richard Olsson, Administrator
Posted: 24 July 2012 11:21 AM Total Posts: 1192 [ # 1 ] That’s how 3D perspective works. The only way to achieve what you’re after is to modify either the FOV of the camera lens, or the distance of the camera from the objects, to match the scale that you are applying to your viewport. The exact amount depends on a number of factors, but if it’s not important that it’s 100% correct you can probably just experiment until you find a good coefficient to convert viewport scale to FOV/distance scale. |