In file gfx/libpaper/Paper.hxx:

class Paper::LightParam

Specifies texture coordinate system and the parameters of the diffuse light for lighting the backgrounds using bump mapping

Documentation

Specifies texture coordinate system and the parameters of the diffuse light for lighting the backgrounds using bump mapping

Inheritance:

LightParam


Public Fields

[more]ZVec e0
Paper coordinate system basis vectors and origin in object coordinates.
[more]ZVec Light
Light position in object coordinates.
[more]float Light_w
Light position w component.
[more]float color [4]
Light color

oZVec e0
Paper coordinate system basis vectors and origin in object coordinates. Paper coordinates x, y, (and z) are mapped to object position (orig + x e0 + y e1 + z e2). For the eye-linear TexGens, the basis and origin vectors are transformed to eye coordinates using the modelview matrix in effect at the time the TexGen::setUp method is called. Thus, after setup, the user can switch to a different coordinate system for drawing the paper vertices. e0, e1, and e2 should be orthogonal and the same length.

oZVec Light
Light position in object coordinates. Light position should be given in the same coordinate system as the basis vectors above.

ofloat Light_w
Light position w component. Basically, Light_w should be 1.0 for finite light and 0.0 for infinite light

ofloat color[4]
Light color


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.