Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
tdlmake: warning, reading texture 'earth.tif' may take a large
tdlmake: amount of memory. Please refer to user's manual if you are
tdlmake: unable to convert this file.

Examples

Here are some examples using tdlmake on the command line:

To create a texture named `grid.tdl' from a TIFF named `grid.tif' using a gaussian downsampling filter of width 4:

Code Block
tdlmake -filter gaussian -filterwidth 4 grid.tif grid.tdl

 

To create a cubic environment map in which all cube sides were rendered using 90 degrees field of view:

Code Block
% tdlmake -fov 90 -envcube \
  in1.tif in2.tif in3.tif in4.tif in5.tif in6.tif \
  envmap.tdl

or (won't work in a DOS shell) :

Code Block
tdlmake -fov 90 -envcube in?.tif envmap.tdl
To create a texture using the high quality downsampling mode and show progress while doing so:
Code Block
tdlmake -progress -quality high grid.tif grid.tdl
To create a shadow map from a zfile (The zfile display driver):
Code Block
 tdlmake -shadow data.z shadowmap.tdl