15 #ifndef COLLADALOADER_H
16 #define COLLADALOADER_H
18 #include "pandabase.h"
19 #include "config_collada.h"
20 #include "typedReferenceCount.h"
21 #include "pandaNode.h"
22 #include "modelRoot.h"
24 #include "pta_LVecBase4.h"
31 class domBind_material;
34 class domVisual_scene;
37 class domInstance_geometry;
63 const domCOLLADA* _collada;
67 void load_visual_scene(domVisual_scene &scene,
PandaNode *parent);
68 void load_node(domNode &node,
PandaNode *parent);
69 void load_tags(domExtra &extra,
PandaNode *node);
70 void load_camera(domCamera &cam,
PandaNode *parent);
71 void load_instance_geometry(domInstance_geometry &inst,
PandaNode *parent);
73 void load_light(domLight &light,
PandaNode *parent);
76 #include "colladaLoader.I"
A node of this type is created automatically at the root of each model file that is loaded...
Object that interfaces with the COLLADA DOM library and loads the COLLADA structures into Panda nodes...
A basic node of the scene graph or data graph.
A derivative of Light and of PandaNode.
void build_graph()
Converts scene graph structures into a Panda3D scene graph, with _root being the root node...
The name of a file, such as a texture file or an Egg file.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
Class that deals with binding materials to COLLADA geometry.
A node that holds Geom objects, renderable pieces of geometry.
bool read(const Filename &filename)
Reads from the indicated file.