ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/tmesh2rad.1
(Generate patch)

Comparing ray/doc/man/man1/tmesh2rad.1 (file contents):
Revision 1.1 by greg, Tue Mar 11 19:20:21 2003 UTC vs.
Revision 1.4 by greg, Mon Mar 30 18:28:35 2020 UTC

# Line 1 | Line 1
1 < .\" RCSid "$Id"
1 > .\" RCSid "$Id$"
2   .TH TMESH2RAD 1 3/18/96 RADIANCE
3   .SH NAME
4   tmesh2rad - convert a triangular mesh to a RADIANCE scene description
# Line 127 | Line 127 | The disadvantage to supporting an existing format is t
127   from other formats might prove difficult.
128   It was our hope to provide a "greatest common multiple" format that
129   would support all similar T-mesh formats, rather than supporting
130 < WaveFront's .obj format (for example) and being unable to associate
130 > WaveFront's .OBJ format (for example) and being unable to associate
131   a pattern with an object.
132   Converting from other formats should be relatively straightforward.
133   In many cases, an
# Line 146 | Line 146 | o test_object
146   m puce
147   # Our vertices:
148   v 1     10      15      5
149 < v 2     10      -15     5
150 < v 3     0       -15     0
151 < v 4     -10     15      -5
149 > v 2     10      \-15    5
150 > v 3     0       \-15    0
151 > v 4     \-10    15      \-5
152   # Two triangles joined together:
153   t 1 2 3
154   t 2 3 4
# Line 172 | Line 172 | puce polygon test_object.1
172   0
173   9
174                  10                 15                  5
175 <                10                -15                  5
176 <                 0                -15                  0
175 >                10                \-15                  5
176 >                 0                \-15                  0
177  
178   puce polygon test_object.2
179   0
180   0
181   9
182 <                10                -15                  5
183 <                 0                -15                  0
184 <               -10                 15                 -5
182 >                10                \-15                  5
183 >                 0                \-15                  0
184 >               \-10                 15                 \-5
185   .fi
186   .RE
187   .sp
# Line 192 | Line 192 | Here is another example:
192   .nf
193   # A partial cylinder:
194   m BluePlastic
195 < v 1 -14.673 -3.119    50 n -0.95677 -0.203374 1.17936e-10
196 < v 2 -12.136 -8.817   -50 n -0.791363 -0.574922 4.84915e-10
197 < v 3 -12.136 -8.817    50 n -0.791363 -0.574922 4.84915e-10
195 > v 1 \-14.673 \-3.119    50 n \-0.95677 \-0.203374 1.17936e\-10
196 > v 2 \-12.136 \-8.817   \-50 n \-0.791363 \-0.574922 4.84915e\-10
197 > v 3 \-12.136 \-8.817    50 n \-0.791363 \-0.574922 4.84915e\-10
198   t 1 2 3
199   m OrangePlastic
200 < v 1 -7.501 -12.991    50 n -0.549094 -0.812427 -1.45812e-09
201 < v 2 -12.136 -8.817    50 n -0.791363 -0.574922 4.84915e-10
202 < v 3 -12.136 -8.817   -50 n -0.791363 -0.574922 4.84915e-10
200 > v 1 \-7.501 \-12.991    50 n \-0.549094 \-0.812427 \-1.45812e\-09
201 > v 2 \-12.136 \-8.817    50 n \-0.791363 \-0.574922 4.84915e\-10
202 > v 3 \-12.136 \-8.817   \-50 n \-0.791363 \-0.574922 4.84915e\-10
203   t 1 2 3
204   m BluePlastic
205 < v 1 -1.568 -14.918    50 n -0.171094 -0.965568 -5.69788e-09
206 < v 2 -7.501 -12.991    50 n -0.549094 -0.812427 -1.45812e-09
207 < v 3 -7.501 -12.991   -50 n -0.429001 -0.881759 -3.6502e-09
205 > v 1 \-1.568 \-14.918    50 n \-0.171094 \-0.965568 \-5.69788e\-09
206 > v 2 \-7.501 \-12.991    50 n \-0.549094 \-0.812427 \-1.45812e\-09
207 > v 3 \-7.501 \-12.991   \-50 n \-0.429001 \-0.881759 \-3.6502e\-09
208   t 1 2 3
209   .fi
210   .RE

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines