ok. here's situation.( I compile everything in flex - latest version. also have latest player).
the example works ok when I compile it as a main class - one swf. but when I create an instance of this class inside my website I got very small object. This instance is inside a sprite that is inside a sprite of loaded swf. .. you got a point. when I create an instance at main root in shell swf... it works ok. so? is this a bug? On Sep 14, 2:39 pm, katopz <[email protected]> wrote: > > object is far far away and is very small. > > i think you got flash player 20x bug, try update your player and your CS4, > if you can't, just try compile it in last flex release to avoid that problem > > btw, here's plane example for camera.z = -900; > > http://away3d.googlecode.com/svn/trunk/fp10/Examples/Away3DLite/as/sr... > > again, if you still see small thing there, it mean your flash player is > outdate+bug > > hth > > 2009/9/14 farmazone <[email protected]> > > > > > > > > > No Peter, this is not working in Lite. > > > if camera is at z=0 and 3dobject is also z=0 , object is about a half- > > size of that what I would like it to be. > > > if camera z is -900 object is far far away and is very small. > > > Btw camera.moveTo and moveBackward are not implemented in Lite > > version. > > > On Sep 14, 3:07 am, Peter Kapelyan <[email protected]> wrote: > > > In Away3D (not lite, not sure about lite yet), the camera setting (with > > > default zoom and focus) would be something like: > > > > camera.moveTo(myobject.x,myobject.y,myobject.z); > > > camera.moveBackward(900); > > > > Also make sure the camera is facing your object. If you see it works with > > > LITE also - please let me know! > > > > -Pete > > > > On Sun, Sep 13, 2009 at 4:19 PM, farmazone <[email protected]> wrote: > > > > > hello, > > > > > could You write this formula for a custom focus and zoom? > > > > > I need it badly to use away3dLite instead of PV3d. > > > > > On Sep 12, 3:51 pm, Peter Kapelyan <[email protected]> wrote: > > > > > All you need to do is place the camera 900 away from your object at > > the > > > > > default focus and zoom. That simple! If you need a formula for a > > custom > > > > > focus and zoom, let me know, I'll find it. > > > > > > -Pete > > > > > > On Fri, Sep 11, 2009 at 10:16 PM, sibhod < > > [email protected] > > > > >wrote: > > > > > > > I'm attempting to set up my camera and scene in such a way that a > > > > > > 100x100 plane at (0, 0, 0) will be pixel-precise to a 100x100 > > sprite. > > > > > > I've attempted to place the camera at the right zoom and focus to > > get > > > > > > the proper results but it's not working. This is what I'm > > attempting: > > > > > > > camera.z = -camera.zoom * camera.focus; > > > > > > > Has anyone had any luck doing this? > > > > > > -- > > > > > ___________________ > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > HTTP://AWAY3D.COM > > > > -- > > > ___________________ > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > HTTP://AWAY3D.COM > > -- > katopzhttp://www.sleepydesign.com
