In file gfx/libpaper/Paper.hxx:

class Paper::TexGen

Simple, non-lighting-dependent TexGen.

Documentation

Simple, non-lighting-dependent TexGen. Transforms paper coordinates into texture coordinates using the given matrix.

Inheritance:

TexGen


Public Fields

[more]const float* explicit_mat
Pointer to current translation matrix used in texcoords_explicit().

Public Methods

[more] TexGen (const float* tex_mat)
Creates a new TexGen.

Protected Fields

[more]float tex_mat [16]
Matrix used to transform paper position into texture coordinates.

ofloat tex_mat[16]
Matrix used to transform paper position into texture coordinates.

oconst float* explicit_mat
Pointer to current translation matrix used in texcoords_explicit().

o TexGen(const float* tex_mat)
Creates a new TexGen.
Parameters:
- tex_mat A float vector of 12 elements, components of s, t and r vectors, respectively.


Direct child classes:
TexGenLightmap
TexGenEmboss

Alphabetic index Hierarchy of classes



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