Download Axel Jacobs
Transcript
Axel Jacobs 7 A.6.2 # # # # .225 .225 0 Radiance Tutorial .225 .225 .45 .025 objects/table.rad This is a very simple table. Dimensions are in metres. It is 0.85 m high and 1 by 1 m wide. The centre is at (0,0). void plastic tablemat 0 0 5 .5 .3 .1 0 0 !genbox tablemat tabletop 1 1 .05 | xform -t -.5 -.5 .8 tablemat cylinder leg1 0 0 7 -.4 -.4 0 -.4 -.4 .8 .025 tablemat cylinder leg2 0 0 7 .4 -.4 0 .4 -.4 .8 .025 tablemat cylinder leg3 0 0 7 -.4 .4 0 -.4 .4 .8 .025 tablemat cylinder leg4 0 0 7 .4 .4 0 .4 .4 .8 .025 A.6.3 materials/course.mat void brightfunc dusty 4 dirt dirt.cal -s .1 0 1 .4 void brightfunc floorpat 2 .4*rand(floor(Px/.25)-.25* floor(Py/.25)-.25)+.6 . 0 0 void colorfunc blue_band 4 if(Pz-1.2,1,if(Pz-1,0,1)) if(Pz-1.2,1,if(Pz-1,0,1)) 1 . 0 50