[Radiance-general] my first problem (files)
Tian Cheng
tjtiancheng at gmail.com
Mon Nov 14 04:54:25 CET 2005
tcroom.rad:
#
# my first scene
#
# this is the material for my light source
void light bright
0
0
3 100 100 100
# this is the material for my object
void metal crystal
0
0
5 .7 .05 .05 .9 .05
# here is the light source
bright sphere fixture
0
0
4 2 1 1.5 .125
# here is the ball
crystal sphere ball
0
0
4 .7 1.125 .625 .125
# the wall material
void plastic gray_paint
0
0
5 .5 .5 .5 0 0
# genbox gray_paint tcroom 3 2 2 -i
!genbox gray_paint tcroom 3 2 2 -i
gray_paint polygon tcroom.1540
0
0
12
0 0 0
0 0 2
3 0 2
3 0 0
gray_paint polygon tcroom.4620
0
0
12
0 0 0
0 2 0
0 2 2
0 0 2
gray_paint polygon tcroom.2310
0
0
12
0 0 0
3 0 0
3 2 0
0 2 0
gray_paint polygon tcroom.3267
0
0
12
3 2 2
0 2 2
0 2 0
3 2 0
# the window wall with a hole in it
gray_paint polygon tcroom.5137
0
0
30
3 2 2
3 2 0
3 0 0
3 0 2
3 .8 2
3 .8 .8
3 1.4 .8
3 1.4 1.4
3 .8 1.4
3 .8 2
gray_paint polygon tcroom.6457
0
0
12
3 2 2
3 0 2
0 0 2
0 2 2
# a shiny blue box
void plastic blue_plastic
0
0
5 .1 .1 .6 .05 .1
! genbox blue_plastic box .5 .5 .5 | xform -rz 15 -t .5 .75 0
# a chrome rod to suspend the light from the ceiling
void metal chrome
0
0
5 .8 .8 .8 .9 0
chrome cylinder fixture_susport
0
0
7
2 1 1.5
2 1 1.75
.05
srcwindow.rad
# an emissive window
# visible glass type for illum
void glass window_glass
0
0
3 .96 .96 .96
# window distribution function
skyfunc brightfunc window_dist
2 winxmit winxmit.cal
0
0
# illum for window
window_dist illum window_illum
1 window_glass
0
3 .88 .88 .88
# the source polygon
window_illum polygon window
0
0
12
3 .8 1.4
3 1.4 1.4
3 1.4 .8
3 .8 .8
Tian Cheng
--
Peace of Mind.
More information about the Radiance-general
mailing list