librtl

rtl_turbulence Class Reference

Perlin turbulence combination of materials. More...

#include <texture.h>

Inherits rtl_binarytexture.

List of all members.

Public Members

Protected Members


Detailed Description

Perlin turbulence combination of materials.

Solid texturing by combining two materials using the perlin turbulence functions.

Example:


Member Function Documentation

rtl_turbulence::rtl_turbulence( jFlt = 3.0 )

Creates a black and white turbulence material with a weighting for the turbulence functon.

rtl_turbulence::rtl_turbulence( const jColour&, const jColour&, jFlt = 3.0 )

Creates a rtl_turbulence material from the given colours and weight for the turbulence function.

rtl_turbulence::rtl_turbulence( rtl_material*, rtl_material*, jFlt = 3.0 )

Builds a rtl_turbulence texture from the materials given.

jFlt& rtl_turbulence::weight()

Reference access to the weight for this rtl_turbulence texture.

jFlt rtl_turbulence::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