Go to the documentation of this file.
14 #ifndef FLTTOEGGCONVERTER_H
15 #define FLTTOEGGCONVERTER_H
57 virtual std::string
get_name()
const;
68 bool _compose_transforms;
94 bool parse_comment(
const std::string &comment,
const std::string &name,
97 PT_EggVertex make_egg_vertex(
const FltVertex *flt_vertex);
98 PT_EggTexture make_egg_texture(
const FltTexture *flt_texture);
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 is our own Panda specialization on the default STL vector.
Represents a single texture in the texture palette.
A base class for any of a broad family of flt beads that include an ID.
This is our own Panda specialization on the default STL map.
This is a base class for both FltFace and FltMesh, which are two different kinds of geometric primiti...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for nodes in the hierarchy that are not leaf nodes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
virtual std::string get_name() const
Returns the English name of the file type this converter supports.
The main grouping bead of the flt file.
virtual DistanceUnit get_input_units()
This may be called after convert_file() has been called and returned true, indicating a successful co...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A Level-of-Detail record.
This is a base class for a family of converter classes that manage a conversion from some file type t...
The base class for all kinds of records in a MultiGen OpenFlight file.
virtual std::string get_extension() const
Returns the common extension of the file type this converter supports.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a single vertex in the vertex palette.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The main objecting bead of the flt file.
bool convert_flt(const FltHeader *flt_header)
Fills up the egg_data structure according to the indicated lwo structure.
virtual SomethingToEggConverter * make_copy()
Allocates and returns a new copy of the converter.
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
This keeps track of relevant things about the traversal as we walk through the flt hierarchy.
Defines a texture map that may be applied to geometry.
A collection of vertices.
A base class for things that may be directly added into the egg hierarchy.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension),...
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
An external reference to another flt file (possibly to a specific bead within the flt file).
This class supervises the construction of an EggData structure from the data represented by the FltHe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual bool convert_file(const Filename &filename)
Handles the reading of the input file and converting it to egg.