= "I"!iiii!!mmmmmmmmmmmmmmmm! as above.
WARNING
This file format is not meant to be editable. There may be order specific or
numbering specific things in the file. Currently, the material ID is expected to
increase by one from zero for each material read in the file. The instance ID is
also expected to increase this way (
No swapping done. Assumes all multibyte quantities are in SGI byte order.
enum PolyTypeFlag ;
enum PolyTypeFlag {polyNormals = 1, polyUVs = 2};
enum LightType ;
enum LightType {ambientLight = 1, directionalLight, pointLight, coneSpotLight, sunLight};
RiBMTReader(istream &);
Default Constructor (must have an istream handy)
RiBMTReader(istream &);
RiBMTReader(RiIORead *in, int instNumber);
Reads an inst. Does not insert it into instList. That's for reading or for instances within this instance.
RiBMTReader(RiIORead *in, int instNumber);
~RiBMTReader();
Destructor
virtual ~RiBMTReader();
bool Read();
Read the input stream and return true for success.
virtual bool Read();
bool ReadGeometry();
Read in everything after the initial header (needed for instances)
bool ReadGeometry();
bool ReadCamera();
Read in a camera and construct it.
bool ReadCamera();
bool ReadPolygon();
Read in a polygon and build it.
bool ReadPolygon();
bool ReadTriMesh();
Read in a polygonal mesh (UNIMPLEMENTED)
bool ReadTriMesh();
bool ReadMaterial();
Handle materials (somehow)
bool ReadMaterial();
bool ReadPointLight();
Handle all point/Maya style lights
bool ReadPointLight();
bool ReadSetMaterial();
Handle setting the current material
bool ReadSetMaterial();
bool ReadInstance(bool &EOI);
Handle the creation of an instance (after delegating the reading) Note that the creation is a reference as well. EOI is set to true if the Read call closes the instance.
bool ReadInstance(bool &EOI);
bool ReadReferenceInstance();
Handle the reference of an instance
bool ReadReferenceInstance();
All Members
Ancestors
Inheritance chain for RiBMTReader:
Descendants
Class is not inherited by any others.
Generated from source by the Cocoon utilities on Fri Feb 25 15:15:19 2000
.