25 LoaderFileTypeAssimp::
32 LoaderFileTypeAssimp::
33 ~LoaderFileTypeAssimp() {
34 if (_loader !=
nullptr) {
42 string LoaderFileTypeAssimp::
44 return "Assimp Importer";
50 string LoaderFileTypeAssimp::
51 get_extension()
const {
83 <<
"Reading " << path <<
"\n";
85 if (!_loader->
read(path)) {
bool read(const Filename &filename)
Reads from the indicated file.
A basic node of the scene graph or data graph.
Specifies parameters that may be passed to the loader.
void build_graph()
Converts scene graph structures into a Panda3D scene graph, with _root being the root node.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz or ....
void get_extensions(std::string &ext) const
Returns a space-separated list of extensions that Assimp can load, without the leading dots.
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...
virtual std::string get_additional_extensions() const
Returns a space-separated list of extension, in addition to the one returned by get_extension(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Class that interfaces with Assimp and builds Panda nodes to represent the Assimp structures.