37 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDA_CHAN) 38 #error Buildsystem error: BUILDING_PANDA_CHAN not defined 41 Configure(config_chan);
42 NotifyCategoryDef(chan,
"");
45 (
"compress-channels",
false,
46 PRC_DESC(
"Set this true to enable lossy compression of animation channels " 47 "when writing to the bam file. This serves to reduce the size of " 48 "the bam file only; it does not reduce the memory footprint of the " 49 "channels when the bam file is loaded."));
65 (
"compress-chan-quality", 95,
66 PRC_DESC(
"The quality level is an integer number that generally ranges " 67 "between 0 and 100, where smaller numbers indicate greater " 68 "compression at the cost of quality, and larger numbers indicate " 69 "higher quality but less compression. Generally, 95 is the highest " 70 "useful value; values between 95 and 100 produce substantially " 71 "larger, but not substantially better, output files. This is akin " 72 "to the JPEG compression level."));
75 (
"read-compressed-channels",
true,
76 PRC_DESC(
"Set this false to disable reading of compressed animation channels, " 77 "even if the decompression code is available. The only reason you " 78 "might want to do this would be to speed load time when you don't " 79 "care about what the animation looks like."));
82 (
"interpolate-frames",
false,
83 PRC_DESC(
"Set this true to interpolate character animations between frames, " 84 "or false to hold each frame until the next one is ready. This can " 85 "also be changed on a per-character basis with " 86 "PartBundle::set_frame_blend_flag()."));
89 (
"restore-initial-pose",
true,
90 PRC_DESC(
"When this is true, setting all control effects on an Actor to 0 " 91 "causes it to return to its default, unanimated pose. When " 92 "false, it retains whatever its last-computed pose was " 93 "(which may or may not be the default pose)."));
96 (
"async-bind-priority", 100,
97 PRC_DESC(
"This specifies the priority assign to an asynchronous bind " 98 "task when it is requested via PartBundle::load_bind_anim(). " 99 "This controls the relative order in which asynchronous loads " 100 "happen (in particular, relative to asynchronous texture or " 101 "model loads). A higher number here makes the animations " 104 ConfigureFn(config_chan) {
105 AnimBundle::init_type();
106 AnimBundleNode::init_type();
107 AnimChannelBase::init_type();
108 AnimChannelMatrixXfmTable::init_type();
109 AnimChannelMatrixDynamic::init_type();
110 AnimChannelMatrixFixed::init_type();
111 AnimChannelScalarTable::init_type();
112 AnimChannelScalarDynamic::init_type();
113 AnimControl::init_type();
114 AnimGroup::init_type();
115 AnimPreloadTable::init_type();
116 BindAnimRequest::init_type();
117 MovingPartBase::init_type();
118 MovingPartMatrix::init_type();
119 MovingPartScalar::init_type();
120 PartBundle::init_type();
121 PartBundleNode::init_type();
122 PartGroup::init_type();
127 LMatrix4::init_type();
147 #ifndef STDFLOAT_DOUBLE 150 "AnimChannelFixed<LMatrix4f>");
152 "MovingPart<LMatrix4f>");
154 "MovingPart<float>");
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate a MovingPartMatrix object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate an AnimChannelMatrixDynamic object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate a AnimGroup object.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void record_alternate_name(TypeHandle type, const std::string &name)
Indicates an alternate name for the same type.
This is the template instantiation of MovingPartBase, on the particular type of value provided by the...
static void register_with_read_factory()
Factory method to generate a MovingPartScalar object.
static void register_with_read_factory()
Factory method to generate a PartBundle object.
static void register_with_read_factory()
Factory method to generate a AnimChannelScalarTable object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Tells the BamReader how to create objects of type AnimChannelMatrixFixed.
static void register_with_read_factory()
Factory method to generate a AnimBundle object.
static void register_with_read_factory()
Factory method to generate a AnimChannelScalarDynamic object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class is a special kind of AnimChannel that always returns just one fixed value.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate a PartGroup object.
static void register_with_read_factory()
Factory method to generate an AnimChannelMatrixXfmTable object.
static TypeRegistry * ptr()
Returns the pointer to the global TypeRegistry object.
The TypeRegistry class maintains all the assigned TypeHandles in a given system.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Tells the BamReader how to create objects of type AnimBundleNode.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate an AnimPreloadTable object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.