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