libjbt

jbt_bumpmap Class Reference

Bump mapping node. More...

#include <bumpmap.h>

Inherits jbt_ngnode.

List of all members.

Public Members

Protected Members


Detailed Description

Bump mapping node.

Author(s):
Mark Tigges

A non-geometric node to perturb the surface normal of a BlobTree.


Member Function Documentation

jbt_bumpmap::jbt_bumpmap( const jImage&, jbt_blobtree* )

Create a new bump mapping node. The perturbation will be according to change in the y channel of the image. The BlobTree to be bump mapped is passed in the second parameter.

void jbt_bumpmap::setScale( jFlt _k )

jbt_blobtree::Type jbt_bumpmap::type() const

Reimplemented from jbt_ngnode.

void jbt_bumpmap::normal( jNorm3& ) [protected]

Reimplemented from jbt_ngnode.


Member Data Documentation

jImage jbt_bumpmap::img [protected]

jFlt jbt_bumpmap::k [protected]


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