Short Contents

8.4 The texture display driver

This display driver writes a texture file which is readily usable by the texture() shadeop. It accepts the "mode", "smode" and "tmode" string parameters to set the wrap mode of the texture file to either "black" (the default), "clamp" or "periodic". An example usage would be:

Display "file.tdl" "texture" "rgba" "string mode" ["black"]
Note

This display driver operates by first writing a normal TIFF file and then running tdlmake. This means that tdlmake should be accessible.

3Delight 10.0. Copyright 2000-2011 The 3Delight Team. All Rights Reserved.