Japanese
SGL User's ManualPROGRAMMER'S TUTORIAL
BackForward
PROGRAMMER'S TUTORIAL

Demo program C

Walking Akira


Here, I will introduce a demo program (demo_C) that animates a human model walking. The model is Akira from Virtua Fighter.
Akira consists of 22 polygon objects, and each object has a hierarchical structure as shown in the figure below.

Figure C-1 Akira's parent-child structure


Note: Akira is now facing you.

By providing angle data between Akira's parent and child objects, you can create "joints". By changing this angle data, you can move Akira connected by joints. This angle data between each parent and child object is called "motion data."

Complex motion data such as the human body is usually created using 3D animation tools.

Flow C-1 Main flow chart

Flow C-2 Detailed flowchart of main processing



BackForward
SGL User's ManualPROGRAMMER'S TUTORIAL
Copyright SEGA ENTERPRISES, LTD., 1997