Maps a texture onto the object struck by a ray. More...
#include <texture.h>
Inherits rtl_texture.
This class assumes that the uv function was implemented
for the object that was struck. The mapping adjust the diffuse colour
of the object.
Example:
Creates a texture mapping object from the given texture map. The two integers specify how much to tile the texture.
Texture space transformation. The given matrix is multiplied into the current texture space transformation matrix. This matrix if set is applied to the u,v coordinates.
Object space transformation. The given matrix is multiplied into the current object space transformation matrix. This matrix if set is applied to the point for which u,v coordinates will be computed.
[protected]
Reimplemented from rtl_texture.
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[static, protected]
[static, protected]