|
Blender V5.0
|
#include "usd_writer_armature.hh"#include "usd_armature_utils.hh"#include "usd_attribute_utils.hh"#include "usd_utils.hh"#include "ANIM_action.hh"#include "BLI_listbase.h"#include "BKE_action.hh"#include "DNA_armature_types.h"#include <pxr/base/gf/matrix4d.h>#include <pxr/base/gf/matrix4f.h>#include <pxr/usd/usdGeom/primvarsAPI.h>#include <pxr/usd/usdSkel/animation.h>#include <pxr/usd/usdSkel/bindingAPI.h>#include <pxr/usd/usdSkel/skeleton.h>#include <pxr/usd/usdSkel/utils.h>#include "CLG_log.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::io |
| namespace | blender::io::usd |
Functions | |
| static pxr::GfMatrix4d | parent_relative_pose_mat (const bPoseChannel *pchan) |
| static void | initialize (const Object *obj, pxr::UsdSkelSkeleton &skel, pxr::UsdSkelAnimation &skel_anim, const blender::Map< blender::StringRef, const Bone * > *deform_bones, bool allow_unicode) |
| static void | blender::io::usd::add_anim_sample (pxr::UsdSkelAnimation &skel_anim, const Object *obj, const pxr::UsdTimeCode time, const blender::Map< blender::StringRef, const Bone * > *deform_map, pxr::UsdUtilsSparseValueWriter &value_writer) |
Variables | |
| static CLG_LogRef | LOG = {"io.usd"} |
|
static |
Definition at line 52 of file usd_writer_armature.cc.
References BKE_pose_channel_find_name(), blender::io::usd::BlenderBoneLengths(), blender::io::usd::build_usd_joint_path(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::io::usd::create_pose_joints(), parent_relative_pose_mat(), and blender::io::usd::visit_bones().
Referenced by read_layer_samples().
|
static |
Get the pose matrix for the given channel. The matrix is computed relative to its parent, if a parent exists. The returned matrix corresponds to the USD joint-local transform.
Definition at line 34 of file usd_writer_armature.cc.
References bPoseChannel::parent, and bPoseChannel::pose_mat.
Referenced by blender::io::usd::add_anim_sample(), and initialize().
|
static |
Definition at line 27 of file usd_writer_armature.cc.