[Papervision3D] vertical carousel
Thomas Ruffie
thomasruffie at gmail.com
Wed May 7 21:36:50 PDT 2008
ahah true, it's actually a lot easier.
Thanks
On Thu, May 8, 2008 at 3:38 PM, John Lindquist <johnlindquist at gmail.com>
wrote:
> It's much easier to group all of your carousel objects into a parent
> DisplayObject3D then just play with the pitch of the parent.
>
> On Wed, May 7, 2008 at 9:20 PM, Thomas Ruffie <thomasruffie at gmail.com>
> wrote:
>
> > Hey guys,
> > I'm trying a simple thing: getting a vertical carousel.
> > On my loop to render I do this:
> > _camera.y = Math.cos(_angle) * 1000;
> > _camera.z = Math.sin(_angle) * 1000;
> > _renderer.renderScene(_scene, _camera, _viewport);
> >
> > And I change the _angle when i click on some buttons.
> > It works, but when the camera reach halfway it flips around ( roll ). It
> > works the whole way through, but from halfway till back at the beginning the
> > camera is rolled 180 degres around. I tried to change the camera's roll with
> > the roll() method but it's not doing anything.
> > Any ideas what's happening?
> >
> > --
> > Thomas Ruffie
> > Media Developer
> >
> > "Chaos was the law of Nature; Order was the dream of Man"
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
>
> --
> ~~~~~~~~~~
> John Lindquist
> http://pv3d.org
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
Thomas Ruffie
Media Developer
"Chaos was the law of Nature; Order was the dream of Man"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080508/8af184f9/attachment.html
More information about the Papervision3D
mailing list