[Papervision3D] ok, hey, let's play in 3D space, shall we?

John Grden neoriley at gmail.com
Fri Feb 9 16:18:11 EST 2007


hehe yeah, Carlos had volunteered to put in the methods necessary for 2d/3d
maps as well as arrows to point to your last targeted craft

On 2/9/07, andré gustavo cardozo <walkandre at gmail.com> wrote:
>
> you got to put a mini map on there showing the planet and death star
> position. it´s looking really cool!!!!!
>
>
>
> On 2/9/07, John Grden <neoriley at gmail.com> wrote:
> > Yeah it's pretty clear what we have to do, it's just doing it elegantly
> ;)
> >
> > I'm not sure i'm the guy to write it to be honest, but I get the
> concept.
> > Any one wanna lend a hand with that?
> >
> >
> >  On 2/9/07, ricardo cabello ~ mr.doob <info at mrdoob.com> wrote:
> > > The concept is basicly this.
> > >
> > > I connect to the game.
> > > Red5 sends me your position (let's say x:50).
> > > On the next refresh Red5 sends me your position again (let's say
> x:100)
> > >
> > > Instead of just moving you to the new position, you could try to slide
> > > it from the old position to the new position, without any jump. The
> > > client machine (me) will calculate this. The idea is to make
> everything
> > > more smooth without jumps.
> > >
> > > Then, you will say that in that way you will always have a bit of
> delay.
> > >
> > > The next thing they will be to deduce which position will be the next
> > > one having the last 2 positions stored. It's quite basic I guess...
> > >
> > > Hope it helps.
> > >
> > > --
> > > Ricardo Cabello ~ Mr.doob
> > > Designer + Developer
> > >
> > > Web: http://mrdoob.com
> > > RSS feed: http://mrdoob.com/rss.php
> > > MSN: info at mrdoob.com
> > >
> > >
> > > John Grden wrote:
> > > > I need a bit more ;) What's the concept we're trying to achieve?
> > > >
> > > > On 2/9/07, *Tim Knip* <tim.knip at gmail.com <mailto:
> tim.knip at gmail.com>
> > > > > wrote:
> > > >
> > > >     John:
> > > >
> > > >     interpolating: check the method below. pAlpha is a number
> between
> > > >     0 and 1...
> > > >     Got it from Phillipe Ajoux's Md2 class.
> > > >
> > > >     public static function interpolatePoint( pA:Point3D, pB:Point3D,
> > > >     pAlpha:Number ):Point3D
> > > >     {
> > > >             var dst:Point3D = new Point3D();
> > > >             dst.x = pA.x + pAlpha * ( pB.x - pA.x);
> > > >             dst.y = pA.y + pAlpha * (pB.y - pA.y);
> > > >             dst.z = pA.z + pAlpha * (pB.z - pA.z);
> > > >             return dst;
> > > >     }
> > > >
> > > >
> > > >     hope this helps,
> > > >
> > > >     Tim
> > > >
> > > >     _______________________________________________
> > > >     Papervision3D mailing list
> > > >     Papervision3D at osflash.org <mailto: Papervision3D at osflash.org>
> > > >
> > http://osflash.org/mailman/listinfo/papervision3d_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
> >
> >
>
>
> --
> André G. Cardozo
>
> _______________________________________________
> 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/20070209/688689ac/attachment-0001.htm


More information about the Papervision3D mailing list