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);
Describes the shading attributes of a surface.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A single image file, or a numbered sequence of images (e.g.
Stores the bounding box for the vertex data in a layer.
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.
Signals the start of a new layer.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
An array of polygons that will be referenced by later chunks.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
A mapping of floating-point values per integer index.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An array of points that will be referenced by later chunks.