15 #include "config_ptloader.h" 18 #if defined(HAVE_FCOLLADA) && defined(IS_OSX) 19 #include "daeToEggConverter.h" 22 #include "loaderFileTypePandatool.h" 24 #include "config_flt.h" 25 #include "fltToEggConverter.h" 26 #include "config_lwo.h" 27 #include "lwoToEggConverter.h" 28 #include "dxfToEggConverter.h" 29 #include "vrmlToEggConverter.h" 30 #include "objToEggConverter.h" 31 #include "eggToObjConverter.h" 32 #include "config_xfile.h" 33 #include "xFileToEggConverter.h" 36 #if defined(HAVE_FCOLLADA) && !defined(IS_OSX) 37 #include "daeToEggConverter.h" 41 #include "loaderFileTypeRegistry.h" 44 ConfigureDef(config_ptloader);
45 NotifyCategoryDef(ptloader,
"");
47 ConfigureFn(config_ptloader) {
52 (
"ptloader-units", DU_invalid,
53 PRC_DESC(
"Specifies the preferred units into which models will be converted " 54 "when using libptloader to automatically convert files to Panda " 55 "at load time, via e.g. \"pview myMayaFile.mb\"."));
58 (
"ptloader-load-node",
true,
59 PRC_DESC(
"Specify true to allow libptloader to invoke the more efficient " 60 "but possibly-experimental code to load model files directly into " 61 "PandaNode when possible. Specify false to force the loading to " 62 "always go through the egg library, which is more likely to be " 75 static bool initialized =
false;
81 LoaderFileTypePandatool::init_type();
This is a convenience class to specialize ConfigVariable as a boolean type.
static LoaderFileTypeRegistry * get_global_ptr()
Returns a pointer to the global LoaderFileTypeRegistry object.
This class supervises the construction of an EggData structure from the data represented by the FltHe...
void register_type(LoaderFileType *type)
Defines a new LoaderFileType in the universe.
void register_deferred_type(const string &extension, const string &library)
Records a type associated with a particular extension to be loaded in the future. ...
Convert an Obj file to egg data.
This class supervises the construction of an EggData structure from a VRML file.
This class specializes ConfigVariable as an enumerated type.
This class maintains the set of all known LoaderFileTypes in the universe.
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
Convert an obj file to egg data.
This class supervises the construction of an EggData structure from a DXF file.