Converting BVH information into POVRay animations
=================================================

I used the Heirarchy information from the bvh file to derive
the default positions of the body parts.

I then took the Motion information and editied it so that it 
can be read directly from POVRay. The editing required is:-

	Remove all the text, leaving just a list of numbers

	Replace all the TAB characters with commas

The data for the BVH channels are read into POV variables,
and these variables are used to position the body parts for
each frame.

One subtlety is that, as in this case, the BVH can specify the
rotation channels in the order Z,X,Y you can't just perform
a "rotate <X,Y,Z>" in POV. Rotations aren't commutative.
The rotations need to be performed in the REVERSE order to
the order that thet appear in the BVH file.


Grenade2.pov	  describes the scene
Grenadeparts.inc  declares the body parts
Grenade.inc       declares the structure and applies the motions
Grenade.bvh	  is the original BVH file
Grenade.dat	  is the data extracted from the BVH file
		  which is read by POV.

Set "final_frame = 178"

Mike Williams
mike@econym.demon.co.uk



