35 read_subchunks_iff(lin, stop_at);
43 void LwoSurfaceBlockTMap::
44 write(std::ostream &out,
int indent_level)
const {
47 write_chunks(out, indent_level + 2);
58 if (
id ==
IffId(
"CNTR") ||
59 id ==
IffId(
"SIZE") ||
60 id ==
IffId(
"ROTA")) {
63 }
else if (
id ==
IffId(
"OREF")) {
66 }
else if (
id ==
IffId(
"CSYS")) {
virtual IffChunk * make_new_chunk(IffInputFile *in, IffId id)
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the con...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Specifies whether texture coordinates are computed based on the vertices' world coordinates or local ...
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Specifies a reference object that the texture UV's are to be computed relative to.
TypeHandle is the identifier used to differentiate C++ class types.
virtual IffChunk * make_new_chunk(IffInputFile *in, IffId id)
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the con...
A four-byte chunk ID appearing in an "IFF" file.
IffId get_id() const
Returns the ID associated with this chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.