RiMaterialBuilder

Tries to build materials based on a chunk of binary data

[ IO | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION
GRAMMER
GRAMMER2

Class Summary

class RiMaterialBuilder
{
public:
enum MaterialType ;
enum TextureType ;
// Constructors and assignment
RiMaterialBuilder() ;
// Members
RiMaterial *Build(char *data, unsigned int len) const;
protected:
}; // RiMaterialBuilder


DESCRIPTION


GRAMMER

= * = !tt!!mmmm! = !tt!!mmmm!* mmmm = unsigned int bit field. (bits tell which part of the previous obj are to be modified.

GRAMMER2

= !tt! // eventually B[01] = !xx! = "c"fff or "C" = "f"f or "F" = "v"fff or "V" = "u"ff or "U"<2d vector texture>


enum MaterialType ;

Type of material node
diffuse
Standard diffuse brdf
coupled
Shirley coupled model (PacificGraphics 97)
supersurface
scattering model
cookTorrance
slightly modified Cook-Torrance Model

    enum MaterialType {diffuse = 1, coupled, super, cookTorrance};

enum TextureType ;

Type of material node
checker2D
Maya's 2dChecker Texture

    enum TextureType {checker2D = 1, ramp2D, file2D};

RiMaterialBuilder() ;

Default Constructor

    RiMaterialBuilder()  
;

Function is currently defined inline.


RiMaterial *Build(char *data, unsigned int len) const;

Build a material or return NULL if error/invalid/unavailable

    RiMaterial *Build(char *data, unsigned int len) const;

All Members

public:
enum MaterialType ;
enum TextureType ;
// Members
RiMaterial *Build(char *data, unsigned int len) const;
protected:

Ancestors

Class does not inherit from any other class.


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:15:19 2000 .