73 void reparent_decals();
74 void start_sequences();
77 const LMatrix4d *transform,
bool is_dynamic,
99 class PrimitiveUnifier {
102 INLINE
bool operator < (
const PrimitiveUnifier &other)
const;
105 GeomPrimitive::ShadeModel _shade_model;
113 const LMatrix4d &mat);
115 const LMatrix4d &mat);
117 const LMatrix4d &mat);
119 void load_textures();
120 bool load_texture(TextureDef &def,
EggTexture *egg_tex);
122 Texture::CompressionMode convert_compression_mode(EggTexture::CompressionMode compression_mode)
const;
123 SamplerState::WrapMode convert_wrap_mode(EggTexture::WrapMode wrap_mode)
const;
126 void separate_switches(
EggNode *egg_node);
127 void emulate_bface(
EggNode *egg_node);
139 void check_for_polysets(
EggGroup *egg_group,
bool &all_polysets,
144 bool is_dynamic,
CharacterMaker *character_maker,
bool ignore_color);
157 bool has_overall_color,
const LColor &overall_color);
163 bool make_sphere(
EggGroup *start_group, EggGroup::CollideFlags flags,
164 LPoint3 ¢er, PN_stdfloat &radius, LColor &color);
166 bool make_box(
EggGroup *start_group, EggGroup::CollideFlags flags,
167 const LMatrix4 &xform, LPoint3 &min_p, LPoint3 &max_p);
168 bool make_box(
EggGroup *start_group, EggGroup::CollideFlags flags,
169 LPoint3 &min_p, LPoint3 &max_p, LColor &color);
174 EggGroup::CollideFlags flags);
176 EggGroup::CollideFlags flags);
178 EggGroup::CollideFlags flags);
180 EggGroup::CollideFlags flags);
182 EggGroup::CollideFlags flags);
184 EggGroup::CollideFlags flags);
186 EggGroup::CollideFlags flags);
188 EggGroup::CollideFlags flags);
190 EggGroup::CollideFlags flags);
192 EggGroup::CollideFlags flags);
197 EggGroup::CollideFlags flags);
201 EggGroup::CollideFlags flags);
204 bool expand_all_object_types(
EggNode *egg_node);
209 const std::string &object_type);
211 static TextureStage::CombineMode
213 EggTexture::CombineChannel channel);
215 static TextureStage::CombineSource
217 EggTexture::CombineChannel channel,
int n);
219 static TextureStage::CombineOperand
220 get_combine_operand(
const EggTexture *egg_tex,
221 EggTexture::CombineChannel channel,
int n);
223 static ColorBlendAttrib::Mode
224 get_color_blend_mode(EggGroup::BlendMode mode);
226 static ColorBlendAttrib::Operand
227 get_color_blend_operand(EggGroup::BlendOperand operand);
243 class VertexPoolTransform {
245 bool operator < (
const VertexPoolTransform &other)
const;
248 LMatrix4d _transform;
265 bool _dynamic_override;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
Converts an EggGroup hierarchy, beginning with a group with <Dart> set, to a character node with join...
A node in the scene graph that can hold any number of CollisionSolids.
The abstract base class for all things that can collide with other things in the world,...
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
This class keeps track of all the state we must make note of during the graph traversal,...
A type of group node that holds related subnodes.
This is the primary interface into all the egg data, and the root of the egg file structure.
A base class for nodes in the hierarchy that are not leaf nodes.
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Converts an egg data structure, possibly read from an egg file but not necessarily,...
A base class for things that may be directly added into the egg hierarchy.
A parametric NURBS curve.
A parametric NURBS surface.
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
This class is used within this package only to record the render state that should be assigned to eac...
Defines a texture map that may be applied to geometry.
A collection of vertices.
A node that holds Geom objects, renderable pieces of geometry.
This is an abstract base class for a family of classes that represent the fundamental geometry primit...
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
Encodes a string name in a hash table, mapping it to a pointer.
A node in the scene graph that can hold an occluder polygon, which must be a rectangle.
A basic node of the scene graph or data graph.
A node in the scene graph that can hold a Portal Polygon, which is a rectangle.
This is the base class for a number of render attributes (other than transform) that may be set on sc...
Defines the properties of a named stage of the multitexture pipeline.
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL map.
This is our own Panda specialization on the default STL set.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.