51 std::string _top_joint_name;
52 bool _got_invert_transform;
53 bool _invert_transform;
54 std::string _transform_channels;
Represents a single character, as read and collected from several models and animation files.
This class is used during joint optimization or restructuring to store the table of interim joint com...
This is the base class for a family of programs that operate on a number of character models and thei...
This is one node of a hierarchy of EggJointData nodes, each of which represents a single joint of the...
This is a base class for EggJointNodePointer and EggMatrixTablePointer.
A base class for things that may be directly added into the egg hierarchy.
Reads a character model and/or animations and strips out the animation from one of the top joints fro...
void check_transform_channels()
Checks the _transform_channels string to ensure that it contains only the expected nine letters,...
void adjust_transform(LMatrix4d &mat) const
Adjust the transform extracted from the "top" joint according to the -s and -i/-n options,...
void strip_anim(EggCharacterData *char_data, EggJointData *joint_data, int from_model, EggCharacterData *from_char, EggJointData *top_joint, EggCharacterDb &db)
Applies the channels from joint _top_joint in model from_model to the joint referenced by joint_data.
void strip_anim_vertices(EggNode *egg_node, int into_model, int from_model, EggJointData *top_joint, EggCharacterDb &db)
Applies the channels from joint _top_joint in model from_model to the vertices at egg_node.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.