Defines | |
| #define | FRAMERATE 24.0 |
Functions | |
| int | draw_scene () |
| int | load_model () |
| double | get_rand () |
| int | setup_callback () |
| static void | display_callback () |
| static void | reshape_callback (int width, int height) |
| static void | keyboard_callback (unsigned char key, int x, int y) |
| static void | idle_callback () |
| static void | motion_callback (int x, int y) |
| static void | mouse_callback (int button, int action, int x, int y) |
| static void | interpolate_skeletons (const std::vector< Joint > &in1, const std::vector< Joint > &in2, float t) |
| int | main (int argc, char *argv[]) |
Variables | |
| unsigned int | counter = 0 |
| navigator_tool | nav |
| Animation | animation |
| AnimatedMesh | mesh_skinning |
| std::vector< cpe::v3 > | skel_position |
| std::vector< cpe::quaternion > | skel_orientation |
| bool | is_GPU = false |
| #define FRAMERATE 24.0 |
Referenced by display(), and draw_scene().
| static void display_callback | ( | ) | [static] |
References counter, display_manager_begin(), display_manager_end(), and draw_scene().
Referenced by setup_callback().

| int draw_scene | ( | ) |
TP ETI5 - CPE Lyon - 2010-2011
References Animation::bones, AnimatedMesh::draw(), AnimatedMesh::draw_cpu(), FRAMERATE, interpolate_skeletons(), is_GPU, skel_orientation, and skel_position.
Referenced by display_callback().

| double get_rand | ( | ) |
| static void idle_callback | ( | void | ) | [static] |
Referenced by setup_callback().
| static void interpolate_skeletons | ( | const std::vector< Joint > & | in1, | |
| const std::vector< Joint > & | in2, | |||
| float | t | |||
| ) | [static] |
References skel_orientation, and skel_position.
Referenced by draw_scene().
| static void keyboard_callback | ( | unsigned char | key, | |
| int | x, | |||
| int | y | |||
| ) | [static] |
References keyboard_manager().
Referenced by setup_callback().

| int load_model | ( | ) |
References Animation::bones, is_GPU, AnimatedMesh::load(), Animation::load(), AnimatedMesh::setup_shader(), skel_orientation, and skel_position.
Referenced by main().

| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References load_model(), print_help_start(), cpe::navigator_tool::screen_size_x(), cpe::navigator_tool::screen_size_y(), setup_callback(), and setup_opengl().

| static void motion_callback | ( | int | x, | |
| int | y | |||
| ) | [static] |
References motion_manager().
Referenced by setup_callback().

| static void mouse_callback | ( | int | button, | |
| int | action, | |||
| int | x, | |||
| int | y | |||
| ) | [static] |
References mouse_manager().
Referenced by setup_callback().

| static void reshape_callback | ( | int | width, | |
| int | height | |||
| ) | [static] |
References reshape_manager().
Referenced by setup_callback().

| int setup_callback | ( | ) |
References display_callback(), idle_callback(), keyboard_callback(), motion_callback(), mouse_callback(), and reshape_callback().
Referenced by main().

| unsigned int counter = 0 |
Referenced by display_callback(), and cpe::mesh_io_off::load_mesh_io_off().
| bool is_GPU = false |
Referenced by draw_scene(), and load_model().
| std::vector<cpe::quaternion> skel_orientation |
Referenced by display(), draw_scene(), interpolate_skeletons(), load_model(), and main().
| std::vector<cpe::v3> skel_position |
Referenced by display(), draw_scene(), interpolate_skeletons(), load_model(), and main().
1.6.3