ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/ref/combined.rad
(Generate patch)

Comparing ray/test/renders/ref/combined.rad (file contents):
Revision 1.1 by greg, Sun Nov 18 16:37:32 2018 UTC vs.
Revision 1.4 by greg, Tue Nov 20 17:12:41 2018 UTC

# Line 1 | Line 1
1 # xform -n i0
2 # RCSid $Id$
3 # Basic materials used for walls, etc.
1  
2   void plastic wall_mat
3   0
# Line 21 | Line 18 | void plastic black_outside
18   0
19   0
20   5               0.05               0.05               0.05                  0                  0
24 # RCSid $Id$
21  
22   void metal chrome
23   0
24   0
25   5                0.6                0.6               0.75                  1                  0
30 # RCSid $Id$
26  
27   void metal gold
28   0
29   0
30   5            0.99717           0.781957           0.334172                  1                  0
36 # RCSid $Id$
37 # A photographed sunset taken on Nov. 6 2018, Berkeley CA
38 # Artificial sun source scaled to cover circumsolar
31  
32   void colorpict sunset_pat
33   9 red green blue sunset.hdr fisheye.cal fish_u fish_v -rz 90
# Line 61 | Line 53 | sol_light source i0.bigsun
53   0
54   0
55   4            -0.9338              -0.35              0.001                  1
64 # xform -n dielectric.1 -t 0 0 0
65 # RCSid $Id$
66 # Walls of our diorama
67 # xform -ry -90
68 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
56  
57   black_outside polygon dielectric.1.wall.b
58   0
# Line 132 | Line 119 | black_outside polygon dielectric.1.wall.4
119                   -8               -0.1                3.1
120                   -8               -0.1               -0.1
121   -6.12323399574e-18               -0.1               -0.1
135 # black_outside polygon wall.5
136 # 0
137 # 0
138 # 12
139 # -6.12323399574e-18               -0.1               -0.1
140 #                 -8               -0.1               -0.1
141 #                 -8                  0  4.89858719659e-16
142 #                  0                  0                  0
122  
123   wall_mat polygon dielectric.1.wall.6
124   0
# Line 176 | Line 155 | floor_mat polygon dielectric.1.wall.9
155                   -8                  5  4.89858719659e-16
156                   -8                  0  4.89858719659e-16
157                    0                  0                  0
179 # RCSid $Id$
180 # Rectangular opening cut in end wall
181 # xform -ry -90 -t -8 0 0
182 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
158  
159   wall_mat polygon dielectric.1.end_wall.b
160   0
# Line 291 | Line 266 | wall_mat polygon dielectric.1.end_wall.9
266                 -8.2                  4                  1
267                 -8.2                  1                  1
268                   -8                  1                  1
294 # RCSid $Id$
295 #
296 # Vase model courtesy Tom Mertens from web page:
297 #       http://people.csail.mit.edu/tmertens/textransfer/data
298 # Include acknowledgment in any published work:
299 #       "textured 3D model from the MIT CSAIL database"
300 #
301 # Origin is at center of base; Z-axis is up.
302 # Vase is approx. 23cm tall
303 # Moved into middle of room for testing
304 #
269  
270   void colorpict vase_pat
271   13 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 0 0
# Line 317 | Line 281 | vase_clay mesh dielectric.1.vase
281   17 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 0 0
282   0
283   0
320 # RCSid $Id$
321 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
322 #
323 # Wellmade 2 lamp fixture, model 395-12A-248RS
324 #
325 # Dimensions in inches, fixture parallel to y axis, center at origin
326 #
284  
285   void brightdata lum_dist
286 < 21 flatcorr source/wellmade/395-12A-248RS.dat source.cal src_phi4 src_theta -i 1 -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 0 0
286 > 19 flatcorr rect_fixture.dat source.cal src_phi4 src_theta -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 0 0
287   0
288   0
332 # this is scaled by 1/area (SI)
289  
290   lum_dist light lum_bright
291   0
292   0
293   3                 20                 20                 20
338 # 3               1.55               1.55               1.55
294  
295   lum_bright polygon dielectric.1.luminaire
296   0
# Line 345 | Line 300 | lum_bright polygon dielectric.1.luminaire
300       -4.57784968833      2.22695014728              2.999
301       -4.57784968833      2.77304985273              2.999
302       -3.42215031167      2.77304985272              2.999
348 # RCSid $Id$
349 # Pink glass pane made of two dieletric faces to fit any opening in end wall
303  
304   void dielectric dielectric_pink
305   0
# Line 370 | Line 323 | dielectric_pink polygon dielectric.1.blue_glazing
323                -8.15                  5                  3
324                -8.15                  5                  0
325                -8.15                  0                  0
373 # xform -n glass.2 -t 0 5.1 0
374 # RCSid $Id$
375 # Walls of our diorama
376 # xform -ry -90
377 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
326  
327   black_outside polygon glass.2.wall.b
328   0
# Line 441 | Line 389 | black_outside polygon glass.2.wall.4
389                   -8                  5                3.1
390                   -8                  5               -0.1
391   -6.12323399574e-18                  5               -0.1
444 # black_outside polygon wall.5
445 # 0
446 # 0
447 # 12
448 # -6.12323399574e-18               -0.1               -0.1
449 #                 -8               -0.1               -0.1
450 #                 -8                  0  4.89858719659e-16
451 #                  0                  0                  0
392  
393   wall_mat polygon glass.2.wall.6
394   0
# Line 485 | Line 425 | floor_mat polygon glass.2.wall.9
425                   -8               10.1  4.89858719659e-16
426                   -8                5.1  4.89858719659e-16
427                    0                5.1                  0
488 # RCSid $Id$
489 # Rectangular opening cut in end wall
490 # xform -ry -90 -t -8 0 0
491 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
428  
429   wall_mat polygon glass.2.end_wall.b
430   0
# Line 600 | Line 536 | wall_mat polygon glass.2.end_wall.9
536                 -8.2                9.1                  1
537                 -8.2                6.1                  1
538                   -8                6.1                  1
603 # RCSid $Id$
604 # A green metal torus with glowing red stripes
539  
540   void metal green_metal
541   0
# Line 617 | Line 551 | void mixfunc striped
551   10 green_metal red_glow "if(mod(atan2(Py-A2,Px-A1),PI/10) - PI/20, 1, 0)" . -i 1 -t 0 5.1 0
552   0
553   3                 -4                2.5                1.5
620 # xform -ry 52 -s .2 -t -4 2.5 1.5
621 # genrev striped torus sin(2*PI*t) 2+cos(2*PI*t) 32 -s
554  
555   striped texfunc Phong
556   20 rev_dx rev_dy rev_dz rev.cal -i 1 -ry 52 -s .2 -t -4 2.5 1.5 -i 1 -t 0 5.1 0
# Line 1035 | Line 967 | Phong cone glass.2.torus.32
967       -4.03074665433                7.6      1.47597808091
968                   -4                7.6                1.5
969        0.59615705608                0.6
1038 # RCSid $Id$
1039 # A clear glazing used to create rectangular illum at window
1040 #@mkillum f=glass_ill c=d d=50 s=64
970  
971   void glass glass_clear
972   0
973   0
974   3               0.92               0.92               0.92
975  
976 < glass_clear polygon glass.2.clear_glazing
976 > void colordata illum_mat.dist
977 > 15 red green blue glass_illR.dat glass_illG.dat glass_illB.dat illum.cal il_alth il_azih -i 1 -t 0 5.1 0
978   0
979 + 9                  0                  1                  0                  0                  0                  1                  1                  0                  0
980 +
981 + illum_mat.dist illum illum_mat
982 + 1 glass_clear
983   0
984 + 3           0.946982           0.577398           0.452005
985 +
986 + illum_mat polygon glass.2.clear_glazing
987 + 0
988 + 0
989   12
990                 -8.1                6.1                  1
991                 -8.1                9.1                  1
992                 -8.1                9.1                  2
993                 -8.1                6.1                  2
1055 # xform -n inst.3 -t 0 10.2 0
1056 # RCSid $Id$
1057 # Walls of our diorama
1058 # xform -ry -90
1059 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
994  
995   black_outside polygon inst.3.wall.b
996   0
# Line 1123 | Line 1057 | black_outside polygon inst.3.wall.4
1057                   -8               10.1                3.1
1058                   -8               10.1               -0.1
1059   -6.12323399574e-18               10.1               -0.1
1126 # black_outside polygon wall.5
1127 # 0
1128 # 0
1129 # 12
1130 # -6.12323399574e-18               -0.1               -0.1
1131 #                 -8               -0.1               -0.1
1132 #                 -8                  0  4.89858719659e-16
1133 #                  0                  0                  0
1060  
1061   wall_mat polygon inst.3.wall.6
1062   0
# Line 1167 | Line 1093 | floor_mat polygon inst.3.wall.9
1093                   -8               15.2  4.89858719659e-16
1094                   -8               10.2  4.89858719659e-16
1095                    0               10.2                  0
1170 # RCSid $Id$
1171 # A closed wall for the end cap of our diorama
1172 # xform -t -8.2 -.1 -.1
1173 # genbox wall_mat end_wall .2 5.2 3.2
1096  
1097   wall_mat polygon inst.3.end_wall.1540
1098   0
# Line 1225 | Line 1147 | wall_mat polygon inst.3.end_wall.6457
1147                 -8.2               10.1                3.1
1148                   -8               10.1                3.1
1149                   -8               15.3                3.1
1228 # RCSid $Id$
1229 #
1230 # Test of instance primitive and spaces in names and modifiers
1231 #
1150  
1151   void instance "inst.3.porsche #1"
1152   15 porsche.octf -rx 90 -s .15 -t -4 2 1 -i 1 -t 0 10.2 0
# Line 1244 | Line 1162 | void ashik2 "ashik mat"
1162   15 porsche.octf -rx 90 -s .15 -t -4 3 1 -i 1 -t 0 10.2 0
1163   0
1164   0
1247 # RCSid $Id$
1248 # A pair of spotlights, one pink and one bluish
1165  
1166   void spotlight pink_spotlight
1167   0
# Line 1274 | Line 1190 | blue_spotlight ring inst.3.bspot
1190                   -2               14.2                2.5
1191                 -2.5               -1.5                 -2
1192                    0                0.2
1277 # RCSid $Id$
1278 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
1279 #
1280 # Wellmade 2 lamp fixture, model 395-12A-248RS
1281 #
1282 # Dimensions in inches, fixture parallel to y axis, center at origin
1283 #
1193  
1194   void brightdata lum_dist
1195 < 21 flatcorr source/wellmade/395-12A-248RS.dat source.cal src_phi4 src_theta -i 1 -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 10.2 0
1195 > 19 flatcorr rect_fixture.dat source.cal src_phi4 src_theta -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 10.2 0
1196   0
1197   0
1289 # this is scaled by 1/area (SI)
1198  
1199   lum_dist light lum_bright
1200   0
1201   0
1202   3                 20                 20                 20
1295 # 3               1.55               1.55               1.55
1203  
1204   lum_bright polygon inst.3.luminaire
1205   0
# Line 1302 | Line 1209 | lum_bright polygon inst.3.luminaire
1209       -4.57784968833      12.4269501473              2.999
1210       -4.57784968833      12.9730498527              2.999
1211       -3.42215031167      12.9730498527              2.999
1305 # xform -n mesh.4 -t 0 15.3 0
1306 # RCSid $Id$
1307 # Walls of our diorama
1308 # xform -ry -90
1309 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
1212  
1213   black_outside polygon mesh.4.wall.b
1214   0
# Line 1373 | Line 1275 | black_outside polygon mesh.4.wall.4
1275                   -8               15.2                3.1
1276                   -8               15.2               -0.1
1277   -6.12323399574e-18               15.2               -0.1
1376 # black_outside polygon wall.5
1377 # 0
1378 # 0
1379 # 12
1380 # -6.12323399574e-18               -0.1               -0.1
1381 #                 -8               -0.1               -0.1
1382 #                 -8                  0  4.89858719659e-16
1383 #                  0                  0                  0
1278  
1279   wall_mat polygon mesh.4.wall.6
1280   0
# Line 1417 | Line 1311 | floor_mat polygon mesh.4.wall.9
1311                   -8               20.3  4.89858719659e-16
1312                   -8               15.3  4.89858719659e-16
1313                    0               15.3                  0
1420 # RCSid $Id$
1421 # A closed wall for the end cap of our diorama
1422 # xform -t -8.2 -.1 -.1
1423 # genbox wall_mat end_wall .2 5.2 3.2
1314  
1315   wall_mat polygon mesh.4.end_wall.1540
1316   0
# Line 1475 | Line 1365 | wall_mat polygon mesh.4.end_wall.6457
1365                 -8.2               15.2                3.1
1366                   -8               15.2                3.1
1367                   -8               20.4                3.1
1478 # xform -n mesh.plainclothes.5.0 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 0 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1479 # RCSid $Id$
1480 #
1481 # Mesh test with a woman model
1482 #
1368  
1369   void mesh mesh.plainclothes.5.0.woman
1370   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 0 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1371   0
1372   0
1488 # xform -n mesh.plainclothes.5.1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 1 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1489 # RCSid $Id$
1490 #
1491 # Mesh test with a woman model
1492 #
1373  
1374   void mesh mesh.plainclothes.5.1.woman
1375   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 1 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1376   0
1377   0
1498 # xform -n mesh.plainclothes.5.2 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 2 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1499 # RCSid $Id$
1500 #
1501 # Mesh test with a woman model
1502 #
1378  
1379   void mesh mesh.plainclothes.5.2.woman
1380   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 2 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1381   0
1382   0
1508 # xform -n mesh.plainclothes.5.3 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 3 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1509 # RCSid $Id$
1510 #
1511 # Mesh test with a woman model
1512 #
1383  
1384   void mesh mesh.plainclothes.5.3.woman
1385   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 3 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1386   0
1387   0
1518 # xform -n mesh.plainclothes.5.4 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 4 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1519 # RCSid $Id$
1520 #
1521 # Mesh test with a woman model
1522 #
1388  
1389   void mesh mesh.plainclothes.5.4.woman
1390   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 4 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1391   0
1392   0
1528 # xform -n mesh.plainclothes.5.5 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 5 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1529 # RCSid $Id$
1530 #
1531 # Mesh test with a woman model
1532 #
1393  
1394   void mesh mesh.plainclothes.5.5.woman
1395   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 5 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1396   0
1397   0
1538 # xform -n mesh.plainclothes.5.6 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 6 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1539 # RCSid $Id$
1540 #
1541 # Mesh test with a woman model
1542 #
1398  
1399   void mesh mesh.plainclothes.5.6.woman
1400   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 6 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1401   0
1402   0
1548 # xform -n mesh.plainclothes.5.7 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 7 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1549 # RCSid $Id$
1550 #
1551 # Mesh test with a woman model
1552 #
1403  
1404   void mesh mesh.plainclothes.5.7.woman
1405   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 7 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1406   0
1407   0
1558 # xform -n mesh.plainclothes.5.8 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 8 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1559 # RCSid $Id$
1560 #
1561 # Mesh test with a woman model
1562 #
1408  
1409   void mesh mesh.plainclothes.5.8.woman
1410   27 woman.rtm -i 1 -s 1.5 -rx 90 -rz -80 -t 1 0 0 -i 8 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1411   0
1412   0
1568 # xform -m chrome -n mesh.shiny.6.0 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 0 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1569 # RCSid $Id$
1570 #
1571 # Mesh test with a woman model
1572 #
1413  
1414   chrome mesh mesh.shiny.6.0.woman
1415   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 0 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1416   0
1417   0
1578 # xform -m chrome -n mesh.shiny.6.1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 1 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1579 # RCSid $Id$
1580 #
1581 # Mesh test with a woman model
1582 #
1418  
1419   chrome mesh mesh.shiny.6.1.woman
1420   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 1 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1421   0
1422   0
1588 # xform -m chrome -n mesh.shiny.6.2 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 2 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1589 # RCSid $Id$
1590 #
1591 # Mesh test with a woman model
1592 #
1423  
1424   chrome mesh mesh.shiny.6.2.woman
1425   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 2 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1426   0
1427   0
1598 # xform -m chrome -n mesh.shiny.6.3 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 3 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1599 # RCSid $Id$
1600 #
1601 # Mesh test with a woman model
1602 #
1428  
1429   chrome mesh mesh.shiny.6.3.woman
1430   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 3 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1431   0
1432   0
1608 # xform -m chrome -n mesh.shiny.6.4 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 4 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1609 # RCSid $Id$
1610 #
1611 # Mesh test with a woman model
1612 #
1433  
1434   chrome mesh mesh.shiny.6.4.woman
1435   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 4 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1436   0
1437   0
1618 # xform -m chrome -n mesh.shiny.6.5 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 5 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1619 # RCSid $Id$
1620 #
1621 # Mesh test with a woman model
1622 #
1438  
1439   chrome mesh mesh.shiny.6.5.woman
1440   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 5 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1441   0
1442   0
1628 # xform -m chrome -n mesh.shiny.6.6 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 6 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1629 # RCSid $Id$
1630 #
1631 # Mesh test with a woman model
1632 #
1443  
1444   chrome mesh mesh.shiny.6.6.woman
1445   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 6 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1446   0
1447   0
1638 # xform -m chrome -n mesh.shiny.6.7 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 7 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1639 # RCSid $Id$
1640 #
1641 # Mesh test with a woman model
1642 #
1448  
1449   chrome mesh mesh.shiny.6.7.woman
1450   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 7 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1451   0
1452   0
1648 # xform -m chrome -n mesh.shiny.6.8 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 8 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1649 # RCSid $Id$
1650 #
1651 # Mesh test with a woman model
1652 #
1453  
1454   chrome mesh mesh.shiny.6.8.woman
1455   29 woman.rtm -i 1 -s 1.5 -rx 90 -rz -105 -t 1 0 0 -rz 20 -i 8 -rz 40 -i 1 -t -5 2.5 0 -t 0 15 0
1456   0
1457   0
1658 # xform -n mirror.7 -t 0 0 3.1
1659 # RCSid $Id$
1660 # Walls of our diorama
1661 # xform -ry -90
1662 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
1458  
1459   black_outside polygon mirror.7.wall.b
1460   0
# Line 1726 | Line 1521 | black_outside polygon mirror.7.wall.4
1521                   -8               -0.1                6.2
1522                   -8               -0.1                  3
1523   -6.12323399574e-18               -0.1                  3
1729 # black_outside polygon wall.5
1730 # 0
1731 # 0
1732 # 12
1733 # -6.12323399574e-18               -0.1               -0.1
1734 #                 -8               -0.1               -0.1
1735 #                 -8                  0  4.89858719659e-16
1736 #                  0                  0                  0
1524  
1525   wall_mat polygon mirror.7.wall.6
1526   0
# Line 1770 | Line 1557 | floor_mat polygon mirror.7.wall.9
1557                   -8                  5                3.1
1558                   -8                  0                3.1
1559                    0                  0                3.1
1773 # RCSid $Id$
1774 # A closed wall for the end cap of our diorama
1775 # xform -t -8.2 -.1 -.1
1776 # genbox wall_mat end_wall .2 5.2 3.2
1560  
1561   wall_mat polygon mirror.7.end_wall.1540
1562   0
# Line 1828 | Line 1611 | wall_mat polygon mirror.7.end_wall.6457
1611                 -8.2               -0.1                6.2
1612                   -8               -0.1                6.2
1613                   -8                5.1                6.2
1831 # RCSid $Id$
1832 # A bluish glass pane to fit any opening in end wall
1614  
1615   void glass glass_blue
1616   0
# Line 1844 | Line 1625 | glass_blue polygon mirror.7.blue_glazing
1625                 -8.1                  5                3.1
1626                 -8.1                  5                6.1
1627                 -8.1                  0                6.1
1847 # RCSid $Id$
1848 # Antimatter to cut through window wall with round, bevelled portal
1849 # Couple with closed_end.rad
1628  
1629   void antimatter wall_eraser
1630   1 wall_mat
# Line 1876 | Line 1654 | wall_eraser ring mirror.7.inner_portal
1654               -7.999                2.5                4.6
1655                    1                  0                  0
1656                    0                1.1
1879 # RCSid $Id$
1880 # Red ball inside water cube, test for interface
1881 # Should match ball_in_cube.rad, but using bubble to invert normal
1657  
1658   void dielectric clear_water
1659   0
# Line 1891 | Line 1666 | void interface red_interface
1666   8
1667          0.98         0.98         0.98         1.33
1668          0.98         0.05         0.02          1.6
1894 # xform -t -.5 -.5 -.5 -rz 17 -t -4 2.5 1.5
1895 # genbox clear_water watery 1 1 1
1669  
1670   clear_water polygon mirror.7.watery.1540
1671   0
# Line 1952 | Line 1725 | red_interface bubble mirror.7.red_ruby
1725   0
1726   0
1727   4                 -4                2.5                4.6               0.25
1955 # RCSid $Id$
1956 #
1957 # A mirror on the Y=5 wall with an alternate material having some pink diffuse
1958 #
1728  
1729   void plastic pink_mirror_mat
1730   0
# Line 1975 | Line 1744 | wall_mirror polygon mirror.7.mirror
1744                   -2               4.99                4.1
1745                   -2               4.99                5.1
1746                   -5               4.99                5.1
1978 # xform -n mist.8 -t 0 5.1 3.1
1979 # RCSid $Id$
1980 # Walls of our diorama
1981 # xform -ry -90
1982 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
1747  
1748   black_outside polygon mist.8.wall.b
1749   0
# Line 2046 | Line 1810 | black_outside polygon mist.8.wall.4
1810                   -8                  5                6.2
1811                   -8                  5                  3
1812   -6.12323399574e-18                  5                  3
2049 # black_outside polygon wall.5
2050 # 0
2051 # 0
2052 # 12
2053 # -6.12323399574e-18               -0.1               -0.1
2054 #                 -8               -0.1               -0.1
2055 #                 -8                  0  4.89858719659e-16
2056 #                  0                  0                  0
1813  
1814   wall_mat polygon mist.8.wall.6
1815   0
# Line 2090 | Line 1846 | floor_mat polygon mist.8.wall.9
1846                   -8               10.1                3.1
1847                   -8                5.1                3.1
1848                    0                5.1                3.1
2093 # RCSid $Id$
2094 # A closed wall for the end cap of our diorama
2095 # xform -t -8.2 -.1 -.1
2096 # genbox wall_mat end_wall .2 5.2 3.2
1849  
1850   wall_mat polygon mist.8.end_wall.1540
1851   0
# Line 2148 | Line 1900 | wall_mat polygon mist.8.end_wall.6457
1900                 -8.2                  5                6.2
1901                   -8                  5                6.2
1902                   -8               10.2                6.2
2151 # RCSid $Id$
2152 # Red ball inside water cube, test for interface
1903  
1904   void dielectric clear_water
1905   0
# Line 2162 | Line 1912 | void interface red_interface
1912   8
1913          0.98         0.05         0.02          1.6
1914          0.98         0.98         0.98         1.33
2165 # xform -t -.5 -.5 -.5 -rz 17 -t -4 2.5 1.5
2166 # genbox clear_water watery 1 1 1
1915  
1916   clear_water polygon mist.8.watery.1540
1917   0
# Line 2223 | Line 1971 | red_interface sphere mist.8.red_ruby
1971   0
1972   0
1973   4                 -4                7.6                4.6               0.25
2226 # RCSid $Id$
2227 # Bluish mist suffusing space
1974  
1975   void mist blue_mist
1976   0
1977   0
1978   7          0.1          0.1          0.4          0.9          0.9          0.9          0.3
2233 # xform -t -7.99 .01 .01
2234 # genbox blue_mist smoke 7.98 4.98 2.98
1979  
1980   blue_mist polygon mist.8.smoke.1540
1981   0
# Line 2286 | Line 2030 | blue_mist polygon mist.8.smoke.6457
2030                -7.99               5.11               6.09
2031                -0.01               5.11               6.09
2032                -0.01              10.09               6.09
2289 # RCSid $Id$
2290 # A pair of spotlights, one pink and one bluish
2033  
2034   void spotlight pink_spotlight
2035   0
# Line 2316 | Line 2058 | blue_spotlight ring mist.8.bspot
2058                   -2                9.1                5.6
2059                 -2.5               -1.5                 -2
2060                    0                0.2
2319 # RCSid $Id$
2320 # Mist cones to accompany spotlights
2061  
2062   void mist blue_spot_mist
2063   1 mist.8.bspot
# Line 2376 | Line 2116 | pink_spot_mist ring mist.8.pink_spot_end
2116                -6.95               9.07               1.64
2117                 -2.5                1.5                 -2
2118                    0               2.13
2379 # xform -n prism1.9 -t 0 10.2 3.1
2380 # RCSid $Id$
2381 # Walls of our diorama
2382 # xform -ry -90
2383 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
2119  
2120   black_outside polygon prism1.9.wall.b
2121   0
# Line 2447 | Line 2182 | black_outside polygon prism1.9.wall.4
2182                   -8               10.1                6.2
2183                   -8               10.1                  3
2184   -6.12323399574e-18               10.1                  3
2450 # black_outside polygon wall.5
2451 # 0
2452 # 0
2453 # 12
2454 # -6.12323399574e-18               -0.1               -0.1
2455 #                 -8               -0.1               -0.1
2456 #                 -8                  0  4.89858719659e-16
2457 #                  0                  0                  0
2185  
2186   wall_mat polygon prism1.9.wall.6
2187   0
# Line 2491 | Line 2218 | floor_mat polygon prism1.9.wall.9
2218                   -8               15.2                3.1
2219                   -8               10.2                3.1
2220                    0               10.2                3.1
2494 # RCSid $Id$
2495 # Rectangular opening cut in end wall
2496 # xform -ry -90 -t -8 0 0
2497 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
2221  
2222   wall_mat polygon prism1.9.end_wall.b
2223   0
# Line 2606 | Line 2329 | wall_mat polygon prism1.9.end_wall.9
2329                 -8.2               14.2                4.1
2330                 -8.2               11.2                4.1
2331                   -8               11.2                4.1
2609 # RCSid $Id$
2610 # A singe-direction prism
2332  
2333   void prism1 prism1mat
2334   13 coef1 dx1 dy1 dz1 prism.cal -rz 90 -i 1 -t 0 10.2 3.1
# Line 2622 | Line 2343 | prism1mat polygon prism1.9.prism1_window
2343                 -8.1               14.2                4.1
2344                 -8.1               14.2                5.1
2345                 -8.1               11.2                5.1
2625 # xform -m gold -n prism1.10 -t 0 10.2 3.1
2626 # RCSid $Id$
2627 #
2628 # Vase model courtesy Tom Mertens from web page:
2629 #       http://people.csail.mit.edu/tmertens/textransfer/data
2630 # Include acknowledgment in any published work:
2631 #       "textured 3D model from the MIT CSAIL database"
2632 #
2633 # Origin is at center of base; Z-axis is up.
2634 # Vase is approx. 23cm tall
2635 # Moved into middle of room for testing
2636 #
2346  
2347   void colorpict vase_pat
2348   13 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 10.2 3.1
# Line 2649 | Line 2358 | gold mesh prism1.10.vase
2358   17 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 10.2 3.1
2359   0
2360   0
2652 # xform -n prism2.11 -t 0 15.3 3.1
2653 # RCSid $Id$
2654 # Walls of our diorama
2655 # xform -ry -90
2656 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
2361  
2362   black_outside polygon prism2.11.wall.b
2363   0
# Line 2720 | Line 2424 | black_outside polygon prism2.11.wall.4
2424                   -8               15.2                6.2
2425                   -8               15.2                  3
2426   -6.12323399574e-18               15.2                  3
2723 # black_outside polygon wall.5
2724 # 0
2725 # 0
2726 # 12
2727 # -6.12323399574e-18               -0.1               -0.1
2728 #                 -8               -0.1               -0.1
2729 #                 -8                  0  4.89858719659e-16
2730 #                  0                  0                  0
2427  
2428   wall_mat polygon prism2.11.wall.6
2429   0
# Line 2764 | Line 2460 | floor_mat polygon prism2.11.wall.9
2460                   -8               20.3                3.1
2461                   -8               15.3                3.1
2462                    0               15.3                3.1
2767 # RCSid $Id$
2768 # Rectangular opening cut in end wall
2769 # xform -ry -90 -t -8 0 0
2770 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
2463  
2464   wall_mat polygon prism2.11.end_wall.b
2465   0
# Line 2879 | Line 2571 | wall_mat polygon prism2.11.end_wall.9
2571                 -8.2               19.3                4.1
2572                 -8.2               16.3                4.1
2573                   -8               16.3                4.1
2882 # RCSid $Id$
2883 # A dual-direction prism
2574  
2575   void prism2 prism2mat
2576   17 coef1 dx1 dy1 dz1 coef2 dx2 dy2 dz2 prism.cal -rz 90 -i 1 -t 0 15.3 3.1
# Line 2895 | Line 2585 | prism2mat polygon prism2.11.prism2_window
2585                 -8.1               19.3                4.1
2586                 -8.1               19.3                5.1
2587                 -8.1               16.3                5.1
2898 # xform -m gold -n prism2.12 -t 0 15.3 3.1
2899 # RCSid $Id$
2900 #
2901 # Vase model courtesy Tom Mertens from web page:
2902 #       http://people.csail.mit.edu/tmertens/textransfer/data
2903 # Include acknowledgment in any published work:
2904 #       "textured 3D model from the MIT CSAIL database"
2905 #
2906 # Origin is at center of base; Z-axis is up.
2907 # Vase is approx. 23cm tall
2908 # Moved into middle of room for testing
2909 #
2588  
2589   void colorpict vase_pat
2590   13 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 15.3 3.1
# Line 2922 | Line 2600 | gold mesh prism2.12.vase
2600   17 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 15.3 3.1
2601   0
2602   0
2925 # xform -n tfunc.13 -t 0 0 6.2
2926 # RCSid $Id$
2927 # Basic materials used for walls, etc.
2603  
2604   void plastic wall_mat
2605   0
# Line 2945 | Line 2620 | void plastic black_outside
2620   0
2621   0
2622   5               0.05               0.05               0.05                  0                  0
2948 # RCSid $Id$
2949 # Walls of our diorama
2950 # xform -ry -90
2951 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
2623  
2624   black_outside polygon tfunc.13.wall.b
2625   0
# Line 3015 | Line 2686 | black_outside polygon tfunc.13.wall.4
2686                   -8               -0.1                9.3
2687                   -8               -0.1                6.1
2688   -6.12323399574e-18               -0.1                6.1
3018 # black_outside polygon wall.5
3019 # 0
3020 # 0
3021 # 12
3022 # -6.12323399574e-18               -0.1               -0.1
3023 #                 -8               -0.1               -0.1
3024 #                 -8                  0  4.89858719659e-16
3025 #                  0                  0                  0
2689  
2690   wall_mat polygon tfunc.13.wall.6
2691   0
# Line 3059 | Line 2722 | floor_mat polygon tfunc.13.wall.9
2722                   -8                  5                6.2
2723                   -8                  0                6.2
2724                    0                  0                6.2
3062 # RCSid $Id$
3063 # Rectangular opening cut in end wall
3064 # xform -ry -90 -t -8 0 0
3065 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
2725  
2726   wall_mat polygon tfunc.13.end_wall.b
2727   0
# Line 3174 | Line 2833 | wall_mat polygon tfunc.13.end_wall.9
2833                 -8.2                  4                7.2
2834                 -8.2                  1                7.2
2835                   -8                  1                7.2
3177 # RCSid $Id$
3178 # Test of cylinders, tubes, and BRTDfunc material
2836  
2837   void BRTDfunc brtd_mat
2838   16 .1 .1 .1+if(Rdot-.8,0,.7) .1+if(RdotP-.8,.7,0) .1 .1 0 0 0 . -i 1 -t 0 0 6.2
# Line 3205 | Line 2862 | brtd_mat cylinder tfunc.13.cyl3
2862                   -4                2.5                7.5
2863                   -4                2.5                7.9
2864                  0.4
3208 # RCSid $Id$
3209 # A transfunc window to turn into a light source with mkillum
3210 #@mkillum l+ f=tfunc_ill c=a d=100 s=128
2865  
2866   void transfunc tfunc_mat
2867   8 absdf aniso.cal -i 1 -t 0 0 6.2
# Line 3222 | Line 2876 | tfunc_mat polygon tfunc.13.tfunc_window
2876                 -8.1                  4                7.2
2877                 -8.1                  4                8.2
2878                 -8.1                  1                8.2
3225 # xform -n trans.14 -t 0 5.1 6.2
3226 # RCSid $Id$
3227 # Walls of our diorama
3228 # xform -ry -90
3229 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
2879  
2880   black_outside polygon trans.14.wall.b
2881   0
# Line 3293 | Line 2942 | black_outside polygon trans.14.wall.4
2942                   -8                  5                9.3
2943                   -8                  5                6.1
2944   -6.12323399574e-18                  5                6.1
3296 # black_outside polygon wall.5
3297 # 0
3298 # 0
3299 # 12
3300 # -6.12323399574e-18               -0.1               -0.1
3301 #                 -8               -0.1               -0.1
3302 #                 -8                  0  4.89858719659e-16
3303 #                  0                  0                  0
2945  
2946   wall_mat polygon trans.14.wall.6
2947   0
# Line 3337 | Line 2978 | floor_mat polygon trans.14.wall.9
2978                   -8               10.1                6.2
2979                   -8                5.1                6.2
2980                    0                5.1                6.2
3340 # RCSid $Id$
3341 # Rectangular opening cut in end wall
3342 # xform -ry -90 -t -8 0 0
3343 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
2981  
2982   wall_mat polygon trans.14.end_wall.b
2983   0
# Line 3452 | Line 3089 | wall_mat polygon trans.14.end_wall.9
3089                 -8.2                9.1                7.2
3090                 -8.2                6.1                7.2
3091                   -8                6.1                7.2
3455 # RCSid $Id$
3456 #
3457 # Four balls made of plastic2, metal2, plasfunc, and metfunc
3458 # Mixtext used to label each
3459 #
3092  
3093   void plastic white_mat
3094   0
# Line 3579 | Line 3211 | metf_text polygon trans.14.metf_label
3211                   -4                9.1                7.1
3212                   -4                8.6                7.1
3213                   -4                8.6                7.3
3582 # RCSid $Id$
3583 # A pair of spotlights, one pink and one bluish
3214  
3215   void spotlight pink_spotlight
3216   0
# Line 3609 | Line 3239 | blue_spotlight ring trans.14.bspot
3239                   -2                9.1                8.7
3240                 -2.5               -1.5                 -2
3241                    0                0.2
3612 # RCSid $Id$
3613 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
3614 #
3615 # Wellmade 2 lamp fixture, model 395-12A-248RS
3616 #
3617 # Dimensions in inches, fixture parallel to y axis, center at origin
3618 #
3242  
3243   void brightdata lum_dist
3244 < 21 flatcorr source/wellmade/395-12A-248RS.dat source.cal src_phi4 src_theta -i 1 -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 5.1 6.2
3244 > 19 flatcorr rect_fixture.dat source.cal src_phi4 src_theta -s 0.0253999863 -rz 90 -t -4 2.5 2.999 -i 1 -t 0 5.1 6.2
3245   0
3246   0
3624 # this is scaled by 1/area (SI)
3247  
3248   lum_dist light lum_bright
3249   0
3250   0
3251   3                 20                 20                 20
3630 # 3               1.55               1.55               1.55
3252  
3253   lum_bright polygon trans.14.luminaire
3254   0
# Line 3637 | Line 3258 | lum_bright polygon trans.14.luminaire
3258       -4.57784968833      7.32695014728              9.199
3259       -4.57784968833      7.87304985273              9.199
3260       -3.42215031167      7.87304985272              9.199
3640 # RCSid $Id$
3641 # A yellowish trans material in our window
3261  
3262   void trans yellow_trans
3263   0
# Line 3653 | Line 3272 | yellow_trans polygon trans.14.yellow_diffuser
3272                 -8.1               10.1                6.2
3273                 -8.1               10.1                9.2
3274                 -8.1                5.1                9.2
3656 # xform -n trans2.15 -t 0 10.2 6.2
3657 # RCSid $Id$
3658 # Walls of our diorama
3659 # xform -ry -90
3660 # genprism black_outside wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 0 0 3 0 3 5 0 5 0 0 -l 0 0 8 -c
3275  
3276   black_outside polygon trans2.15.wall.b
3277   0
# Line 3724 | Line 3338 | black_outside polygon trans2.15.wall.4
3338                   -8               10.1                9.3
3339                   -8               10.1                6.1
3340   -6.12323399574e-18               10.1                6.1
3727 # black_outside polygon wall.5
3728 # 0
3729 # 0
3730 # 12
3731 # -6.12323399574e-18               -0.1               -0.1
3732 #                 -8               -0.1               -0.1
3733 #                 -8                  0  4.89858719659e-16
3734 #                  0                  0                  0
3341  
3342   wall_mat polygon trans2.15.wall.6
3343   0
# Line 3768 | Line 3374 | floor_mat polygon trans2.15.wall.9
3374                   -8               15.2                6.2
3375                   -8               10.2                6.2
3376                    0               10.2                6.2
3771 # RCSid $Id$
3772 # Rectangular opening cut in end wall
3773 # xform -ry -90 -t -8 0 0
3774 # genprism wall_mat end_wall 10 -.1 -.1 -.1 5.1 3.1 5.1 3.1 -.1 -.1 -.1 1 1 2 1 2 4 1 4 1 1 -l 0 0 .2 -c
3377  
3378   wall_mat polygon trans2.15.end_wall.b
3379   0
# Line 3883 | Line 3485 | wall_mat polygon trans2.15.end_wall.9
3485                 -8.2               14.2                7.2
3486                 -8.2               11.2                7.2
3487                   -8               11.2                7.2
3886 # RCSid $Id$
3887 # Test of cylinders, tubes, and BRTDfunc material
3488  
3489   void BRTDfunc brtd_mat
3490   16 .1 .1 .1+if(Rdot-.8,0,.7) .1+if(RdotP-.8,.7,0) .1 .1 0 0 0 . -i 1 -t 0 10.2 6.2
# Line 3914 | Line 3514 | brtd_mat cylinder trans2.15.cyl3
3514                   -4               12.7                7.5
3515                   -4               12.7                7.9
3516                  0.4
3917 # RCSid $Id$
3918 # A trans2 window to turn into an llum with mkillum
3919 #@mkillum l- f=trans2_ill c=a d=100 s=128
3517  
3518   void trans2 trans2_mat
3519   10 0 0 1 . -i 1 -t 0 10.2 6.2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines