Go to the documentation of this file.
17 #if defined(HAVE_FCOLLADA) && defined(IS_OSX)
35 #if defined(HAVE_FCOLLADA) && !defined(IS_OSX)
43 ConfigureDef(config_ptloader);
44 NotifyCategoryDef(ptloader,
"");
46 ConfigureFn(config_ptloader) {
51 (
"ptloader-units", DU_invalid,
52 PRC_DESC(
"Specifies the preferred units into which models will be converted "
53 "when using libptloader to automatically convert files to Panda "
54 "at load time, via e.g. \"pview myMayaFile.mb\"."));
57 (
"ptloader-load-node",
true,
58 PRC_DESC(
"Specify true to allow libptloader to invoke the more efficient "
59 "but possibly-experimental code to load model files directly into "
60 "PandaNode when possible. Specify false to force the loading to "
61 "always go through the egg library, which is more likely to be "
72 static bool initialized =
false;
78 LoaderFileTypePandatool::init_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
void init_libflt()
Initializes the library.
void init_liblwo()
Initializes the library.
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.
void register_deferred_type(const std::string &extension, const std::string &library)
Records a type associated with a particular extension to be loaded in the future.
void register_type(LoaderFileType *type)
Defines a new LoaderFileType in the universe.
This class specializes ConfigVariable as an enumerated type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Convert an obj file to egg data.
This class supervises the construction of an EggData structure from a DXF file.
void init_libptloader()
Initializes the library.
void init_libxfile()
Initializes the library.
Convert an Obj file to egg data.
This class maintains the set of all known LoaderFileTypes in the universe.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class supervises the construction of an EggData structure from a VRML file.
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static LoaderFileTypeRegistry * get_global_ptr()
Returns a pointer to the global LoaderFileTypeRegistry 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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class supervises the construction of an EggData structure from the data represented by the FltHe...