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

Comparing test/renders/ref/combined.rad (file contents):
Revision 1.14 by greg, Fri Nov 17 21:22:27 2023 UTC vs.
Revision 1.19 by greg, Fri Dec 20 16:26:52 2024 UTC

# Line 1 | Line 1
1 # RCSid $Id$
2 #
3 # A collection of all our scene bits without the front caps
4 #
5 # xform -n i0
6 # RCSid $Id$
7 # Basic materials used for walls, etc.
1  
2   void plastic wall_mat
3   0
# Line 25 | Line 18 | void plastic black_outside
18   0
19   0
20   5               0.05               0.05               0.05                  0                  0
28 # RCSid $Id$
21  
22   void metal chrome
23   0
24   0
25   5                0.6                0.6               0.75                  1                  0
34 # RCSid $Id$
26  
27   void metal gold
28   0
29   0
30   5            0.99717           0.781957           0.334172                  1                  0
40 # RCSid $Id$
41 # A photographed sunset taken on Nov. 6 2018, Berkeley CA
42 # 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 65 | Line 53 | sol_light source i0.bigsun
53   0
54   0
55   4            -0.9338              -0.35              0.001                  1
68 # xform -n dielectric.1 -t 0 0 0
69 # RCSid $Id$
70 # Walls of our diorama
71 # xform -ry -90
72 # 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 136 | 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
139 # black_outside polygon wall.5
140 # 0
141 # 0
142 # 12
143 # -6.12323399574e-18               -0.1               -0.1
144 #                 -8               -0.1               -0.1
145 #                 -8                  0  4.89858719659e-16
146 #                  0                  0                  0
122  
123   wall_mat polygon dielectric.1.wall.6
124   0
# Line 180 | 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
183 # RCSid $Id$
184 # Rectangular opening cut in end wall
185 # xform -ry -90 -t -8 0 0
186 # 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 295 | Line 266 | wall_mat polygon dielectric.1.end_wall.9
266                 -8.2                  4                  1
267                 -8.2                  1                  1
268                   -8                  1                  1
298 # RCSid $Id$
299 #
300 # Vase model courtesy Tom Mertens from web page:
301 #       http://people.csail.mit.edu/tmertens/textransfer/data
302 # Include acknowledgment in any published work:
303 #       "textured 3D model from the MIT CSAIL database"
304 #
305 # Origin is at center of base; Z-axis is up.
306 # Vase is approx. 23cm tall
307 # Moved into middle of room for testing
308 #
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
271 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
272   0
273   3        0.318558228        0.196044229       0.0860372415
274  
# Line 321 | 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
324 # RCSid $Id$
325 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
326 #
327 # Wellmade 2 lamp fixture, model 395-12A-248RS
328 #
329 # Dimensions in inches, fixture parallel to y axis, center at origin
330 #
284  
285   void brightdata lum_dist
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
336 # this is scaled by 1/area (SI)
289  
290   lum_dist light lum_bright
291   0
292   0
293   3                 20                 20                 20
342 # 3               1.55               1.55               1.55
294  
295   lum_bright polygon dielectric.1.luminaire
296   0
# Line 349 | 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
352 # RCSid $Id$
353 # Pink glass pane made of two dieletric faces to fit any opening in end wall
303  
304   void dielectric dielectric_pink
305   0
# Line 374 | Line 323 | dielectric_pink polygon dielectric.1.blue_glazing
323                -8.15                  5                  3
324                -8.15                  5                  0
325                -8.15                  0                  0
377 # xform -n glass.2 -t 0 5.2 0
378 # RCSid $Id$
379 # Walls of our diorama
380 # xform -ry -90
381 # 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 445 | Line 389 | black_outside polygon glass.2.wall.4
389                   -8                5.1                3.1
390                   -8                5.1               -0.1
391   -6.12323399574e-18                5.1               -0.1
448 # black_outside polygon wall.5
449 # 0
450 # 0
451 # 12
452 # -6.12323399574e-18               -0.1               -0.1
453 #                 -8               -0.1               -0.1
454 #                 -8                  0  4.89858719659e-16
455 #                  0                  0                  0
392  
393   wall_mat polygon glass.2.wall.6
394   0
# Line 489 | Line 425 | floor_mat polygon glass.2.wall.9
425                   -8               10.2  4.89858719659e-16
426                   -8                5.2  4.89858719659e-16
427                    0                5.2                  0
492 # RCSid $Id$
493 # Rectangular opening cut in end wall
494 # xform -ry -90 -t -8 0 0
495 # 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 604 | Line 536 | wall_mat polygon glass.2.end_wall.9
536                 -8.2                9.2                  1
537                 -8.2                6.2                  1
538                   -8                6.2                  1
607 # RCSid $Id$
608 # A green metal torus with glowing red stripes
539  
540   void metal green_metal
541   0
# Line 621 | 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.2 0
552   0
553   3                 -4                2.5                1.5
624 # xform -ry 52 -s .2 -t -4 2.5 1.5
625 # 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.2 0
# Line 1039 | Line 967 | Phong cone glass.2.torus.32
967       -4.03074665433                7.7      1.47597808091
968                   -4                7.7                1.5
969        0.59615705608                0.6
1042 # RCSid $Id$
1043 # A clear glazing used to create rectangular illum at window
1044 # mkillum -ab 0 !oconv -i glass.oct illum_glass.rad
1045 #@mkillum !
1046 # mkillum f=glass_ill c=d d=50 s=64
970  
971   void glass glass_clear
972   0
# Line 1068 | Line 991 | illum_mat polygon glass.2.clear_glazing
991                   -8                9.2                  1
992                   -8                9.2                  2
993                   -8                6.2                  2
1071 # xform -n inst.3 -t 0 10.4 0
1072 # RCSid $Id$
1073 # Walls of our diorama
1074 # xform -ry -90
1075 # 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 1139 | Line 1057 | black_outside polygon inst.3.wall.4
1057                   -8               10.3                3.1
1058                   -8               10.3               -0.1
1059   -6.12323399574e-18               10.3               -0.1
1142 # black_outside polygon wall.5
1143 # 0
1144 # 0
1145 # 12
1146 # -6.12323399574e-18               -0.1               -0.1
1147 #                 -8               -0.1               -0.1
1148 #                 -8                  0  4.89858719659e-16
1149 #                  0                  0                  0
1060  
1061   wall_mat polygon inst.3.wall.6
1062   0
# Line 1183 | Line 1093 | floor_mat polygon inst.3.wall.9
1093                   -8               15.4  4.89858719659e-16
1094                   -8               10.4  4.89858719659e-16
1095                    0               10.4                  0
1186 # RCSid $Id$
1187 # A closed wall for the end cap of our diorama
1188 # xform -t -8.2 -.1 -.1
1189 # genbox wall_mat end_wall .2 5.2 3.2
1096  
1097   wall_mat polygon inst.3.end_wall.1540
1098   0
# Line 1241 | Line 1147 | wall_mat polygon inst.3.end_wall.6457
1147                 -8.2               10.3                3.1
1148                   -8               10.3                3.1
1149                   -8               15.5                3.1
1244 # RCSid $Id$
1245 #
1246 # Test of instance primitive and spaces in names and modifiers
1247 #
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.4 0
# Line 1260 | Line 1162 | void ashik2 "ashik mat"
1162   15 porsche.octf -rx 90 -s .15 -t -4 3 1 -i 1 -t 0 10.4 0
1163   0
1164   0
1263 # RCSid $Id$
1264 # A pair of spotlights, one pink and one bluish
1165  
1166   void spotlight pink_spotlight
1167   0
# Line 1290 | Line 1190 | blue_spotlight ring inst.3.bspot
1190                   -2               14.4                2.5
1191                 -2.5               -1.5                 -2
1192                    0                0.2
1293 # RCSid $Id$
1294 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
1295 #
1296 # Wellmade 2 lamp fixture, model 395-12A-248RS
1297 #
1298 # Dimensions in inches, fixture parallel to y axis, center at origin
1299 #
1193  
1194   void brightdata lum_dist
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.4 0
1196   0
1197   0
1305 # this is scaled by 1/area (SI)
1198  
1199   lum_dist light lum_bright
1200   0
1201   0
1202   3                 20                 20                 20
1311 # 3               1.55               1.55               1.55
1203  
1204   lum_bright polygon inst.3.luminaire
1205   0
# Line 1318 | Line 1209 | lum_bright polygon inst.3.luminaire
1209       -4.57784968833      12.6269501473              2.999
1210       -4.57784968833      13.1730498527              2.999
1211       -3.42215031167      13.1730498527              2.999
1321 # RCSid $Id$
1322 #
1323 # Test of glow source with limited effect
1324 #
1212  
1213   void glow red_glow
1214   0
# Line 1332 | Line 1219 | red_glow sphere inst.3.red_bulb
1219   0
1220   0
1221   4                 -7               11.4                  2               0.25
1335 # Negative influence radius means no illumination cast
1222  
1223   void glow green_glow
1224   0
# Line 1343 | Line 1229 | green_glow sphere inst.3.green_bulb
1229   0
1230   0
1231   4                 -7               12.4                  2               0.25
1346 # xform -n mesh.4 -t 0 15.6 0
1347 # RCSid $Id$
1348 # Walls of our diorama
1349 # xform -ry -90
1350 # 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
1232  
1233   black_outside polygon mesh.4.wall.b
1234   0
# Line 1414 | Line 1295 | black_outside polygon mesh.4.wall.4
1295                   -8               15.5                3.1
1296                   -8               15.5               -0.1
1297   -6.12323399574e-18               15.5               -0.1
1417 # black_outside polygon wall.5
1418 # 0
1419 # 0
1420 # 12
1421 # -6.12323399574e-18               -0.1               -0.1
1422 #                 -8               -0.1               -0.1
1423 #                 -8                  0  4.89858719659e-16
1424 #                  0                  0                  0
1298  
1299   wall_mat polygon mesh.4.wall.6
1300   0
# Line 1458 | Line 1331 | floor_mat polygon mesh.4.wall.9
1331                   -8               20.6  4.89858719659e-16
1332                   -8               15.6  4.89858719659e-16
1333                    0               15.6                  0
1461 # RCSid $Id$
1462 # A closed wall for the end cap of our diorama
1463 # xform -t -8.2 -.1 -.1
1464 # genbox wall_mat end_wall .2 5.2 3.2
1334  
1335   wall_mat polygon mesh.4.end_wall.1540
1336   0
# Line 1516 | Line 1385 | wall_mat polygon mesh.4.end_wall.6457
1385                 -8.2               15.5                3.1
1386                   -8               15.5                3.1
1387                   -8               20.7                3.1
1519 # RCSid $Id$
1520 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
1521 #
1522 # Wellmade 2 lamp fixture, model 395-12A-248RS
1523 #
1524 # Dimensions in inches, fixture parallel to y axis, center at origin
1525 #
1388  
1389   void brightdata lum_dist
1390   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 15.6 0
1391   0
1392   0
1531 # this is scaled by 1/area (SI)
1393  
1394   lum_dist light lum_bright
1395   0
1396   0
1397   3                 20                 20                 20
1537 # 3               1.55               1.55               1.55
1398  
1399   lum_bright polygon mesh.4.luminaire
1400   0
# Line 1544 | Line 1404 | lum_bright polygon mesh.4.luminaire
1404       -4.57784968833      17.8269501473              2.999
1405       -4.57784968833      18.3730498527              2.999
1406       -3.42215031167      18.3730498527              2.999
1547 # 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.6 0
1548 # RCSid $Id$
1549 #
1550 # Mesh test with a woman model
1551 #
1407  
1408   void mesh mesh.plainclothes.5.0.woman
1409   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.6 0
1410   0
1411   0
1557 # 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.6 0
1558 # RCSid $Id$
1559 #
1560 # Mesh test with a woman model
1561 #
1412  
1413   void mesh mesh.plainclothes.5.1.woman
1414   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.6 0
1415   0
1416   0
1567 # 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.6 0
1568 # RCSid $Id$
1569 #
1570 # Mesh test with a woman model
1571 #
1417  
1418   void mesh mesh.plainclothes.5.2.woman
1419   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.6 0
1420   0
1421   0
1577 # 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.6 0
1578 # RCSid $Id$
1579 #
1580 # Mesh test with a woman model
1581 #
1422  
1423   void mesh mesh.plainclothes.5.3.woman
1424   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.6 0
1425   0
1426   0
1587 # 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.6 0
1588 # RCSid $Id$
1589 #
1590 # Mesh test with a woman model
1591 #
1427  
1428   void mesh mesh.plainclothes.5.4.woman
1429   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.6 0
1430   0
1431   0
1597 # 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.6 0
1598 # RCSid $Id$
1599 #
1600 # Mesh test with a woman model
1601 #
1432  
1433   void mesh mesh.plainclothes.5.5.woman
1434   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.6 0
1435   0
1436   0
1607 # 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.6 0
1608 # RCSid $Id$
1609 #
1610 # Mesh test with a woman model
1611 #
1437  
1438   void mesh mesh.plainclothes.5.6.woman
1439   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.6 0
1440   0
1441   0
1617 # 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.6 0
1618 # RCSid $Id$
1619 #
1620 # Mesh test with a woman model
1621 #
1442  
1443   void mesh mesh.plainclothes.5.7.woman
1444   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.6 0
1445   0
1446   0
1627 # 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.6 0
1628 # RCSid $Id$
1629 #
1630 # Mesh test with a woman model
1631 #
1447  
1448   void mesh mesh.plainclothes.5.8.woman
1449   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.6 0
1450   0
1451   0
1637 # 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.6 0
1638 # RCSid $Id$
1639 #
1640 # Mesh test with a woman model
1641 #
1452  
1453   chrome mesh mesh.shiny.6.0.woman
1454   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.6 0
1455   0
1456   0
1647 # 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.6 0
1648 # RCSid $Id$
1649 #
1650 # Mesh test with a woman model
1651 #
1457  
1458   chrome mesh mesh.shiny.6.1.woman
1459   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.6 0
1460   0
1461   0
1657 # 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.6 0
1658 # RCSid $Id$
1659 #
1660 # Mesh test with a woman model
1661 #
1462  
1463   chrome mesh mesh.shiny.6.2.woman
1464   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.6 0
1465   0
1466   0
1667 # 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.6 0
1668 # RCSid $Id$
1669 #
1670 # Mesh test with a woman model
1671 #
1467  
1468   chrome mesh mesh.shiny.6.3.woman
1469   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.6 0
1470   0
1471   0
1677 # 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.6 0
1678 # RCSid $Id$
1679 #
1680 # Mesh test with a woman model
1681 #
1472  
1473   chrome mesh mesh.shiny.6.4.woman
1474   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.6 0
1475   0
1476   0
1687 # 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.6 0
1688 # RCSid $Id$
1689 #
1690 # Mesh test with a woman model
1691 #
1477  
1478   chrome mesh mesh.shiny.6.5.woman
1479   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.6 0
1480   0
1481   0
1697 # 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.6 0
1698 # RCSid $Id$
1699 #
1700 # Mesh test with a woman model
1701 #
1482  
1483   chrome mesh mesh.shiny.6.6.woman
1484   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.6 0
1485   0
1486   0
1707 # 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.6 0
1708 # RCSid $Id$
1709 #
1710 # Mesh test with a woman model
1711 #
1487  
1488   chrome mesh mesh.shiny.6.7.woman
1489   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.6 0
1490   0
1491   0
1717 # 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.6 0
1718 # RCSid $Id$
1719 #
1720 # Mesh test with a woman model
1721 #
1492  
1493   chrome mesh mesh.shiny.6.8.woman
1494   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.6 0
1495   0
1496   0
1727 # xform -n mirror.7 -t 0 0 3.2
1728 # RCSid $Id$
1729 # Walls of our diorama
1730 # xform -ry -90
1731 # 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
1497  
1498   black_outside polygon mirror.7.wall.b
1499   0
# Line 1795 | Line 1560 | black_outside polygon mirror.7.wall.4
1560                   -8               -0.1                6.3
1561                   -8               -0.1                3.1
1562   -6.12323399574e-18               -0.1                3.1
1798 # black_outside polygon wall.5
1799 # 0
1800 # 0
1801 # 12
1802 # -6.12323399574e-18               -0.1               -0.1
1803 #                 -8               -0.1               -0.1
1804 #                 -8                  0  4.89858719659e-16
1805 #                  0                  0                  0
1563  
1564   wall_mat polygon mirror.7.wall.6
1565   0
# Line 1839 | Line 1596 | floor_mat polygon mirror.7.wall.9
1596                   -8                  5                3.2
1597                   -8                  0                3.2
1598                    0                  0                3.2
1842 # RCSid $Id$
1843 # A closed wall for the end cap of our diorama
1844 # xform -t -8.2 -.1 -.1
1845 # genbox wall_mat end_wall .2 5.2 3.2
1599  
1600   wall_mat polygon mirror.7.end_wall.1540
1601   0
# Line 1897 | Line 1650 | wall_mat polygon mirror.7.end_wall.6457
1650                 -8.2               -0.1                6.3
1651                   -8               -0.1                6.3
1652                   -8                5.1                6.3
1900 # RCSid $Id$
1901 # A bluish glass pane to fit any opening in end wall
1653  
1654   void glass glass_blue
1655   0
# Line 1913 | Line 1664 | glass_blue polygon mirror.7.blue_glazing
1664                 -8.1                  5                3.2
1665                 -8.1                  5                6.2
1666                 -8.1                  0                6.2
1916 # RCSid $Id$
1917 # Antimatter to cut through window wall with round, bevelled portal
1918 # Couple with closed_end.rad
1667  
1668   void antimatter wall_eraser
1669   1 wall_mat
# Line 1945 | Line 1693 | wall_eraser ring mirror.7.inner_portal
1693               -7.999                2.5                4.7
1694                    1                  0                  0
1695                    0                1.1
1948 # RCSid $Id$
1949 # Red ball inside water cube, test for interface
1950 # Should match ball_in_cube.rad, but using bubble to invert normal
1696  
1697   void dielectric clear_water
1698   0
# Line 1960 | Line 1705 | void interface red_interface
1705   8
1706          0.98         0.98         0.98         1.33
1707          0.98         0.05         0.02          1.6
1963 # xform -t -.5 -.5 -.5 -rz 17 -t -4 2.5 1.5
1964 # genbox clear_water watery 1 1 1
1708  
1709   clear_water polygon mirror.7.watery.1540
1710   0
# Line 2021 | Line 1764 | red_interface bubble mirror.7.red_ruby
1764   0
1765   0
1766   4                 -4                2.5                4.7               0.25
2024 # RCSid $Id$
2025 #
2026 # A mirror on the Y=5 wall with an alternate material having some pink diffuse
2027 #
2028 # Also used for testing rfluxmtx
2029 #
2030 #@rfluxmtx h=kf u=+Z
1767  
1768   void plastic pink_mirror_mat
1769   0
# Line 2047 | Line 1783 | wall_mirror polygon mirror.7.mirror
1783                   -2               4.99                4.2
1784                   -2               4.99                5.2
1785                   -5               4.99                5.2
2050 # xform -n mist.8 -t 0 5.2 3.2
2051 # RCSid $Id$
2052 # Walls of our diorama
2053 # xform -ry -90
2054 # 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
1786  
1787   black_outside polygon mist.8.wall.b
1788   0
# Line 2118 | Line 1849 | black_outside polygon mist.8.wall.4
1849                   -8                5.1                6.3
1850                   -8                5.1                3.1
1851   -6.12323399574e-18                5.1                3.1
2121 # black_outside polygon wall.5
2122 # 0
2123 # 0
2124 # 12
2125 # -6.12323399574e-18               -0.1               -0.1
2126 #                 -8               -0.1               -0.1
2127 #                 -8                  0  4.89858719659e-16
2128 #                  0                  0                  0
1852  
1853   wall_mat polygon mist.8.wall.6
1854   0
# Line 2162 | Line 1885 | floor_mat polygon mist.8.wall.9
1885                   -8               10.2                3.2
1886                   -8                5.2                3.2
1887                    0                5.2                3.2
2165 # RCSid $Id$
2166 # A closed wall for the end cap of our diorama
2167 # xform -t -8.2 -.1 -.1
2168 # genbox wall_mat end_wall .2 5.2 3.2
1888  
1889   wall_mat polygon mist.8.end_wall.1540
1890   0
# Line 2220 | Line 1939 | wall_mat polygon mist.8.end_wall.6457
1939                 -8.2                5.1                6.3
1940                   -8                5.1                6.3
1941                   -8               10.3                6.3
2223 # RCSid $Id$
2224 # Test of cylinders, tubes, and BRTDfunc material
1942  
1943   void BRTDfunc brtd_mat
1944   16 .1 .1 .1+if(Rdot-.8,0,.7) .1+if(RdotP-.8,.7,0) .1 .1 0 0 0 . -i 1 -t 0 5.2 3.2
# Line 2251 | Line 1968 | brtd_mat cylinder mist.8.cyl3
1968                   -4                7.7                4.5
1969                   -4                7.7                4.9
1970                  0.4
2254 # RCSid $Id$
2255 # Bluish mist suffusing space
1971  
1972   void mist blue_mist
1973   0
1974   0
1975   7          0.1          0.1          0.4          0.9          0.9          0.9          0.3
2261 # xform -t -7.99 .01 .01
2262 # genbox blue_mist smoke 7.98 4.98 2.98
1976  
1977   blue_mist polygon mist.8.smoke.1540
1978   0
# Line 2314 | Line 2027 | blue_mist polygon mist.8.smoke.6457
2027                -7.99               5.21               6.19
2028                -0.01               5.21               6.19
2029                -0.01              10.19               6.19
2317 # RCSid $Id$
2318 # A pair of spotlights, one pink and one bluish
2030  
2031   void spotlight pink_spotlight
2032   0
# Line 2344 | Line 2055 | blue_spotlight ring mist.8.bspot
2055                   -2                9.2                5.7
2056                 -2.5               -1.5                 -2
2057                    0                0.2
2347 # RCSid $Id$
2348 # Mist cones to accompany spotlights
2058  
2059   void mist blue_spot_mist
2060   1 mist.8.bspot
# Line 2404 | Line 2113 | pink_spot_mist ring mist.8.pink_spot_end
2113                -6.95               9.17               1.74
2114                 -2.5                1.5                 -2
2115                    0               2.13
2407 # xform -n prism1.9 -t 0 10.4 3.2
2408 # RCSid $Id$
2409 # Walls of our diorama
2410 # xform -ry -90
2411 # 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
2116  
2117   black_outside polygon prism1.9.wall.b
2118   0
# Line 2475 | Line 2179 | black_outside polygon prism1.9.wall.4
2179                   -8               10.3                6.3
2180                   -8               10.3                3.1
2181   -6.12323399574e-18               10.3                3.1
2478 # black_outside polygon wall.5
2479 # 0
2480 # 0
2481 # 12
2482 # -6.12323399574e-18               -0.1               -0.1
2483 #                 -8               -0.1               -0.1
2484 #                 -8                  0  4.89858719659e-16
2485 #                  0                  0                  0
2182  
2183   wall_mat polygon prism1.9.wall.6
2184   0
# Line 2519 | Line 2215 | floor_mat polygon prism1.9.wall.9
2215                   -8               15.4                3.2
2216                   -8               10.4                3.2
2217                    0               10.4                3.2
2522 # RCSid $Id$
2523 # Rectangular opening cut in end wall
2524 # xform -ry -90 -t -8 0 0
2525 # 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
2218  
2219   wall_mat polygon prism1.9.end_wall.b
2220   0
# Line 2634 | Line 2326 | wall_mat polygon prism1.9.end_wall.9
2326                 -8.2               14.4                4.2
2327                 -8.2               11.4                4.2
2328                   -8               11.4                4.2
2637 # RCSid $Id$
2638 # A singe-direction prism
2329  
2330   void prism1 prism1mat
2331   13 coef1 dx1 dy1 dz1 prism.cal -rz 90 -i 1 -t 0 10.4 3.2
# Line 2650 | Line 2340 | prism1mat polygon prism1.9.prism1_window
2340                 -8.1               14.4                4.2
2341                 -8.1               14.4                5.2
2342                 -8.1               11.4                5.2
2653 # xform -m gold -n prism1.10 -t 0 10.2 3.2
2654 # RCSid $Id$
2655 #
2656 # Vase model courtesy Tom Mertens from web page:
2657 #       http://people.csail.mit.edu/tmertens/textransfer/data
2658 # Include acknowledgment in any published work:
2659 #       "textured 3D model from the MIT CSAIL database"
2660 #
2661 # Origin is at center of base; Z-axis is up.
2662 # Vase is approx. 23cm tall
2663 # Moved into middle of room for testing
2664 #
2343  
2344   void colorpict vase_pat
2345 < 13 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 10.2 3.2
2345 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
2346   0
2347   3        0.318558228        0.196044229       0.0860372415
2348  
# Line 2677 | Line 2355 | gold mesh prism1.10.vase
2355   17 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 10.2 3.2
2356   0
2357   0
2680 # xform -n prism2.11 -t 0 15.6 3.2
2681 # RCSid $Id$
2682 # Walls of our diorama
2683 # xform -ry -90
2684 # 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
2358  
2359   black_outside polygon prism2.11.wall.b
2360   0
# Line 2748 | Line 2421 | black_outside polygon prism2.11.wall.4
2421                   -8               15.5                6.3
2422                   -8               15.5                3.1
2423   -6.12323399574e-18               15.5                3.1
2751 # black_outside polygon wall.5
2752 # 0
2753 # 0
2754 # 12
2755 # -6.12323399574e-18               -0.1               -0.1
2756 #                 -8               -0.1               -0.1
2757 #                 -8                  0  4.89858719659e-16
2758 #                  0                  0                  0
2424  
2425   wall_mat polygon prism2.11.wall.6
2426   0
# Line 2792 | Line 2457 | floor_mat polygon prism2.11.wall.9
2457                   -8               20.6                3.2
2458                   -8               15.6                3.2
2459                    0               15.6                3.2
2795 # RCSid $Id$
2796 # Rectangular opening cut in end wall
2797 # xform -ry -90 -t -8 0 0
2798 # 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
2460  
2461   wall_mat polygon prism2.11.end_wall.b
2462   0
# Line 2907 | Line 2568 | wall_mat polygon prism2.11.end_wall.9
2568                 -8.2               19.6                4.2
2569                 -8.2               16.6                4.2
2570                   -8               16.6                4.2
2910 # RCSid $Id$
2911 # A dual-direction prism
2571  
2572   void prism2 prism2mat
2573   17 coef1 dx1 dy1 dz1 coef2 dx2 dy2 dz2 prism.cal -rz 90 -i 1 -t 0 15.6 3.2
# Line 2923 | Line 2582 | prism2mat polygon prism2.11.prism2_window
2582                 -8.1               19.6                4.2
2583                 -8.1               19.6                5.2
2584                 -8.1               16.6                5.2
2926 # xform -m gold -n prism2.12 -t 0 15.3 3.2
2927 # RCSid $Id$
2928 #
2929 # Vase model courtesy Tom Mertens from web page:
2930 #       http://people.csail.mit.edu/tmertens/textransfer/data
2931 # Include acknowledgment in any published work:
2932 #       "textured 3D model from the MIT CSAIL database"
2933 #
2934 # Origin is at center of base; Z-axis is up.
2935 # Vase is approx. 23cm tall
2936 # Moved into middle of room for testing
2937 #
2585  
2586   void colorpict vase_pat
2587 < 13 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 15.3 3.2
2587 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
2588   0
2589   3        0.318558228        0.196044229       0.0860372415
2590  
# Line 2950 | Line 2597 | gold mesh prism2.12.vase
2597   17 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 15.3 3.2
2598   0
2599   0
2953 # xform -n tfunc.13 -t 0 0 6.4
2954 # RCSid $Id$
2955 # Basic materials used for walls, etc.
2600  
2957 void plastic wall_mat
2958 0
2959 0
2960 5                0.5                0.5                0.5                  0                  0
2961
2962 void plastic ceil_mat
2963 0
2964 0
2965 5                0.7                0.7                0.7                  0                  0
2966
2967 void plastic floor_mat
2968 0
2969 0
2970 5                0.3                0.2                0.1               0.02               0.04
2971
2972 void plastic black_outside
2973 0
2974 0
2975 5               0.05               0.05               0.05                  0                  0
2976 # RCSid $Id$
2977 # Walls of our diorama
2978 # xform -ry -90
2979 # 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
2980
2601   black_outside polygon tfunc.13.wall.b
2602   0
2603   0
# Line 3043 | Line 2663 | black_outside polygon tfunc.13.wall.4
2663                   -8               -0.1                9.5
2664                   -8               -0.1                6.3
2665   -6.12323399574e-18               -0.1                6.3
3046 # black_outside polygon wall.5
3047 # 0
3048 # 0
3049 # 12
3050 # -6.12323399574e-18               -0.1               -0.1
3051 #                 -8               -0.1               -0.1
3052 #                 -8                  0  4.89858719659e-16
3053 #                  0                  0                  0
2666  
2667   wall_mat polygon tfunc.13.wall.6
2668   0
# Line 3087 | Line 2699 | floor_mat polygon tfunc.13.wall.9
2699                   -8                  5                6.4
2700                   -8                  0                6.4
2701                    0                  0                6.4
3090 # RCSid $Id$
3091 # Rectangular opening cut in end wall
3092 # xform -ry -90 -t -8 0 0
3093 # 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
2702  
2703   wall_mat polygon tfunc.13.end_wall.b
2704   0
# Line 3202 | Line 2810 | wall_mat polygon tfunc.13.end_wall.9
2810                 -8.2                  4                7.4
2811                 -8.2                  1                7.4
2812                   -8                  1                7.4
3205 # RCSid $Id$
3206 # Red ball inside water cube, test for interface
2813  
2814   void dielectric clear_water
2815   0
# Line 3216 | Line 2822 | void interface red_interface
2822   8
2823          0.98         0.05         0.02          1.6
2824          0.98         0.98         0.98         1.33
3219 # xform -t -.5 -.5 -.5 -rz 17 -t -4 2.5 1.5
3220 # genbox clear_water watery 1 1 1
2825  
2826   clear_water polygon tfunc.13.watery.1540
2827   0
# Line 3277 | Line 2881 | red_interface sphere tfunc.13.red_ruby
2881   0
2882   0
2883   4                 -4                2.5                7.9               0.25
3280 # RCSid $Id$
3281 # A transfunc window to turn into a light source with mkillum
3282 #@mkillum l+ f=tfunc_ill c=a d=100 s=128 i=void
2884  
2885   void transfunc tfunc_mat
2886   8 absdf aniso.cal -i 1 -t 0 0 6.4
# Line 3303 | Line 2904 | void polygon tfunc.13.tfunc_window
2904                   -8                  4                7.4
2905                   -8                  4                8.4
2906                   -8                  1                8.4
3306 # xform -n trans.14 -t 0 5.2 6.4
3307 # RCSid $Id$
3308 # Walls of our diorama
3309 # xform -ry -90
3310 # 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
2907  
2908   black_outside polygon trans.14.wall.b
2909   0
# Line 3374 | Line 2970 | black_outside polygon trans.14.wall.4
2970                   -8                5.1                9.5
2971                   -8                5.1                6.3
2972   -6.12323399574e-18                5.1                6.3
3377 # black_outside polygon wall.5
3378 # 0
3379 # 0
3380 # 12
3381 # -6.12323399574e-18               -0.1               -0.1
3382 #                 -8               -0.1               -0.1
3383 #                 -8                  0  4.89858719659e-16
3384 #                  0                  0                  0
2973  
2974   wall_mat polygon trans.14.wall.6
2975   0
# Line 3418 | Line 3006 | floor_mat polygon trans.14.wall.9
3006                   -8               10.2                6.4
3007                   -8                5.2                6.4
3008                    0                5.2                6.4
3421 # RCSid $Id$
3422 # Rectangular opening cut in end wall
3423 # xform -ry -90 -t -8 0 0
3424 # 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
3009  
3010   wall_mat polygon trans.14.end_wall.b
3011   0
# Line 3533 | Line 3117 | wall_mat polygon trans.14.end_wall.9
3117                 -8.2                9.2                7.4
3118                 -8.2                6.2                7.4
3119                   -8                6.2                7.4
3536 # RCSid $Id$
3537 #
3538 # Four balls made of plastic2, metal2, plasfunc, and metfunc
3539 # Mixtext used to label each
3540 #
3120  
3121   void plastic white_mat
3122   0
# Line 3660 | Line 3239 | metf_text polygon trans.14.metf_label
3239                   -4                9.2                7.3
3240                   -4                8.7                7.3
3241                   -4                8.7                7.5
3663 # RCSid $Id$
3664 # A pair of spotlights, one pink and one bluish
3242  
3243   void spotlight pink_spotlight
3244   0
# Line 3690 | Line 3267 | blue_spotlight ring trans.14.bspot
3267                   -2                9.2                8.9
3268                 -2.5               -1.5                 -2
3269                    0                0.2
3693 # RCSid $Id$
3694 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
3695 #
3696 # Wellmade 2 lamp fixture, model 395-12A-248RS
3697 #
3698 # Dimensions in inches, fixture parallel to y axis, center at origin
3699 #
3270  
3271   void brightdata lum_dist
3272   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.2 6.4
3273   0
3274   0
3705 # this is scaled by 1/area (SI)
3275  
3276   lum_dist light lum_bright
3277   0
3278   0
3279   3                 20                 20                 20
3711 # 3               1.55               1.55               1.55
3280  
3281   lum_bright polygon trans.14.luminaire
3282   0
# Line 3718 | Line 3286 | lum_bright polygon trans.14.luminaire
3286       -4.57784968833      7.42695014728              9.399
3287       -4.57784968833      7.97304985273              9.399
3288       -3.42215031167      7.97304985272              9.399
3721 # RCSid $Id$
3722 # A yellowish trans material in our window
3289  
3290   void trans yellow_trans
3291   0
# Line 3734 | Line 3300 | yellow_trans polygon trans.14.yellow_diffuser
3300                 -8.1               10.2                6.4
3301                 -8.1               10.2                9.4
3302                 -8.1                5.2                9.4
3737 # xform -n trans2.15 -t 0 10.4 6.4
3738 # RCSid $Id$
3739 # Walls of our diorama
3740 # xform -ry -90
3741 # 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
3303  
3304   black_outside polygon trans2.15.wall.b
3305   0
# Line 3805 | Line 3366 | black_outside polygon trans2.15.wall.4
3366                   -8               10.3                9.5
3367                   -8               10.3                6.3
3368   -6.12323399574e-18               10.3                6.3
3808 # black_outside polygon wall.5
3809 # 0
3810 # 0
3811 # 12
3812 # -6.12323399574e-18               -0.1               -0.1
3813 #                 -8               -0.1               -0.1
3814 #                 -8                  0  4.89858719659e-16
3815 #                  0                  0                  0
3369  
3370   wall_mat polygon trans2.15.wall.6
3371   0
# Line 3849 | Line 3402 | floor_mat polygon trans2.15.wall.9
3402                   -8               15.4                6.4
3403                   -8               10.4                6.4
3404                    0               10.4                6.4
3852 # RCSid $Id$
3853 # Rectangular opening cut in end wall
3854 # xform -ry -90 -t -8 0 0
3855 # 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
3405  
3406   wall_mat polygon trans2.15.end_wall.b
3407   0
# Line 3964 | Line 3513 | wall_mat polygon trans2.15.end_wall.9
3513                 -8.2               14.4                7.4
3514                 -8.2               11.4                7.4
3515                   -8               11.4                7.4
3967 # RCSid $Id$
3968 # Test of cylinders, tubes, and BRTDfunc material
3516  
3517   void BRTDfunc brtd_mat
3518   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.4 6.4
# Line 3995 | Line 3542 | brtd_mat cylinder trans2.15.cyl3
3542                   -4               12.9                7.7
3543                   -4               12.9                8.1
3544                  0.4
3998 # RCSid $Id$
3999 # A trans2 window to turn into an llum with mkillum
4000 #@mkillum l- f=trans2_ill c=a d=200 s=256 i=void
3545  
3546   void trans2 trans2_mat
3547   10 0 0 1 . -i 1 -t 0 10.4 6.4
# Line 4021 | Line 3565 | void polygon trans2.15.tfunc_window
3565                   -8               14.4                7.4
3566                   -8               14.4                8.4
3567                   -8               11.4                8.4
4024 # xform -n patterns.16 -t 0 15.6 6.4
4025 # RCSid $Id$
4026 #
4027 # A set of 9 patterned materials
4028 #
3568  
3569   void brightfunc noisepat
3570   8 "1 - .35*(1+fnoise3(3*Px,3*Py,3*Pz))" . -i 1 -t 0 15.6 6.4
# Line 4056 | Line 3595 | textpat alias mat1
3595  
3596   void alias mat3
3597          base_mat
4059 # Intentionally redefining base_mat
3598  
3599   void plastic base_mat
3600   0
# Line 4119 | Line 3657 | cfpat alias mat9
3657  
3658   inherit alias mat2
3659          base_mat1
4122 # RCSid $Id$
4123 # Walls of our diorama
4124 # xform -ry -90
4125 # 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
3660  
3661   black_outside polygon patterns.16.wall.b
3662   0
# Line 4189 | Line 3723 | black_outside polygon patterns.16.wall.4
3723                   -8               15.5                9.5
3724                   -8               15.5                6.3
3725   -6.12323399574e-18               15.5                6.3
4192 # black_outside polygon wall.5
4193 # 0
4194 # 0
4195 # 12
4196 # -6.12323399574e-18               -0.1               -0.1
4197 #                 -8               -0.1               -0.1
4198 #                 -8                  0  4.89858719659e-16
4199 #                  0                  0                  0
3726  
3727   wall_mat polygon patterns.16.wall.6
3728   0
# Line 4233 | Line 3759 | floor_mat polygon patterns.16.wall.9
3759                   -8               20.6                6.4
3760                   -8               15.6                6.4
3761                    0               15.6                6.4
4236 # RCSid $Id$
4237 # A closed wall for the end cap of our diorama
4238 # xform -t -8.2 -.1 -.1
4239 # genbox wall_mat end_wall .2 5.2 3.2
3762  
3763   wall_mat polygon patterns.16.end_wall.1540
3764   0
# Line 4291 | Line 3813 | wall_mat polygon patterns.16.end_wall.6457
3813                 -8.2               15.5                9.5
3814                   -8               15.5                9.5
3815                   -8               20.7                9.5
4294 # RCSid $Id$
4295 #
4296 # A set of 9 disks to be painted in various modes
4297 #
4298 # xform -m mat1 -n disk1 -t -5.5 1 .5
4299 # RCSid $Id$
4300 #
4301 # A rounded saucer for material testing
4302 #
4303 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
3816  
3817   mat1 cone patterns.16.disk1.seg.1
3818   0
# Line 4741 | Line 4253 | mat1 cone patterns.16.disk1.seg.55
4253                 -5.5               16.6      7.54995921682
4254                 -5.5               16.6               7.55
4255     0.00856785054562                  0
4744 # xform -m mat2 -n disk2 -t -5.5 2.5 .5
4745 # RCSid $Id$
4746 #
4747 # A rounded saucer for material testing
4748 #
4749 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
4256  
4257   mat2 cone patterns.16.disk2.seg.1
4258   0
# Line 5187 | Line 4693 | mat2 cone patterns.16.disk2.seg.55
4693                 -5.5               18.1      7.54995921682
4694                 -5.5               18.1               7.55
4695     0.00856785054562                  0
5190 # xform -m mat3 -n disk3 -t -5.5 4 .5
5191 # RCSid $Id$
5192 #
5193 # A rounded saucer for material testing
5194 #
5195 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
4696  
4697   mat3 cone patterns.16.disk3.seg.1
4698   0
# Line 5633 | Line 5133 | mat3 cone patterns.16.disk3.seg.55
5133                 -5.5               19.6      7.54995921682
5134                 -5.5               19.6               7.55
5135     0.00856785054562                  0
5636 # xform -m mat4 -n disk4 -t -4 1 .5
5637 # RCSid $Id$
5638 #
5639 # A rounded saucer for material testing
5640 #
5641 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
5136  
5137   mat4 cone patterns.16.disk4.seg.1
5138   0
# Line 6079 | Line 5573 | mat4 cone patterns.16.disk4.seg.55
5573                   -4               16.6      7.54995921682
5574                   -4               16.6               7.55
5575     0.00856785054562                  0
6082 # xform -m mat5 -n disk5 -t -4 2.5 .5
6083 # RCSid $Id$
6084 #
6085 # A rounded saucer for material testing
6086 #
6087 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
5576  
5577   mat5 cone patterns.16.disk5.seg.1
5578   0
# Line 6525 | Line 6013 | mat5 cone patterns.16.disk5.seg.55
6013                   -4               18.1      7.54995921682
6014                   -4               18.1               7.55
6015     0.00856785054562                  0
6528 # xform -m mat6 -n disk6 -t -4 4 .5
6529 # RCSid $Id$
6530 #
6531 # A rounded saucer for material testing
6532 #
6533 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
6016  
6017   mat6 cone patterns.16.disk6.seg.1
6018   0
# Line 6971 | Line 6453 | mat6 cone patterns.16.disk6.seg.55
6453                   -4               19.6      7.54995921682
6454                   -4               19.6               7.55
6455     0.00856785054562                  0
6974 # xform -m mat7 -n disk7 -t -2.5 1 .5
6975 # RCSid $Id$
6976 #
6977 # A rounded saucer for material testing
6978 #
6979 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
6456  
6457   mat7 cone patterns.16.disk7.seg.1
6458   0
# Line 7417 | Line 6893 | mat7 cone patterns.16.disk7.seg.55
6893                 -2.5               16.6      7.54995921682
6894                 -2.5               16.6               7.55
6895     0.00856785054562                  0
7420 # xform -m mat8 -n disk8 -t -2.5 2.5 .5
7421 # RCSid $Id$
7422 #
7423 # A rounded saucer for material testing
7424 #
7425 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
6896  
6897   mat8 cone patterns.16.disk8.seg.1
6898   0
# Line 7863 | Line 7333 | mat8 cone patterns.16.disk8.seg.55
7333                 -2.5               18.1      7.54995921682
7334                 -2.5               18.1               7.55
7335     0.00856785054562                  0
7866 # xform -m mat9 -n disk9 -t -2.5 4 .5
7867 # RCSid $Id$
7868 #
7869 # A rounded saucer for material testing
7870 #
7871 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
7336  
7337   mat9 cone patterns.16.disk9.seg.1
7338   0
# Line 8309 | Line 7773 | mat9 cone patterns.16.disk9.seg.55
7773                 -2.5               19.6      7.54995921682
7774                 -2.5               19.6               7.55
7775     0.00856785054562                  0
8312 # RCSid $Id$
8313 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
8314 #
8315 # Wellmade 2 lamp fixture, model 395-12A-248RS
8316 #
8317 # Dimensions in inches, fixture parallel to y axis, center at origin
8318 #
7776  
7777   void brightdata lum_dist
7778   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 15.6 6.4
7779   0
7780   0
8324 # this is scaled by 1/area (SI)
7781  
7782   lum_dist light lum_bright
7783   0
7784   0
7785   3                 20                 20                 20
8330 # 3               1.55               1.55               1.55
7786  
7787   lum_bright polygon patterns.16.luminaire
7788   0
# Line 8337 | Line 7792 | lum_bright polygon patterns.16.luminaire
7792       -4.57784968833      17.8269501473              9.399
7793       -4.57784968833      18.3730498527              9.399
7794       -3.42215031167      18.3730498527              9.399
8340 # xform -n mixtex.17 -t 0 0 9.6
8341 #
8342 # A set of mixtures and textures applied to 9 materials
8343 #
7795  
7796   void metal2 brushed_gold
7797   10 0 1 0 . -i 1 -t 0 0 9.6
# Line 8358 | Line 7809 | void mixdata mat7
7809   0
7810  
7811   void mixpict mat8
7812 < 13 white brushed_gold grey flower.hdr . (Py-2.2)/.6 (-Px-2.2)/.6 -i 1 -t 0 0 9.6
7812 > 7 white brushed_gold grey flower.hdr . (Py-2.2)/.6 (-Px-2.2)/.6
7813   0
7814   0
7815  
# Line 8402 | Line 7853 | void transdata mat4
7853   10 noop tcutoff.dat maxang.cal maxang -i 1 -t 0 0 9.6
7854   0
7855   6                0.9                0.9                0.9               0.07                0.9                  1
8405 # RCSid $Id$
8406 # Walls of our diorama
8407 # xform -ry -90
8408 # 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
7856  
7857   black_outside polygon mixtex.17.wall.b
7858   0
# Line 8472 | Line 7919 | black_outside polygon mixtex.17.wall.4
7919                   -8               -0.1               12.7
7920                   -8               -0.1                9.5
7921   -6.12323399574e-18               -0.1                9.5
8475 # black_outside polygon wall.5
8476 # 0
8477 # 0
8478 # 12
8479 # -6.12323399574e-18               -0.1               -0.1
8480 #                 -8               -0.1               -0.1
8481 #                 -8                  0  4.89858719659e-16
8482 #                  0                  0                  0
7922  
7923   wall_mat polygon mixtex.17.wall.6
7924   0
# Line 8516 | Line 7955 | floor_mat polygon mixtex.17.wall.9
7955                   -8                  5                9.6
7956                   -8                  0                9.6
7957                    0                  0                9.6
8519 # RCSid $Id$
8520 # A bluish glass pane to fit any opening in end wall
7958  
7959   void glass glass_blue
7960   0
# Line 8532 | Line 7969 | glass_blue polygon mixtex.17.blue_glazing
7969                 -8.1                  5                9.6
7970                 -8.1                  5               12.6
7971                 -8.1                  0               12.6
8535 # RCSid $Id$
8536 # Venetian blinds with BSDF in rectangular window
8537 #@mkillum f=blinds_ill c=d d=200 s=100 i=m_blinds20c_f
8538 # xform -rz 90 -ry 90 -t -8.04 2.5 1.5
8539 # Produced by: pkgBSDF blinds20c.xml
8540 # Material 'Green specular venetian blinds at 20 degree angle' by 'Greg Ward'
7972  
7973   void BSDF m_blinds20c_f
7974   22 0.0375926 blinds20c.xml 0 1 0 . -i 1 -rz 90 -ry 90 -t -8.04 2.5 1.5 -i 1 -t 0 0 9.6
# Line 8566 | Line 7997 | m_blinds20c_b polygon mixtex.17.blinds20c_b
7997          -8.07759185                  4         10.6131551
7998          -8.07759185                  4         11.5868449
7999          -8.07759185                  1         11.5868449
8569 ## Translated from MGF Version 2.0
8570 ## mgf2rad
8571 ## mgf2rad /tmp/rtAhkTMq ##############################
8572 # Y-axis points "up", Z-axis into room, right-handed coordinates
8000  
8001   void plastic MagentaPlastic
8002   0
# Line 9174 | Line 8601 | SpecularGreen polygon mixtex.17.VenetianBlinds.a32.gSl
8601       -8.07759112503                  4      11.5731645912
8602        -8.0400034202                  4      11.5868453969
8603        -8.0400034202                  1      11.5868453969
9177 # RCSid $Id$
9178 # Rectangular opening cut in end wall
9179 # xform -ry -90 -t -8 0 0
9180 # 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
8604  
8605   wall_mat polygon mixtex.17.end_wall.b
8606   0
# Line 9289 | Line 8712 | wall_mat polygon mixtex.17.end_wall.9
8712                 -8.2                  4               10.6
8713                 -8.2                  1               10.6
8714                   -8                  1               10.6
9292 # RCSid $Id$
9293 #
9294 # A set of 9 disks to be painted in various modes
9295 #
9296 # xform -m mat1 -n disk1 -t -5.5 1 .5
9297 # RCSid $Id$
9298 #
9299 # A rounded saucer for material testing
9300 #
9301 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
8715  
8716   mat1 cone mixtex.17.disk1.seg.1
8717   0
# Line 9739 | Line 9152 | mat1 cone mixtex.17.disk1.seg.55
9152                 -5.5                  1      10.7499592168
9153                 -5.5                  1              10.75
9154     0.00856785054562                  0
9742 # xform -m mat2 -n disk2 -t -5.5 2.5 .5
9743 # RCSid $Id$
9744 #
9745 # A rounded saucer for material testing
9746 #
9747 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
9155  
9156   mat2 cone mixtex.17.disk2.seg.1
9157   0
# Line 10185 | Line 9592 | mat2 cone mixtex.17.disk2.seg.55
9592                 -5.5                2.5      10.7499592168
9593                 -5.5                2.5              10.75
9594     0.00856785054562                  0
10188 # xform -m mat3 -n disk3 -t -5.5 4 .5
10189 # RCSid $Id$
10190 #
10191 # A rounded saucer for material testing
10192 #
10193 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
9595  
9596   mat3 cone mixtex.17.disk3.seg.1
9597   0
# Line 10631 | Line 10032 | mat3 cone mixtex.17.disk3.seg.55
10032                 -5.5                  4      10.7499592168
10033                 -5.5                  4              10.75
10034     0.00856785054562                  0
10634 # xform -m mat4 -n disk4 -t -4 1 .5
10635 # RCSid $Id$
10636 #
10637 # A rounded saucer for material testing
10638 #
10639 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
10035  
10036   mat4 cone mixtex.17.disk4.seg.1
10037   0
# Line 11077 | Line 10472 | mat4 cone mixtex.17.disk4.seg.55
10472                   -4                  1      10.7499592168
10473                   -4                  1              10.75
10474     0.00856785054562                  0
11080 # xform -m mat5 -n disk5 -t -4 2.5 .5
11081 # RCSid $Id$
11082 #
11083 # A rounded saucer for material testing
11084 #
11085 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
10475  
10476   mat5 cone mixtex.17.disk5.seg.1
10477   0
# Line 11523 | Line 10912 | mat5 cone mixtex.17.disk5.seg.55
10912                   -4                2.5      10.7499592168
10913                   -4                2.5              10.75
10914     0.00856785054562                  0
11526 # xform -m mat6 -n disk6 -t -4 4 .5
11527 # RCSid $Id$
11528 #
11529 # A rounded saucer for material testing
11530 #
11531 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
10915  
10916   mat6 cone mixtex.17.disk6.seg.1
10917   0
# Line 11969 | Line 11352 | mat6 cone mixtex.17.disk6.seg.55
11352                   -4                  4      10.7499592168
11353                   -4                  4              10.75
11354     0.00856785054562                  0
11972 # xform -m mat7 -n disk7 -t -2.5 1 .5
11973 # RCSid $Id$
11974 #
11975 # A rounded saucer for material testing
11976 #
11977 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
11355  
11356   mat7 cone mixtex.17.disk7.seg.1
11357   0
# Line 12415 | Line 11792 | mat7 cone mixtex.17.disk7.seg.55
11792                 -2.5                  1      10.7499592168
11793                 -2.5                  1              10.75
11794     0.00856785054562                  0
12418 # xform -m mat8 -n disk8 -t -2.5 2.5 .5
12419 # RCSid $Id$
12420 #
12421 # A rounded saucer for material testing
12422 #
12423 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
11795  
11796   mat8 cone mixtex.17.disk8.seg.1
11797   0
# Line 12861 | Line 12232 | mat8 cone mixtex.17.disk8.seg.55
12232                 -2.5                2.5      10.7499592168
12233                 -2.5                2.5              10.75
12234     0.00856785054562                  0
12864 # xform -m mat9 -n disk9 -t -2.5 4 .5
12865 # RCSid $Id$
12866 #
12867 # A rounded saucer for material testing
12868 #
12869 # genrev mat seg -.25+.9*cos(PI/6*(1-t)) .9*sin(PI/6*(1-t)) 55
12235  
12236   mat9 cone mixtex.17.disk9.seg.1
12237   0
# Line 13307 | Line 12672 | mat9 cone mixtex.17.disk9.seg.55
12672                 -2.5                  4      10.7499592168
12673                 -2.5                  4              10.75
12674     0.00856785054562                  0
13310 # RCSid $Id$
13311 #
13312 # Multiple light sources for material models
13313 #
12675  
12676   void light bright
12677   0
# Line 13366 | Line 12727 | bright sphere mixtex.17.bulb9
12727   0
12728   0
12729   4     -2.30106431181      1.26565097019               12.4               0.03
13369 # xform -n spectra.18 -t 0 5.2 9.6
13370 # RCSid $Id$
13371 # Basic materials used for walls, etc.
12730  
12731 < void plastic wall_mat
12731 > void spectrum gold_spec
12732   0
12733   0
12734 < 5                0.5                0.5                0.5                  0                  0
12734 > 82                380                775        0.389133964        0.389133964        0.389255302        0.389980986        0.391051245        0.392138273        0.392908482        0.393032534        0.392429968        0.391351324        0.390030615        0.388650157        0.387407915        0.386320218        0.385530031        0.385510124        0.386040307        0.386026057        0.388298949        0.394215681        0.404140535        0.419966115        0.443246002        0.473861019        0.511014174        0.552643396        0.596304788        0.639685049        0.682955923        0.723645597        0.759200442        0.789126545        0.813469177        0.832955943        0.848265499        0.860485356        0.870549939        0.878925721        0.885276016        0.891159039        0.896546999        0.901393946        0.905636686        0.909327028        0.912475235         0.91521538        0.917680109        0.919998384        0.922297675        0.924966158        0.927728576        0.930571538        0.933477024        0.936421086        0.939377245        0.942439249        0.945588396        0.948563802        0.951319598        0.953828111        0.956075841        0.958059262        0.959789105        0.961306963         0.96261608        0.963753124        0.964748535        0.965627808        0.966413149         0.96712339        0.967778124        0.968398351        0.968976934        0.969517604        0.970024269        0.970500409        0.970949021        0.971372989        0.971775043        0.972157635
12735  
12736 < void plastic ceil_mat
12736 > void specfile copper_spec
12737 > 1 copper_spec.dat
12738   0
12739   0
13381 5                0.7                0.7                0.7                  0                  0
12740  
12741 < void plastic floor_mat
12741 > void specfunc rainbow_spec
12742 > 14 xrainbow rainbow.cal -s 4 -t -6 0 0 -i 1 -t 0 5.2 9.6
12743   0
12744 < 0
13386 < 5                0.3                0.2                0.1               0.02               0.04
12744 > 3                380                780                 45
12745  
12746 < void plastic black_outside
12746 > void specdata gold+copper_alloy_spec
12747 > 10 noop copper_gold.dat . .5+.5*cos(PI*Py) -i 1 -t 0 5.2 9.6
12748   0
12749   0
13391 5               0.05               0.05               0.05                  0                  0
13392 # RCSid $Id$
13393 #
13394 # Spectral material definitions
13395 #
12750  
12751 < void spectrum gold_spec
12751 > void specpict mini_me_spec
12752 > 11 clip spfish.hsr . 3.25-Py 4+Px -i 1 -t 0 5.2 9.6
12753   0
12754   0
13400 82                380                775        0.389133964        0.389133964        0.389255302        0.389980986        0.391051245        0.392138273        0.392908482        0.393032534        0.392429968        0.391351324        0.390030615        0.388650157        0.387407915        0.386320218        0.385530031        0.385510124        0.386040307        0.386026057        0.388298949        0.394215681        0.404140535        0.419966115        0.443246002        0.473861019        0.511014174        0.552643396        0.596304788        0.639685049        0.682955923        0.723645597        0.759200442        0.789126545        0.813469177        0.832955943        0.848265499        0.860485356        0.870549939        0.878925721        0.885276016        0.891159039        0.896546999        0.901393946        0.905636686        0.909327028        0.912475235         0.91521538        0.917680109        0.919998384        0.922297675        0.924966158        0.927728576        0.930571538        0.933477024        0.936421086        0.939377245        0.942439249        0.945588396        0.948563802        0.951319598        0.953828111        0.956075841        0.958059262        0.959789105        0.961306963         0.96261608        0.963753124        0.964748535        0.965627808        0.966413149         0.96712339        0.967778124        0.968398351        0.968976934        0.969517604        0.970024269        0.970500409        0.970949021        0.971372989        0.971775043        0.972157635
12755  
12756 < void specfile copper_spec
13403 < 1 copper_spec.dat
12756 > gold_spec metal gold_smat
12757   0
12758   0
12759 < # Third real argument is bandwidth and determines brightness/saturation
12759 > 5                  1                  1                  1                  1                  0
12760  
12761 < void specfunc rainbow_spec
13409 < 14 xrainbow rainbow.cal -s 4 -t -6 0 0 -i 1 -t 0 5.2 9.6
12761 > copper_spec metal copper_smat
12762   0
12763 < 3                380                780                 30
12763 > 0
12764 > 5                  1                  1                  1                  1                  0
12765  
12766 < gold_spec metal gold_smat
12766 > rainbow_spec plastic rainbow_smat
12767   0
12768   0
12769 < 5                  1                  1                  1                  1                  0
12769 > 5                  1                  1                  1                  0                  0
12770  
12771 < copper_spec metal copper_smat
12771 > gold+copper_alloy_spec metal gold+copper_alloy
12772   0
12773   0
12774   5                  1                  1                  1                  1                  0
12775  
12776 < rainbow_spec plastic rainbow_smat
12776 > mini_me_spec plastic mini_me_mat
12777   0
12778   0
12779   5                  1                  1                  1                  0                  0
13427 # RCSid $Id$
12780  
12781   void metal gold
12782   0
12783   0
12784   5            0.99717           0.781957           0.334172                  1                  0
13433 # RCSid $Id$
13434 # Walls of our diorama
13435 # xform -ry -90
13436 # 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
12785  
12786   black_outside polygon spectra.18.wall.b
12787   0
# Line 13500 | Line 12848 | black_outside polygon spectra.18.wall.4
12848                   -8                5.1               12.7
12849                   -8                5.1                9.5
12850   -6.12323399574e-18                5.1                9.5
13503 # black_outside polygon wall.5
13504 # 0
13505 # 0
13506 # 12
13507 # -6.12323399574e-18               -0.1               -0.1
13508 #                 -8               -0.1               -0.1
13509 #                 -8                  0  4.89858719659e-16
13510 #                  0                  0                  0
12851  
12852   wall_mat polygon spectra.18.wall.6
12853   0
# Line 13544 | Line 12884 | floor_mat polygon spectra.18.wall.9
12884                   -8               10.2                9.6
12885                   -8                5.2                9.6
12886                    0                5.2                9.6
13547 # RCSid $Id$
13548 # A closed wall for the end cap of our diorama
13549 # xform -t -8.2 -.1 -.1
13550 # genbox wall_mat end_wall .2 5.2 3.2
12887  
12888   wall_mat polygon spectra.18.end_wall.1540
12889   0
# Line 13602 | Line 12938 | wall_mat polygon spectra.18.end_wall.6457
12938                 -8.2                5.1               12.7
12939                   -8                5.1               12.7
12940                   -8               10.3               12.7
13605 # RCSid $Id$
13606 # xform -s 0.0253999863 -rz 90 -t -4 2.5 2.999
13607 #
13608 # Wellmade 2 lamp fixture, model 395-12A-248RS
13609 #
13610 # Dimensions in inches, fixture parallel to y axis, center at origin
13611 #
12941  
12942   void brightdata lum_dist
12943   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.2 9.6
12944   0
12945   0
13617 # this is scaled by 1/area (SI)
12946  
12947   lum_dist light lum_bright
12948   0
12949   0
12950   3                 20                 20                 20
13623 # 3               1.55               1.55               1.55
12951  
12952   lum_bright polygon spectra.18.luminaire
12953   0
# Line 13630 | Line 12957 | lum_bright polygon spectra.18.luminaire
12957       -4.57784968833      7.42695014728             12.599
12958       -4.57784968833      7.97304985273             12.599
12959       -3.42215031167      7.97304985272             12.599
13633 # RCSid $Id$
13634 #
13635 # A few spectral test objects
13636 #
13637 # xform -m gold -t 0 -1 0
13638 # RCSid $Id$
13639 #
13640 # Vase model courtesy Tom Mertens from web page:
13641 #       http://people.csail.mit.edu/tmertens/textransfer/data
13642 # Include acknowledgment in any published work:
13643 #       "textured 3D model from the MIT CSAIL database"
13644 #
13645 # Origin is at center of base; Z-axis is up.
13646 # Vase is approx. 23cm tall
13647 # Moved into middle of room for testing
13648 #
12960  
12961   void colorpict vase_pat
12962 < 19 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 -1 0 -i 1 -t 0 5.2 9.6
12962 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
12963   0
12964   3        0.318558228        0.196044229       0.0860372415
12965  
# Line 13661 | Line 12972 | gold mesh spectra.18.vase
12972   23 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 -1 0 -i 1 -t 0 5.2 9.6
12973   0
12974   0
13664 # xform -m gold_smat -t 0 1 0
13665 # RCSid $Id$
13666 #
13667 # Vase model courtesy Tom Mertens from web page:
13668 #       http://people.csail.mit.edu/tmertens/textransfer/data
13669 # Include acknowledgment in any published work:
13670 #       "textured 3D model from the MIT CSAIL database"
13671 #
13672 # Origin is at center of base; Z-axis is up.
13673 # Vase is approx. 23cm tall
13674 # Moved into middle of room for testing
13675 #
12975  
12976   void colorpict vase_pat
12977 < 19 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 0 1 0 -i 1 -t 0 5.2 9.6
12977 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
12978   0
12979   3        0.318558228        0.196044229       0.0860372415
12980  
# Line 13688 | Line 12987 | gold_smat mesh spectra.18.vase
12987   23 vase.rtm -t 25 5 130 -s .005 -t -4 2.5 1 -i 1 -t 0 1 0 -i 1 -t 0 5.2 9.6
12988   0
12989   0
13691 # xform -m copper_smat -t 1 0 0
13692 # RCSid $Id$
13693 #
13694 # Vase model courtesy Tom Mertens from web page:
13695 #       http://people.csail.mit.edu/tmertens/textransfer/data
13696 # Include acknowledgment in any published work:
13697 #       "textured 3D model from the MIT CSAIL database"
13698 #
13699 # Origin is at center of base; Z-axis is up.
13700 # Vase is approx. 23cm tall
13701 # Moved into middle of room for testing
13702 #
12990  
12991   void colorpict vase_pat
12992 < 19 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv -i 1 -t 1 0 0 -i 1 -t 0 5.2 9.6
12992 > 7 lim_r lim_g lim_b vase.hdr climit.cal Lu Lv
12993   0
12994   3        0.318558228        0.196044229       0.0860372415
12995  
# Line 13733 | Line 13020 | rainbow_smat polygon spectra.18.rainbow2
13020                   -2              10.19               11.6
13021                   -2              10.19               10.6
13022                   -6              10.19               10.6
13023 +
13024 + gold+copper_alloy cylinder spectra.18.gold+copper
13025 + 0
13026 + 0
13027 + 7
13028 +                 -5                7.2               10.1
13029 +                 -5                8.2               10.1
13030 +                0.5
13031 +
13032 + gold+copper_alloy ring spectra.18.gold+copper_cap0
13033 + 0
13034 + 0
13035 + 8
13036 +                 -5                7.2               10.1
13037 +                  0                 -1                  0
13038 +                  0                0.5
13039 +
13040 + gold+copper_alloy ring spectra.18.gold+copper_cap1
13041 + 0
13042 + 0
13043 + 8
13044 +                 -5                8.2               10.1
13045 +                  0                  1                  0
13046 +                  0                0.5
13047 +
13048 + mini_me_mat polygon spectra.18.mini_me
13049 + 0
13050 + 0
13051 + 12
13052 +                 -3               8.45               9.65
13053 +                 -4               8.45               9.65
13054 +                 -4               6.95               9.65
13055 +                 -3               6.95               9.65
13056 +
13057 + black_outside polygon wgmdf.19.wall.b
13058 + 0
13059 + 0
13060 + 30
13061 + -6.12323399574e-18               10.3                9.5
13062 + -6.12323399574e-18               15.5                9.5
13063 +  1.89820253868e-16               15.5               12.7
13064 +  1.89820253868e-16               10.3               12.7
13065 + -6.12323399574e-18               10.3                9.5
13066 +                  0               10.4                9.6
13067 +  1.83697019872e-16               10.4               12.6
13068 +  1.83697019872e-16               15.4               12.6
13069 +                  0               15.4                9.6
13070 +                  0               10.4                9.6
13071 +
13072 + black_outside polygon wgmdf.19.wall.t
13073 + 0
13074 + 0
13075 + 30
13076 +                 -8               10.4                9.6
13077 +                 -8               15.4                9.6
13078 +                 -8               15.4               12.6
13079 +                 -8               10.4               12.6
13080 +                 -8               10.4                9.6
13081 +                 -8               10.3                9.5
13082 +                 -8               10.3               12.7
13083 +                 -8               15.5               12.7
13084 +                 -8               15.5                9.5
13085 +                 -8               10.3                9.5
13086 +
13087 + black_outside polygon wgmdf.19.wall.1
13088 + 0
13089 + 0
13090 + 12
13091 + -6.12323399574e-18               10.3                9.5
13092 +                 -8               10.3                9.5
13093 +                 -8               15.5                9.5
13094 + -6.12323399574e-18               15.5                9.5
13095 +
13096 + black_outside polygon wgmdf.19.wall.2
13097 + 0
13098 + 0
13099 + 12
13100 + -6.12323399574e-18               15.5                9.5
13101 +                 -8               15.5                9.5
13102 +                 -8               15.5               12.7
13103 +  1.89820253868e-16               15.5               12.7
13104 +
13105 + black_outside polygon wgmdf.19.wall.3
13106 + 0
13107 + 0
13108 + 12
13109 +  1.89820253868e-16               15.5               12.7
13110 +                 -8               15.5               12.7
13111 +                 -8               10.3               12.7
13112 +  1.89820253868e-16               10.3               12.7
13113 +
13114 + black_outside polygon wgmdf.19.wall.4
13115 + 0
13116 + 0
13117 + 12
13118 +  1.89820253868e-16               10.3               12.7
13119 +                 -8               10.3               12.7
13120 +                 -8               10.3                9.5
13121 + -6.12323399574e-18               10.3                9.5
13122 +
13123 + wall_mat polygon wgmdf.19.wall.6
13124 + 0
13125 + 0
13126 + 12
13127 +                  0               10.4                9.6
13128 +                 -8               10.4                9.6
13129 +                 -8               10.4               12.6
13130 +  1.83697019872e-16               10.4               12.6
13131 +
13132 + ceil_mat polygon wgmdf.19.wall.7
13133 + 0
13134 + 0
13135 + 12
13136 +  1.83697019872e-16               10.4               12.6
13137 +                 -8               10.4               12.6
13138 +                 -8               15.4               12.6
13139 +  1.83697019872e-16               15.4               12.6
13140 +
13141 + wall_mat polygon wgmdf.19.wall.8
13142 + 0
13143 + 0
13144 + 12
13145 +  1.83697019872e-16               15.4               12.6
13146 +                 -8               15.4               12.6
13147 +                 -8               15.4                9.6
13148 +                  0               15.4                9.6
13149 +
13150 + floor_mat polygon wgmdf.19.wall.9
13151 + 0
13152 + 0
13153 + 12
13154 +                  0               15.4                9.6
13155 +                 -8               15.4                9.6
13156 +                 -8               10.4                9.6
13157 +                  0               10.4                9.6
13158 +
13159 + wall_mat polygon wgmdf.19.end_wall.1540
13160 + 0
13161 + 0
13162 + 12
13163 +                 -8               10.3                9.5
13164 +                 -8               10.3               12.7
13165 +               -8.2               10.3               12.7
13166 +               -8.2               10.3                9.5
13167 +
13168 + wall_mat polygon wgmdf.19.end_wall.4620
13169 + 0
13170 + 0
13171 + 12
13172 +               -8.2               10.3               12.7
13173 +               -8.2               15.5               12.7
13174 +               -8.2               15.5                9.5
13175 +               -8.2               10.3                9.5
13176 +
13177 + wall_mat polygon wgmdf.19.end_wall.2310
13178 + 0
13179 + 0
13180 + 12
13181 +               -8.2               15.5                9.5
13182 +                 -8               15.5                9.5
13183 +                 -8               10.3                9.5
13184 +               -8.2               10.3                9.5
13185 +
13186 + wall_mat polygon wgmdf.19.end_wall.3267
13187 + 0
13188 + 0
13189 + 12
13190 +                 -8               15.5                9.5
13191 +               -8.2               15.5                9.5
13192 +               -8.2               15.5               12.7
13193 +                 -8               15.5               12.7
13194 +
13195 + wall_mat polygon wgmdf.19.end_wall.5137
13196 + 0
13197 + 0
13198 + 12
13199 +                 -8               10.3               12.7
13200 +                 -8               10.3                9.5
13201 +                 -8               15.5                9.5
13202 +                 -8               15.5               12.7
13203 +
13204 + wall_mat polygon wgmdf.19.end_wall.6457
13205 + 0
13206 + 0
13207 + 12
13208 +               -8.2               15.5               12.7
13209 +               -8.2               10.3               12.7
13210 +                 -8               10.3               12.7
13211 +                 -8               15.5               12.7
13212 +
13213 + void brightfunc ringing
13214 + 8 if(Dz-.75,1,.5+.5*cos(40*(acos(Dz)-acos(.75)))) . -i 1 -t 0 10.4 9.6
13215 + 0
13216 + 0
13217 +
13218 + ringing light superbright
13219 + 0
13220 + 0
13221 + 3               7500               7500               7500
13222 +
13223 + superbright ring wgmdf.19.recessed_fixture
13224 + 0
13225 + 0
13226 + 8
13227 +                 -4               12.9              12.59
13228 +                  0                  0                 -1
13229 +                  0               0.02
13230 +
13231 + black_outside cylinder wgmdf.19.mount
13232 + 0
13233 + 0
13234 + 7
13235 +                 -4               12.9              12.59
13236 +                 -4               12.9              12.61
13237 +               0.02
13238 +
13239 + void colorfunc check1
13240 + 12 if(Check(12),.5,.1) if(Check(12),.1,.7) if(Check(12),.4,.9) cylmods.cal -ry 90 -i 1 -t 0 10.4 9.6
13241 + 0
13242 + 0
13243 +
13244 + void WGMDfunc wgmd_mat1
13245 + 25 void if(Px,.08,0) 0 0 check1 .2 0 0 void 0 0 1 cylmods.cal -ry 90 -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13246 + 0
13247 + 9               0.01               0.01               0.01               0.05                0.2               0.05                  0                  0                  0
13248 +
13249 + void texfunc pyramid2
13250 + 18 Pyramid_dx(13) Pyramid_dy(13) Pyramid_dz(13) cylmods.cal -s .9 -rx 90 -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13251 + 0
13252 + 0
13253 +
13254 + void colorfunc check2
13255 + 18 if(Check(9),.9,.1) .1 if(Check(9),.3,.1) cylmods.cal -s .9 -rx 90 -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13256 + 0
13257 + 0
13258 +
13259 + void WGMDfunc wgmd_mat2
13260 + 23 pyramid2 .08 0 0 check2 .2 .02 .02 void 0 0 0 . -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13261 + 0
13262 + 9                  0                  0                  0                  0                  0                  0                  0                  0                  0
13263 +
13264 + void colorfunc check3
13265 + 16 if(Check(7),.9,.1) .1 if(Check(7),.3,.1) cylmods.cal -s .8 -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13266 + 0
13267 + 0
13268 +
13269 + check3 WGMDfunc wgmd_mat3
13270 + 23 void .03 .08*max(Pz,0) .03*max(Pz,0) void 0 0 0 inherit 0 0 1 . -t -4 2.5 1.1 -i 1 -t 0 10.4 9.6
13271 + 0
13272 + 9                  0                  0                  0                0.4                0.1                0.1                0.3                0.3                0.4
13273 +
13274 + wgmd_mat1 cylinder wgmdf.19.cyl1
13275 + 0
13276 + 0
13277 + 7
13278 +               -4.4               12.9               10.7
13279 +               -3.6               12.9               10.7
13280 +                  1
13281 +
13282 + wgmd_mat2 tube wgmdf.19.tube2
13283 + 0
13284 + 0
13285 + 7
13286 +                 -4               12.5               10.7
13287 +                 -4               13.3               10.7
13288 +                0.9
13289 +
13290 + wgmd_mat3 cylinder wgmdf.19.cyl3
13291 + 0
13292 + 0
13293 + 7
13294 +                 -4               12.9               10.3
13295 +                 -4               12.9               11.1
13296 +                0.8

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines