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";
100make_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);
The name of a file, such as a texture file or an Egg file.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
A four-byte chunk ID appearing in an "IFF" file.
Stores the bounding box for the vertex data in a layer.
A single image file, or a numbered sequence of images (e.g.
A mapping of floating-point values per integer index.
Signals the start of a new layer.
An array of points that will be referenced by later chunks.
An array of polygons that will be referenced by later chunks.
Describes the shading attributes of a surface.
A mapping of floating-point values per integer index.
TypeHandle is the identifier used to differentiate C++ class types.
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.