[Papervision3D] MD2 loader with key-frame animation

Philippe Ajoux philippe.ajoux at gmail.com
Wed Jan 10 23:53:38 EST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070110/a34296c1/attachment.htm


More information about the Papervision3D mailing list