Hi, if all you have is one sphere that you want to place on a stage sprite
position, you can just move the view to that position. However, if you have
more than one ball it is a bit harder.

-Pete

On Thu, Jun 3, 2010 at 12:26 PM, vib <[email protected]> wrote:

> Anybody please help on this problem...i couldnt trace exact
> problem.....
>
> On Jun 3, 7:28 am, vib <[email protected]> wrote:
> > Thanks a lot..
> >
> > Actually my problem is very simple....I created a ball sprite in
> > flash's stage.Also i have created an away3d sphere object.I just want
> > to set away3d sphere in flash's stage sprite's position.
> >
> > Thank you
> >
> > On Jun 3, 7:11 am, savagelook <[email protected]> wrote:
> >
> >
> >
> > > 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...
> > > > Tel:054-4962254
> > > > [email protected]
> > > > [email protected]
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to