Like Michael said, it puts the origin at the center of your viewport instead of the top left corner. No one says you have to do that, but it more intuitive in 3d apps to have the origin in the center of the screen. Also, almost any example/tutorial you find for 3d graphics will make the assumption of a centered origin.
On Jun 3, 9:37 am, Michael Iv <[email protected]> wrote: > Look what happens if you don't do it . Just add a sphere to the 0,0,0 and > you see it in top left corner . In 3D graphics the coordinate system is > different than screen coords in flash . The axis intersect in the center of > the view . (See wiki , left / right hand coordinates sytem) Away3D is left > hand > > > > > > On Thu, Jun 3, 2010 at 4:34 PM, vib <[email protected]> wrote: > > Can u tell me the reason behind that..? > > > I mean if I set view port at stage {0,0} position what's the > > difference? > > > On Jun 3, 6:30 am, Michael Iv <[email protected]> wrote: > > > This way the 0,0 is in the center > > > > On Thu, Jun 3, 2010 at 4:27 PM, Michael Iv <[email protected]> > > wrote: > > > > when you initiate view you indeed have to set it to the center doing it > > > > this way: > > > > var view :View3D =new View3D({x:400,y:300}); > > > > That is when with of the window is 800 and height 600 > > > > > On Thu, Jun 3, 2010 at 4:25 PM, vib <[email protected]> wrote: > > > > >> Hi, > > > > >> i found in some docs that the view port position is good at center of > > > >> the stage. > > > > >> I couldn't get the exact idea behind that? > > > > >> tnx > > > >> Vib > > > > > -- > > > > Michael Ivanov ,Programmer > > > > Neurotech Solutions Ltd. > > > > Flex|Air |3D|Unity| > > > >www.neurotechresearch.com > > > >http://blog.alladvanced.net > > > >http://www.meetup.com/GO3D-Games-Opensource-3D/ > > > > Tel:054-4962254 > > > > [email protected] > > > > [email protected] > > > > -- > > > Michael Ivanov ,Programmer > > > Neurotech Solutions Ltd. > > > Flex|Air > > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > >www.meetup.com/GO3D-Games-Opensource-3D/ > > > Tel:054-4962254 > > > [email protected] > > > [email protected] > > -- > Michael Ivanov ,Programmer > Neurotech Solutions Ltd. > Flex|Air > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup.com/GO3D-Games-Opensource-3D/ > Tel:054-4962254 > [email protected] > [email protected]
