[Papervision3D] vertical carousel
thomasruffie at gmail.com
Wed May 7 21:36:50 PDT 2008
ahah true, it's actually a lot easier.
On Thu, May 8, 2008 at 3:38 PM, John Lindquist <johnlindquist at gmail.com>
> 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>
> > 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
> Papervision3D mailing list
> Papervision3D at osflash.org
"Chaos was the law of Nature; Order was the dream of Man"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D