Ri3DMayaTexture

Base class for maya 2d textures (handles 2dtexturePlacement data)

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

Quick Index

DESCRIPTION

Class Summary

class Ri3DMayaTexture : public RiMayaTexture
{
public:
// Constructors and assignment
Ri3DMayaTexture();
// place3DTexture stuff
void SetPlacementTransform(const RiAffineTMatrix3 &trans);
protected:
RiVector3 DoTransform(RiMaterialRegion &hit);
}; // Ri3DMayaTexture


DESCRIPTION

As of now, noise is not being used.


Ri3DMayaTexture();

Default Constructor

    Ri3DMayaTexture();

void SetPlacementTransform(const RiAffineTMatrix3 &trans);

set the transform on the surface

    void SetPlacementTransform(const RiAffineTMatrix3 &trans);

RiVector3 DoTransform(RiMaterialRegion &hit);

return false if uv is outside coverage window

    RiVector3 DoTransform(RiMaterialRegion &hit);

All Members

public:
// Accessors
RiReal GetScalar(RiMaterialRegion &hit); // pure virtual
RiVector2 GetVector2(RiMaterialRegion &hit); // pure virtual
RiVector3 GetVector3(RiMaterialRegion &hit); // pure virtual
RiSpectrum GetSpectrum(RiMaterialRegion &hit); // pure virtual
// General Color properties
void SetDefaultColor(const RiVector3 &rgbDefault);
RiVector3 GetDefaultColor();
void SetColorGain(const RiVector3 &rgbGain);
void SetColorOffset(const RiVector3 &rgbOffset);
void SetInvertColor(bool on);
// place3DTexture stuff
void SetPlacementTransform(const RiAffineTMatrix3 &trans);
protected:
RiVector3 DoColorCorrection(RiVector3 rgb);
RiVector3 DoTransform(RiMaterialRegion &hit);

Ancestors

Inheritance chain for Ri3DMayaTexture:


Descendants


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