[Papervision3D] My attempt at a carousel

John Grden neoriley at gmail.com
Tue Apr 3 16:53:09 EDT 2007


can we see it now with that fix I mentioned?

On 4/3/07, David Harris <djohnsmarie at gmail.com> wrote:
>
> Thanks!
>
> The master plan with PaperVision involves her and my son...
>
> stay tuned...more to come later! ;-)
>
> On 4/4/07, Carlos Ulloa <c4rl054321 at gmail.com> wrote:
> > Hi David,
> >
> > I've been following the 3d images of your daughter for quite a while!
> >
> > Congratulations for both,
> >
> > C4RL05
> > // noventaynueve.com
> > // papervision3d.org
> >
> >
> > On 03/04/07, David Harris <djohnsmarie at gmail.com> wrote:
> > > Hi John,
> > >
> > > Thanks for that, it works perfectly!
> > >
> > >
> > > On 4/4/07, John Grden <neoriley at gmail.com> wrote:
> > > > mabye you could create a dumby object in the middle and tell the
> planes
> > to
> > > > look at it?
> > > >
> > > > scene.addChild(new DisplayObject3D("center"));
> > > >
> > > > ...  then with your planes:
> > > >
> > > > var obj:DisplayObject3D = scene.getChildByName ("center");
> > > > plane.lookAt(obj);
> > > >
> > > > this is completely off the top of my head, and you might have to
> reverse
> > the
> > > > image textures so they're not backwards, but it's alot easier than
> doing
> > the
> > > > math ;)
> > > >
> > > >
> > > > On 4/3/07, David Harris <djohnsmarie at gmail.com> wrote:
> > > > >
> > > > > Hi Every one,
> > > > >
> > > > > I am attempting to create a carousel with PaperVision.
> > > > >
> > > > > If you look at
> > > >
> > http://www.harrisfamily.net.nz/devblog/enclosures/carousel1.swf
> > > > > you can see how far I am.
> > > > > The problem I am wanting to fix is when you view that, the far
> left
> > > > > and far right are not correct, and are flapping round a bit, not
> > > > > staying facing directly away from the center.
> > > > >
> > > > > in the rendering function I have the code to set the rotation
> values:
> > > > >
> > > > > planeArray[i].plane.rotationY =  rotationRadians * 180 / Math.PI;
> > > > >
> > > > > planeArray[i].plane.z = radius * Math.cos(rotationRadians) * -1;
> > > > > planeArray[i].plane.x = (radius * Math.sin(rotationRadians))* -2;
> > > > >
> > > > >
> > > > > where "i" is the position in the array
> > > > >
> > > > > I am very newbie to this, so am I missing something obvious?
> > > > >
> > > > > thanks,
> > > > >
> > > > > David
> > > > >
> > > > > _______________________________________________
> > > > > Papervision3D mailing list
> > > > > Papervision3D at osflash.org
> > > > >
> > > >
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > [  JPG  ]
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > >
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > >
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070403/09cec956/attachment.htm


More information about the Papervision3D mailing list