...
Info |
---|
In general, users do not need to execute tdlmake manually on their textures as 3Delight can will convert textures automatically. Reasons to prepare textures using this tool are: - Save start-up time for renders.
- Save local hard drive space as 3Delight will convert textures into a temporary local folder.
|
...
Section |
---|
Column |
---|
tdlmake preprocesses TIFF, PNG, JPEG, GIF, IFF(6), SGI, PIC(7), PSD(8), TGA(9), "bake," Radiance and OpenEXR files to convert them into an efficient texture format suitable to 3Delight. It can also convert a zfile into a shadow map. We recommend running tdlmake on all textures before rendering, for two reasons: tdlmake creates a mipmapped version of the original texture, allowing 3Delight to produce nicer images more efficiently.- 3Delight employs a caching mechanism for texture data which works well with tiled images. Using raw (striped) non-converted TIFFs may degrade overall performance.
Note that a converted file is a normal TIFF that can be viewed with any image viewer. We suggest using a `.tdl' extension for 3Delight texture files. |
|
Command Line Options
tdlmake
is invoked by specifying at least two file names and an optional set of command-line switches:
% tdlmake [options] input.tif [input2.tif ... input6.tif] output.tif
Option | Description |
---|
Output Format |
---|
-envlatl | |
-envcube | |
-twofish | |
-lightprobe | |
-dirtex | |
-shadow | |
Color Profiles |
---|
-colorspace space | |
-gamme g | |
-rgbagamma r g b a | |
| |
| |
Compression |
---|
-lzw | |
-deflate | |
-packbits | |
-c-
| |
Texture Filtering |
---|
-filter f | |
-filterwidth n | |
-sfilterwidth n | |
-tfilterwidth n | |
-window w | |
-blur n | |
-scale n | |
-qality | |
-nomipmap | |
Texture Wrapping Modes |
---|
-smode | |
-tmode | |
-mode | |
Output Data Type |
---|
-byte / -sbyte | |
-short / -sshort | |
-float | |
Image Orientation |
---|
-flipst | |
-flips | |
-flipt | |
Working With Large Textures
...
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:
...