15 #include "loaderFileTypeStf.h"
16 #include "speedTreeNode.h"
34 string LoaderFileTypeStf::
36 return "SpeedTree compiled tree";
44 string LoaderFileTypeStf::
45 get_extension()
const {
69 if (!path.is_regular_file()) {
76 st->add_from_stf(path, options);
A basic node of the scene graph or data graph.
Specifies parameters that may be passed to the loader.
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...
Interfaces with the SpeedTree library to render SpeedTree objects, especially trees, within the Panda3D scene graph.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension)...
TypeHandle is the identifier used to differentiate C++ class types.
This defines the Loader interface to read SpeedTree STF files–a simple text file that describes a for...