121 |
|
|
122 |
|
oconv '\!gensky 6 15 12' /usr/local/lib/ray/lib/arch.mat \ |
123 |
|
'\!arch2rad model.txt' > model.oct |
124 |
< |
rview -av 3 3 3 -vp -20 -20 5 -vd 1 1 0 model.oct |
124 |
> |
rvu -av 3 3 3 -vp -20 -20 5 -vd 1 1 0 model.oct |
125 |
|
|
126 |
|
Note that by giving oconv commands instead of input files, no temporary |
127 |
|
files (other than the octree) are necessary. In a more complete |
133 |
|
HyperCard MatPick.stack # creates model.map from model.qual |
134 |
|
arch2rad -m model.map model.txt > model.rad |
135 |
|
oconv source.rad materials.rad model.rad > model.oct |
136 |
< |
rview -vf model.vp model.oct |
136 |
> |
rvu -vf model.vp model.oct |
137 |
|
|
138 |
|
To write a new translator, include the "trans.h" file in ray/src/cv and |
139 |
|
link with trans.o and the standard Radiance library. You will need to |