1TEXMAKE(1) General Commands Manual TEXMAKE(1)
2
3
4
6 texmake - Prepare a texture for use with Pixie.
7
9 texmake [ options... ] inname.tif [ iname2.tif ... ] outname.tex
10
11 texmake -texture3d [ brickmap options... ] inname.ptc outname.bm
12
14 Texmake Prepares textures for efficient use in a render with rndr
15
16 The main documentation is maintained in html form and should be
17 included with your distribution in the html or doc directories.
18
19 The command allows for preparation of envionment maps with latitude-
20 logitude mapping, cube maps and also shadow maps. Texmake will output
21 a prepared texture in the same format as the input. Supported modes
22 are: 8bit per channel, 16bit per channel and float values per channel.
23
25 -mode <MODE>
26 Is one of:
27
28 <none> The default. Prepare a standard texture.
29
30 -shadow
31 Prepare a shadow map
32
33 -envlatl
34 Prepare a latitude-longitude environment map
35
36 -envcube
37 Prepare a cube environment map. There are expected to be
38 6 input textures specified before the output filename
39 representing the faces. These are specified in the fol‐
40 lowing order: +x -x +y -y +z -z.
41
42 -tilesize
43 Set the tile size for the output, defaults to 32.
44
45 -smode <MODE>
46 Set the s mode. This may be one of
47
48 periodic
49
50 nonperiodic
51
52 nowrap
53
54 clamp
55
56 black
57
58 -tmode <MODE>
59 Set the t mode, see -smode.
60
61 -filter <FILTER>
62 Set the filtering mode to <FILTER>. Valid modes are:
63
64 box
65
66 triangle
67
68 gaussian
69
70 catmull-rom
71
72 sinc
73
74 -filterwidth <WIDTH>
75 Set the swidth and twidth of the filter used to prepare the mip
76 levels.
77
78 -sfilterwidth <WIDTH>
79 Set the swidth of the filter.
80
81 -tfilterwidth <WIDTH>
82 Set the twidth of the filter.
83
84 -resize <MODE>
85 Set the resize mode. The up down and round modes resize the
86 image to be power of 2, but retain the image aspect ratio, fill‐
87 ing the rest with black. Adjustments are made in the renderer
88 so this is not apparent. The up- down- and rount- modes resize
89 the image to be power of 2 in all dimentions (stretching it).
90 The none mode does not rescale the image (used to be the default
91 mode).
92
93 Resize mode may be one of:
94
95 up
96
97 down
98
99 round
100
101 none
102
103 up-
104
105 down-
106
107 round-
108
109
110 -fov <FOV>
111 Set the field of view.
112
113 -input <PATH>
114 Set the input file path to PATH.
115
116 -output <PATH>
117 Set the output file path the PATH.
118
120 -maxerror 0.002
121 Set the maximum error factor for brickmap compres‐
122 sion - 0 to disable.
123
124 -radiusscale 1
125 Multiply point radii by radiussscale when making
126 the brickmap, use values >1 if brickmaps are
127 unnecessarily large due to overly small point
128 radii.
129
130 -maxdepth 10
131 Set the maximum depth of the brickmap
132
134 rndr(1), sdrc(1), show(1), sdrinfo(1)
135
137 See the sourceforge forums / tracker at
138 http://pixie.sourceforge.net
139
140
141
142 TEXMAKE(1)