Go to the documentation of this file.
52 if ((top & 0xff00) == 0xff00) {
55 return ((
int)(top & 0xff) << 16) | bottom;
81 size_t colon = name.find(
':');
82 if (colon == string::npos) {
88 string device = name.substr(0, colon);
89 string path = name.substr(colon + 1);
91 nout <<
"Ignoring filename device " << device <<
"\n";
100 make_new_chunk(
IffId id) {
101 if (
id ==
IffId(
"FORM")) {
104 }
else if (
id ==
IffId(
"LAYR")) {
107 }
else if (
id ==
IffId(
"PNTS")) {
110 }
else if (
id ==
IffId(
"VMAP")) {
113 }
else if (
id ==
IffId(
"VMAD")) {
116 }
else if (
id ==
IffId(
"POLS")) {
119 }
else if (
id ==
IffId(
"TAGS") ||
120 id ==
IffId(
"SRFS")) {
123 }
else if (
id ==
IffId(
"PTAG")) {
126 }
else if (
id ==
IffId(
"CLIP")) {
129 }
else if (
id ==
IffId(
"SURF")) {
132 }
else if (
id ==
IffId(
"BBOX")) {
136 return IffInputFile::make_new_chunk(
id);
An array of points that will be referenced by later chunks.
A mapping of floating-point values per integer index.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Describes the shading attributes of a surface.
Signals the start of a new layer.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A four-byte chunk ID appearing in an "IFF" file.
TypeHandle is the identifier used to differentiate C++ class types.
A mapping of floating-point values per integer index.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Stores the bounding box for the vertex data in a layer.
A single image file, or a numbered sequence of images (e.g.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
The name of a file, such as a texture file or an Egg file.
An array of polygons that will be referenced by later chunks.