home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
OBJ
/
LIB1
/
DAFVASE.RAD
< prev
next >
Wrap
Text File
|
1993-10-07
|
21KB
|
954 lines
################################
# Copyright (c) 1991 Greg Ward #
# Windows and Lighting Program #
# Lawrence Berkeley Laboratory #
# Berkeley, CA 94720 #
################################
#
# A couple of daffodils in a blue vase (from cubicle office model)
#
# Depends on:
# rev.cal
#
# Units = centimeters
# (0,0,0) at back corner table level
# X-axis to left as viewed from front
# Y-axis towards front (where flowers sort of point)
# Z-axis is up
#
# Overall dimensions are 18.05 by 17.65 by 30.67 centimeters
#
################################
# xform -e -rz -90 -t 9.627 6.95252 0
void plastic vase_mat
0
0
5 0.2 0.3 0.9 0.06 0
# xform -e -n daffodil1 -ry 50 -t 7 0 24 -t -2 0 0 -rz -135
# xform -e -t 0 .5 0 -rx 90 -s 2
#
# A daffodil with stem
#
void plastic daf_yellow
0
0
5 0.7 0.7 0.2 0 0.1
void plastic stem_green
0
0
5 0.1 0.6 0.1 0 0.1
# xform -rx -90
# genrev daf_yellow trumpet hermite(0,3,0,-5,t) hermite(0,1.5,4,3,t) 16
daf_yellow cone daffodil1.trumpet.1
0
0
8
5.54979087365 11.0297291263 24.6427876097
5.49345453483 11.0860654652 24.709640032
0 0.451171876
daf_yellow cone daffodil1.trumpet.2
0
0
8
5.49345453483 11.0860654652 24.709640032
5.33608307184 11.2434369282 24.8963874088
0.451171876 0.8125
daf_yellow cone daffodil1.trumpet.3
0
0
8
5.33608307184 11.2434369282 24.8963874088
5.09513281551 11.4843871845 25.1823149046
0.8125 1.095703126
daf_yellow cone daffodil1.trumpet.4
0
0
8
5.09513281551 11.4843871845 25.1823149046
4.78806009493 11.7914599051 25.5467076858
1.095703126 1.3125
daf_yellow cone daffodil1.trumpet.5
0
0
8
4.78806009493 11.7914599051 25.5467076858
4.43232124236 12.1471987576 25.968850915
1.3125 1.474609376
daf_yellow cone daffodil1.trumpet.6
0
0
8
4.43232124236 12.1471987576 25.968850915
4.04537258027 12.5341474197 26.4280297665
1.474609376 1.59375
daf_yellow cone daffodil1.trumpet.7
0
0
8
4.04537258027 12.5341474197 26.4280297665
3.64467045933 12.9348495407 26.903529381
1.59375 1.681640626
daf_yellow cone daffodil1.trumpet.8
0
0
8
3.64467045933 12.9348495407 26.903529381
3.24767118686 13.3318488131 27.3746349509
1.681640626 1.75
daf_yellow cone daffodil1.trumpet.9
0
0
8
3.24767118686 13.3318488131 27.3746349509
2.8718311027 13.7076888973 27.8206316297
1.75 1.810546876
daf_yellow cone daffodil1.trumpet.10
0
0
8
2.8718311027 13.7076888973 27.8206316297
2.53460653582 14.0449134642 28.2208045841
1.810546876 1.875
daf_yellow cone daffodil1.trumpet.11
0
0
8
2.53460653582 14.0449134642 28.2208045841
2.25345382605 14.326066174 28.5544389677
1.875 1.955078126
daf_yellow cone daffodil1.trumpet.12
0
0
8
2.25345382605 14.326066174 28.5544389677
2.04582929156 14.5336907084 28.8008199598
1.955078126 2.0625
daf_yellow cone daffodil1.trumpet.13
0
0
8
2.04582929156 14.5336907084 28.8008199598
1.92918926133 14.6503307387 28.9392327271
2.0625 2.20898438
daf_yellow cone daffodil1.trumpet.14
0
0
8
1.92918926133 14.6503307387 28.9392327271
1.92099007518 14.6585299248 28.9489624232
2.20898438 2.40625
daf_yellow cup daffodil1.trumpet.15
0
0
8
1.92099007518 14.6585299248 28.9489624232
2.03868806212 14.5408319379 28.8092942146
2.40625 2.66601562
daf_yellow cup daffodil1.trumpet.16
0
0
8
2.03868806212 14.5408319379 28.8092942146
2.29973955113 14.2797804489 28.4995132678
2.66601562 3
daf_yellow ring daffodil1.petal1
0
0
8
4.24227403907 12.3372459609 23.0613959901
-0.964425746087 0.964425746087 1.79715496287
0 2.4
daf_yellow ring daffodil1.petal2
0
0
8
3.31800356661 10.3221287421 23.9806493218
-0.989157017315 1.55484244226 1.90106111812
0 2.4
daf_yellow ring daffodil1.petal3
0
0
8
4.34683055946 9.2358659349 25.7630292501
-1.30367059035 1.58651330282 1.45376013559
0 2.4
daf_yellow ring daffodil1.petal4
0
0
8
6.56772473081 10.3076116694 26.7314132441
-1.43637637231 1.43637637231 1.31287693031
0 2.4
daf_yellow ring daffodil1.petal5
0
0
8
7.34044305783 12.2632533678 25.7345672125
-1.48726864829 1.20442593582 1.30988172479
0 2.4
daf_yellow ring daffodil1.petal6
0
0
8
6.09758391288 13.2622303207 23.8453785533
-1.30988808285 0.800771200395 1.64394607425
0 2.4
daf_yellow cylinder daffodil1.stamen1
0
0
7
5.54979087365 11.0297291263 24.6427876097
2.40531252635 14.3156288299 27.9359804467
0.16
daf_yellow cylinder daffodil1.stamen2
0
0
7
5.54979087365 11.0297291263 24.6427876097
2.28684645639 13.8684094749 28.5241646345
0.16
daf_yellow cylinder daffodil1.stamen3
0
0
7
5.54979087365 11.0297291263 24.6427876097
2.69419255375 14.1681701587 28.3036817794
0.16
daf_yellow cylinder daffodil1.stamen4
0
0
7
5.54979087365 11.0297291263 24.6427876097
2.55340948482 14.0826790577 28.1015150187
0.16
daf_yellow cylinder daffodil1.stamen5
0
0
7
5.54979087365 11.0297291263 24.6427876097
2.2699422519 13.9984507644 28.0891893353
0.16
stem_green cone daffodil1.base_top
0
0
8
5.33312078548 11.2463992145 24.8999026536
6.09146609407 10.4880539059 24
0.5 0.2
stem_green sphere daffodil1.base_bot
0
0
4 6.09146609407 10.4880539059 24 0.4
#!genworm stem_green stem 'hermite(0,10,5,15,t)' 'hermite(-.5,-15,-20,-10,t)' 'hermite(0,5,0,5,t)' .15 10
# xform -t -2 0 0 -rz -135
# genworm stem_green stem1 hermite(0,7,0,10,t) 0 hermite(5,24,15,8,t) .3 10
stem_green sphere stem1.s0
0
0
4 11.0412135624 5.53830643763 5 0.3
stem_green cylinder stem1.c1
0
0
7
11.0412135624 5.53830643763 5
10.9662602436 5.61325975643 6.675
0.3
stem_green sphere stem1.s1
0
0
4 10.9662602436 5.61325975643 6.675 0.3
stem_green cylinder stem1.c2
0
0
7
10.9662602436 5.61325975643 6.675
10.7527139957 5.82680600435 8.64
0.3
stem_green sphere stem1.s2
0
0
4 10.7527139957 5.82680600435 8.64 0.3
stem_green cylinder stem1.c3
0
0
7
10.7527139957 5.82680600435 8.64
10.4175453814 6.16197461863 10.805
0.3
stem_green sphere stem1.s3
0
0
4 10.4175453814 6.16197461863 10.805 0.3
stem_green cylinder stem1.c4
0
0
7
10.4175453814 6.16197461863 10.805
9.97772496347 6.60179503653 13.08
0.3
stem_green sphere stem1.s4
0
0
4 9.97772496347 6.60179503653 13.08 0.3
stem_green cylinder stem1.c5
0
0
7
9.97772496347 6.60179503653 13.08
9.4502233047 7.1292966953 15.375
0.3
stem_green sphere stem1.s5
0
0
4 9.4502233047 7.1292966953 15.375 0.3
stem_green cylinder stem1.c6
0
0
7
9.4502233047 7.1292966953 15.375
8.85201096782 7.72750903218 17.6
0.3
stem_green sphere stem1.s6
0
0
4 8.85201096782 7.72750903218 17.6 0.3
stem_green cylinder stem1.c7
0
0
7
8.85201096782 7.72750903218 17.6
8.20005851557 8.37946148443 19.665
0.3
stem_green sphere stem1.s7
0
0
4 8.20005851557 8.37946148443 19.665 0.3
stem_green cylinder stem1.c8
0
0
7
8.20005851557 8.37946148443 19.665
7.51133651069 9.06818348931 21.48
0.3
stem_green sphere stem1.s8
0
0
4 7.51133651069 9.06818348931 21.48 0.3
stem_green cylinder stem1.c9
0
0
7
7.51133651069 9.06818348931 21.48
6.80281551594 9.77670448406 22.955
0.3
stem_green sphere stem1.s9
0
0
4 6.80281551594 9.77670448406 22.955 0.3
stem_green cylinder stem1.c10
0
0
7
6.80281551594 9.77670448406 22.955
6.09146609407 10.4880539059 24
0.3
stem_green sphere stem1.s10
0
0
4 6.09146609407 10.4880539059 24 0.3
# xform -e -n daffodil2 -ry 50 -t 7 0 24 -t -2 0 0 -rz -215
# xform -e -t 0 .5 0 -rx 90 -s 2
#
# A daffodil with stem
#
void plastic daf_yellow
0
0
5 0.7 0.7 0.2 0 0.1
void plastic stem_green
0
0
5 0.1 0.6 0.1 0 0.1
# xform -rx -90
# genrev daf_yellow trumpet hermite(0,3,0,-5,t) hermite(0,1.5,4,3,t) 16
daf_yellow cone daffodil2.trumpet.1
0
0
8
12.9342672235 11.675787093 24.6427876097
12.9799649842 11.7410502589 24.709640032
0 0.451171876
daf_yellow cone daffodil2.trumpet.2
0
0
8
12.9799649842 11.7410502589 24.709640032
13.1076183533 11.9233581635 24.8963874088
0.451171876 0.8125
daf_yellow cone daffodil2.trumpet.3
0
0
8
13.1076183533 11.9233581635 24.8963874088
13.3030674609 12.2024884169 25.1823149046
0.8125 1.095703126
daf_yellow cone daffodil2.trumpet.4
0
0
8
13.3030674609 12.2024884169 25.1823149046
13.5521524385 12.5582186312 25.5467076858
1.095703126 1.3125
daf_yellow cone daffodil2.trumpet.5
0
0
8
13.5521524385 12.5582186312 25.5467076858
13.8407134151 12.9703264148 25.968850915
1.3125 1.474609376
daf_yellow cone daffodil2.trumpet.6
0
0
8
13.8407134151 12.9703264148 25.968850915
14.1545905275 13.4185893872 26.4280297665
1.474609376 1.59375
daf_yellow cone daffodil2.trumpet.7
0
0
8
14.1545905275 13.4185893872 26.4280297665
14.4796238898 13.8827851357 26.903529381
1.59375 1.681640626
daf_yellow cone daffodil2.trumpet.8
0
0
8
14.4796238898 13.8827851357 26.903529381
14.801653651 14.3426912973 27.3746349509
1.681640626 1.75
daf_yellow cone daffodil2.trumpet.9
0
0
8
14.801653651 14.3426912973 27.3746349509
15.1065199341 14.7780854718 27.8206316297
1.75 1.810546876
daf_yellow cone daffodil2.trumpet.10
0
0
8
15.1065199341 14.7780854718 27.8206316297
15.3800628706 15.1687452713 28.2208045841
1.810546876 1.875
daf_yellow cone daffodil2.trumpet.11
0
0
8
15.3800628706 15.1687452713 28.2208045841
15.6081225833 15.4944482954 28.5544389677
1.875 1.955078126
daf_yellow cone daffodil2.trumpet.12
0
0
8
15.6081225833 15.4944482954 28.5544389677
15.7765392125 15.7349721687 28.8008199598
1.955078126 2.0625
daf_yellow cone daffodil2.trumpet.13
0
0
8
15.7765392125 15.7349721687 28.8008199598
15.8711528899 15.8700945035 28.9392327271
2.0625 2.20898438
daf_yellow cone daffodil2.trumpet.14
0
0
8
15.8711528899 15.8700945035 28.9392327271
15.8778037382 15.8795928993 28.9489624232
2.20898438 2.40625
daf_yellow cup daffodil2.trumpet.15
0
0
8
15.8778037382 15.8795928993 28.9489624232
15.7823318891 15.7432449683 28.8092942146
2.40625 2.66601562
daf_yellow cup daffodil2.trumpet.16
0
0
8
15.7823318891 15.7432449683 28.8092942146
15.5705774741 15.4408283226 28.4995132678
2.66601562 3
daf_yellow ring daffodil2.petal1
0
0
8
13.9948720238 13.1904877245 23.0613959901
0.782303178648 1.11724472525 1.79715496287
0 2.4
daf_yellow ring daffodil2.petal2
0
0
8
11.8498710802 13.7507950188 23.9806493218
1.35945557837 1.24412505626 1.90106111812
0 2.4
daf_yellow ring daffodil2.petal3
0
0
8
10.9587649784 12.5489706628 25.7630292501
1.33603057858 1.55936004863 1.45376013559
0 2.4
daf_yellow ring daffodil2.petal4
0
0
8
12.3998827127 10.547923558 26.7314132441
1.1651304482 1.66397872719 1.31287693031
0 2.4
daf_yellow ring daffodil2.petal5
0
0
8
14.4599949486 10.1265381757 25.7345672125
0.927866509044 1.67382006454 1.30988172479
0 2.4
daf_yellow ring daffodil2.petal6
0
0
8
15.2279749714 11.523986025 23.8453785533
0.561146008003 1.42904039924 1.64394607425
0 2.4
daf_yellow cylinder daffodil2.stamen1
0
0
7
12.9342672235 11.675787093 24.6427876097
15.6242137925 15.3430842442 27.9359804467
0.16
daf_yellow cylinder daffodil2.stamen2
0
0
7
12.9342672235 11.675787093 24.6427876097
15.1632172872 15.3820917223 28.5241646345
0.16
daf_yellow cylinder daffodil2.stamen3
0
0
7
12.9342672235 11.675787093 24.6427876097
15.5291588402 15.0329870239 28.3036817794
0.16
daf_yellow cylinder daffodil2.stamen4
0
0
7
12.9342672235 11.675787093 24.6427876097
15.4205198177 15.1567859078 28.1015150187
0.16
daf_yellow cylinder daffodil2.stamen5
0
0
7
12.9342672235 11.675787093 24.6427876097
15.288347573 15.4213205469 28.0891893353
0.16
stem_green cone daffodil2.base_top
0
0
8
13.1100212402 11.9267898417 24.8999026536
12.4948821818 11.0482802214 24
0.5 0.2
stem_green sphere daffodil2.base_bot
0
0
4 12.4948821818 11.0482802214 24 0.4
#!genworm stem_green stem 'hermite(0,10,5,15,t)' 'hermite(-.5,-15,-20,-10,t)' 'hermite(0,5,0,5,t)' .15 10
# xform -t -2 0 0 -rz -215 -t 0 0 3
# genworm stem_green stem2 hermite(0,7,0,10,t) 0 hermite(5,24,15,8,t) .3 10
stem_green sphere stem2.s0
0
0
4 8.4798471273 5.31421591142 8 0.3
stem_green cylinder stem2.c1
0
0
7
8.4798471273 5.31421591142 8
8.54064622955 5.40104602812 9.675
0.3
stem_green sphere stem2.s1
0
0
4 8.54064622955 5.40104602812 9.675 0.3
stem_green cylinder stem2.c2
0
0
7
8.54064622955 5.40104602812 9.675
8.71386631333 5.64842994549 11.64
0.3
stem_green sphere stem2.s2
0
0
4 8.71386631333 5.64842994549 11.64 0.3
stem_green cylinder stem2.c3
0
0
7
8.71386631333 5.64842994549 11.64
8.98574154416 6.03670801448 13.805
0.3
stem_green sphere stem2.s3
0
0
4 8.98574154416 6.03670801448 13.805 0.3
stem_green cylinder stem2.c4
0
0
7
8.98574154416 6.03670801448 13.805
9.34250608757 6.54622058603 16.08
0.3
stem_green sphere stem2.s4
0
0
4 9.34250608757 6.54622058603 16.08 0.3
stem_green cylinder stem2.c5
0
0
7
9.34250608757 6.54622058603 16.08
9.77039410909 7.15730801107 18.375
0.3
stem_green sphere stem2.s5
0
0
4 9.77039410909 7.15730801107 18.375 0.3
stem_green cylinder stem2.c6
0
0
7
9.77039410909 7.15730801107 18.375
10.2556397742 7.85031064054 20.6
0.3
stem_green sphere stem2.s6
0
0
4 10.2556397742 7.85031064054 20.6 0.3
stem_green cylinder stem2.c7
0
0
7
10.2556397742 7.85031064054 20.6
10.7844772486 8.60556882538 22.665
0.3
stem_green sphere stem2.s7
0
0
4 10.7844772486 8.60556882538 22.665 0.3
stem_green cylinder stem2.c8
0
0
7
10.7844772486 8.60556882538 22.665
11.3431406976 9.40342291651 24.48
0.3
stem_green sphere stem2.s8
0
0
4 11.3431406976 9.40342291651 24.48 0.3
stem_green cylinder stem2.c9
0
0
7
11.3431406976 9.40342291651 24.48
11.9178642868 10.2242132649 25.955
0.3
stem_green sphere stem2.s9
0
0
4 11.9178642868 10.2242132649 25.955 0.3
stem_green cylinder stem2.c10
0
0
7
11.9178642868 10.2242132649 25.955
12.4948821818 11.0482802214 27
0.3
stem_green sphere stem2.s10
0
0
4 12.4948821818 11.0482802214 27 0.3
# xform -s 30 -t .5 0 0
# genrev vase_mat vase_daf hermite(0.585,0,-0.98,0,t) hermite(0.08,0,0.66,-.707,t) 12 -s
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 5.50755937 -3.22192223 -18.260246 1.46081968
Phong cup vase_daf.1
0
0
8
9.627 6.45252 17.55
9.627 6.45252 15.14600694
2.4 3.87425346
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -2.3214631 0.649251724 -2.28655205 -0.557179364
Phong cup vase_daf.2
0
0
8
9.627 6.45252 15.14600694
9.627 6.45252 12.84722223
3.87425346 5.00486112
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -2.92225007 0.810088719 -2.85248183 -0.421465188
Phong cup vase_daf.3
0
0
8
9.627 6.45252 12.84722223
9.627 6.45252 10.6734375
5.00486112 5.80359375
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -3.75455255 0.990906045 -3.58603084 -0.244913005
Phong cup vase_daf.4
0
0
8
9.627 6.45252 10.6734375
9.627 6.45252 8.64444444
5.80359375 6.28222221
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -4.90030612 1.18242107 -4.21048981 -0.0915789572
Phong cup vase_daf.5
0
0
8
9.627 6.45252 8.64444444
9.627 6.45252 6.78003471
6.28222221 6.45251736
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -6.41538641 1.35892343 -7.72674132 0.666043324
Phong cup vase_daf.6
0
0
8
9.627 6.45252 6.78003471
9.627 6.45252 5.1
6.45251736 6.32625
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -8.22359827 1.47295792 -8.73245047 0.844267915
Phong cup vase_daf.7
0
0
8
9.627 6.45252 5.1
9.627 6.45252 3.62413194
6.32625 5.91519096
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -9.96164671 1.47171848 -10.2558675 1.05884724
Phong cup vase_daf.8
0
0
8
9.627 6.45252 3.62413194
9.627 6.45252 2.372222223
5.91519096 5.2311111
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -10.9854295 1.34817375 -11.0637306 1.05165098
Phong cup vase_daf.9
0
0
8
9.627 6.45252 2.372222223
9.627 6.45252 1.3640625
5.2311111 4.28578125
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -10.7917102 1.17469606 -10.6199783 0.787691293
Phong cup vase_daf.10
0
0
8
9.627 6.45252 1.3640625
9.627 6.45252 0.619444443
4.28578125 3.09097221
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 -9.54747466 1.04581767 -9.08830187 0.407482961
Phong cup vase_daf.11
0
0
8
9.627 6.45252 0.619444443
9.627 6.45252 0.1581597222
3.09097221 1.658454861
vase_mat texfunc Phong
16 rev_dx rev_dy rev_dz rev.cal -s 30 -t .5 0 0 -rz -90 -t 9.627 6.95252 0
0
4 180.551765 -0 -5.54450977 -0
Phong cup vase_daf.12
0
0
8
9.627 6.45252 0.1581597222
9.627 6.45252 0
1.658454861 0