Papervision Programming Tutorial - Animations
This article shows you how to load and display an animated Quake 2 model in Papervision 3D.
VIEW THE DEMO
DOWNLOAD THE CODE
When I was looking for documentation about displaying animations in papervision the general consensus was to use the DAE class and load up an animated Collada mesh. That seemed simple enough, until I wanted to find a decent Collada animation to use as a demonstration. Having artistic skills that resemble the end result of 3 year old who stuck a crayon up his nose and then sneezed on a piece of paper I was reliant on grabbing a freely available animation off the web. Not an easy task with a Collada file.
There are however a huge selection of good looking Quake II models available out there, and Papervision also supports loading MD2 files. You simply use the org.papervision3d.objects.parsers.MD2 class, load the file name or embedded MD2 ByteArray and supply a texture. The only real trick to using the MD2 class is to know the names of the animations. The sample application has a list of the standard Quake 2 animations which you can select from the main screen, or copy from for your own application.
Go back to Papervision Tutorials

-
Papervision 3D Programming Tutorial - Creating a Papervision Component
| By mcasperson | in Programming
See how Papervision can be packaged into a SWC Flash component, which allows you to drag and drop Papervision into ...
-
Papervision 3D Programming Tutorial - Environment Mapping
| By mcasperson | in Programming
Learn how to implement environment mapping with Papervision....
-
Papervision 3D Programming Tutorial - Terrain
| By mcasperson | in Programming
Learn how to create a realistic looking terrain mesh and texture that can be imported into Papervision. Demo and so...
-
Papervision 3D Programming Tutorial - Texture Smoothing
| By mcasperson | in Programming
See the difference texture smoothing can make to your Papervision 3D applications. Demo and source code included....
-
Papervision 3D programming tutorials - Clipping & Culling
| By mcasperson | in Programming
See how to use Papervisions clipping and culling options to improve performance and visual integrity. Demo and sour...
-
XA Transaction - Solution for Transaction More Than One Database | By H4d1 | in Programming
Have you ever think that it's too difficult for making database transaction in two different places (or databases) ...
-
Javascript functions for : trim, right trim, left trim, no Apostrophe, is Empty , is Digit , VarChar To Number , is integer , check Is Zero , Get Que | By xxris | in Programming
Javascript functions for : trim, right trim, left trim, no Apostrophe, is Empty , is Digit , VarChar To Number , i...
-
How to access and use a Window's command line | By MaxwellPayne | in Programming
Learn about the Window's command line in DOS and how to use it....
-
How to Learn to Program Your Computer | By dsj8760 | in Programming
This article is about learning to program a computer. It is a general article giving tips on how to learn about pro...
-
Jailbroken iPhones get RickRolled | By explorer | in Programming
First iPhone worm, attacks via SSH and does the classic rick roll gag on the user....
-
Away3D Programming Tutorial - Environment Material | By mcasperson | in Programming
See how to use the EnviroBitmapMaterial to create a real time reflective look in Away3D. Demo and source code inclu...
-
Away3D Programming Tutorial - Primitives | By mcasperson | in Programming
See how easy it is to use the build in primitive shapes supplied with Away3D. Demo and source code included....
-
Away3D Programming Tutorial - Mouse Interaction | By mcasperson | in Programming
Learn how to respond to mouse events in Away3D. Demo and source code included....
-
Away3D Programming Tutorial - Effects | By mcasperson | in Programming
See how you can add the standard Flash filters to any Away3D object to easily create advanced effects. Demo and sou...
-
Away3D Programming Tutorials - Getting Started | By mcasperson | in Programming
Learn how to get started with the Away3D Flash 3D engine with this detailed, step by step tutorial. Demo and source...








No comments yet.