[Papervision3D] My attempt at a carousel
David Harris
djohnsmarie at gmail.com
Wed Apr 4 01:26:37 EDT 2007
Hi guys,
Here's the updated version.
http://www.harrisfamily.net.nz/devblog/enclosures/carousel2.swf
I'm planning to post the source to my blog soon.
Thanks for your help!
David
On 4/4/07, John Grden <neoriley at gmail.com> wrote:
> you're more than welcome to use this one (assuming the swf makes it in the
> email). Just load it as an external SWF and the FPS code runs inside of it.
>
>
> On 4/3/07, David Harris <djohnsmarie at gmail.com> wrote:
> > I'll put it up tonight when I am on my own time (and not work time!)
> >
> > One other question I've been meaning to ask...
> > How hard/easy is it to get the FPS display I've seen on so many other PV3D
> apps?
> > The one with the red bar...
> >
> > I suspect it's easy, but just haven't seen example code anywhere yet...
> >
> > On 4/4/07, John Grden <neoriley at gmail.com> wrote:
> > > 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 ]
> > > _______________________________________________
> > > 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 ]
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
More information about the Papervision3D
mailing list