librtl

rtl_tiles Class Reference

rtl_material for producing tiled floors. More...

#include <texture.h>

Inherits rtl_binarytexture.

List of all members.

Public Members

Protected Members


Detailed Description

rtl_material for producing tiled floors.

This class allows you to use different materials for producing a tiled floor. By varying the dimension of the tiles, one can produce bricks or ... Also in the future bumping of the edges of the tiles will be performed according to some parameterization.

Example:


Member Function Documentation

rtl_tiles::rtl_tiles( jFlt = 1, jFlt = 1, jFlt = 1, bool = false )

Create a Tile texture with tile width, height, grout width, and offset with black tiles and white grout, the boolean is to indicate if the tiles should be offset.

rtl_tiles::rtl_tiles( const jColour&, const jColour&, jFlt = 1, jFlt = 1, jFlt = 1, bool = false )

Create a Tile texture with colour materials and tile width, height, grout width, and offset.

rtl_tiles::rtl_tiles( rtl_material*, rtl_material*, jFlt = 1, jFlt = 1, jFlt = 1, bool = false )

Create a Tile texture with given materials and tile width, height, grout width, and if the tiles should be offset.

jFlt rtl_tiles::weight( rtl_ray&, const jVec3&, jNorm3& ) [protected]

Reimplemented from rtl_binarytexture.


The documentation for this class was generated from the following file:
JSP / librtl v0.2 mtigges@cpsc.ucalgary.ca