[Papervision3D] MD2 loader with key-frame animation

Philippe Ajoux philippe.ajoux at gmail.com
Thu Jan 11 03:02:47 EST 2007


Pelle:  .md2 files are a very simple file format used by Quake 2. You can
find tons of Quake 2 models online at quakeplanet.com (or something like
that).

John:  the animation is held in the .md2 file as vertices per frame. I just
interpolate them to look smooth =)

I have a few other models that look uber sweet! MD2 file are perfect for
this because they have just about the right
amount of faces.

Source is coming really soon. Probably tomorrow sometime. If not tomorrow,
then probably not until Sunday since I'm
flying back to college on Saturday. I will release the Wavefront, Max3DS,
and Md2 file formats in a package.

On 1/10/07, Pelle Christensen <pelle.christensen at gmail.com> wrote:
>
> OMG!!
>
> That is soooo coool :D
>
> What do you use to produce .md2 files ?
>
> /Pelle
>
> On 1/11/07, Philippe Ajoux < philippe.ajoux at gmail.com> wrote:
>
> > Felt like seeing things move. So here is a demo of my Quake 2 (.md2)
> > file loader
> > with animation support. If you like it enough I will publish the source.
> > Just kidding,
> > source is coming, but needs to be cleaned up a little before it goes out
> > there.
> >
> > http://www.d3s.net/phil/pv3d/examples/TestMd2.html
> > (NOTE: The .md2 file is 360 kb and i have no preloader, be patient
> > before so that the goodness appears)
> >
> > A couple notes about the demo:
> > [1] runs at a nice 60 FPS outside of the browser =)
> > [2] linear-interpolation of keyframes to avoid choppy/jerky animation
> > [3] animation based on actual FPS
> > [4] animation is achieved without any damage/changes to any of PV3D
> > (only little hack of a variable though)
> >
> > Hope you like,
> >
> > -- Phil
> >   __   _   _   _   _
> > | -- |  | |_| |  |_|  |  |
> > |  _|  |  _  |  |  | |  |_
> > |_|    |_| |_|  |_| |___|
> > email: phil at d3s.net  | philippe.ajoux at gmail.com
> > website: www.d3s.net
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> >
>
>
> --
> Med venlig hilsen / Best regards
> Pelle Klit Christensen
>
> Phone (+045) 26 88 11 89
> www.gamecraft.dk
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>


-- 
  __   _   _   _   _
| -- |  | |_| |  |_|  |  |
|  _|  |  _  |  |  | |  |_
|_|    |_| |_|  |_| |___|
email: phil at d3s.net  | philippe.ajoux at gmail.com
website: www.d3s.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070111/825436b7/attachment.htm


More information about the Papervision3D mailing list