home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
564a.lha
/
igensurf_v1.0
/
examples
/
teapot.cal
< prev
next >
Wrap
Text File
|
1991-09-27
|
20KB
|
688 lines
{
teapot.cal: Data functions to be used together with the
bpatch.cal routines.
These functions define the famous UTAH teapot.
Four objects will be generated: teapot, handle, spout and lid.
igensurf -v bpatch.cal teapot.cal | writetddd >teapot.obj
}
step_s : 7;
step_t : 7;
#scale 100
#phong on
Px(i,j) = select( i*4+j+1,
1.400000, 1.400000, 0.784000, 0.000000,
1.337500, 1.337500, 0.749000, 0.000000,
1.437500, 1.437500, 0.805000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.784000, -1.400000, -1.400000,
0.000000, -0.749000, -1.337500, -1.337500,
0.000000, -0.805000, -1.437500, -1.437500,
0.000000, -0.840000, -1.500000, -1.500000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.531250, 2.531250, 2.531250, 2.531250,
2.531250, 2.531250, 2.531250, 2.531250,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, -0.784000, -1.400000, -1.400000,
0.000000, -0.749000, -1.337500, -1.337500,
0.000000, -0.805000, -1.437500, -1.437500,
0.000000, -0.840000, -1.500000, -1.500000
);
Py(i,j) = select( i*4+j+1,
-1.400000, -1.400000, -0.784000, 0.000000,
-1.337500, -1.337500, -0.749000, 0.000000,
-1.437500, -1.437500, -0.805000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.531250, 2.531250, 2.531250, 2.531250,
2.531250, 2.531250, 2.531250, 2.531250,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
-1.400000, -1.400000, -0.784000, 0.000000,
-1.337500, -1.337500, -0.749000, 0.000000,
-1.437500, -1.437500, -0.805000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.784000, 1.400000, 1.400000,
0.000000, 0.749000, 1.337500, 1.337500,
0.000000, 0.805000, 1.437500, 1.437500,
0.000000, 0.840000, 1.500000, 1.500000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.531250, 2.531250, 2.531250, 2.531250,
2.531250, 2.531250, 2.531250, 2.531250,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.784000, 1.400000, 1.400000,
0.000000, 0.749000, 1.337500, 1.337500,
0.000000, 0.805000, 1.437500, 1.437500,
0.000000, 0.840000, 1.500000, 1.500000
);
Py(i,j) = select( i*4+j+1,
1.400000, 1.400000, 0.784000, 0.000000,
1.337500, 1.337500, 0.749000, 0.000000,
1.437500, 1.437500, 0.805000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.531250, 2.531250, 2.531250, 2.531250,
2.531250, 2.531250, 2.531250, 2.531250,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
1.500000, 1.500000, 0.840000, 0.000000,
1.750000, 1.750000, 0.980000, 0.000000,
2.000000, 2.000000, 1.120000, 0.000000,
2.000000, 2.000000, 1.120000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.980000, -1.750000, -1.750000,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -1.120000, -2.000000, -2.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
1.875000, 1.875000, 1.875000, 1.875000,
1.350000, 1.350000, 1.350000, 1.350000,
0.900000, 0.900000, 0.900000, 0.900000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.980000, -1.750000, -1.750000,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -1.120000, -2.000000, -2.000000
);
Py(i,j) = select( i*4+j+1,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.750000, -1.750000, -0.980000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
1.875000, 1.875000, 1.875000, 1.875000,
1.350000, 1.350000, 1.350000, 1.350000,
0.900000, 0.900000, 0.900000, 0.900000
);
#ADD
Px(i,j) = select( i*4+j+1,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.750000, -1.750000, -0.980000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.980000, 1.750000, 1.750000,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 1.120000, 2.000000, 2.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
1.875000, 1.875000, 1.875000, 1.875000,
1.350000, 1.350000, 1.350000, 1.350000,
0.900000, 0.900000, 0.900000, 0.900000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.980000, 1.750000, 1.750000,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 1.120000, 2.000000, 2.000000
);
Py(i,j) = select( i*4+j+1,
1.500000, 1.500000, 0.840000, 0.000000,
1.750000, 1.750000, 0.980000, 0.000000,
2.000000, 2.000000, 1.120000, 0.000000,
2.000000, 2.000000, 1.120000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
1.875000, 1.875000, 1.875000, 1.875000,
1.350000, 1.350000, 1.350000, 1.350000,
0.900000, 0.900000, 0.900000, 0.900000
);
#ADD
Px(i,j) = select( i*4+j+1,
2.000000, 2.000000, 1.120000, 0.000000,
2.000000, 2.000000, 1.120000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.840000, -1.500000, -1.500000
);
Pz(i,j) = select( i*4+j+1,
0.900000, 0.900000, 0.900000, 0.900000,
0.450000, 0.450000, 0.450000, 0.450000,
0.225000, 0.225000, 0.225000, 0.225000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -1.120000, -2.000000, -2.000000,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.840000, -1.500000, -1.500000
);
Py(i,j) = select( i*4+j+1,
-2.000000, -2.000000, -1.120000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
0.900000, 0.900000, 0.900000, 0.900000,
0.450000, 0.450000, 0.450000, 0.450000,
0.225000, 0.225000, 0.225000, 0.225000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
-2.000000, -2.000000, -1.120000, 0.000000,
-2.000000, -2.000000, -1.120000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.840000, 1.500000, 1.500000
);
Pz(i,j) = select( i*4+j+1,
0.900000, 0.900000, 0.900000, 0.900000,
0.450000, 0.450000, 0.450000, 0.450000,
0.225000, 0.225000, 0.225000, 0.225000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 1.120000, 2.000000, 2.000000,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.840000, 1.500000, 1.500000
);
Py(i,j) = select( i*4+j+1,
2.000000, 2.000000, 1.120000, 0.000000,
2.000000, 2.000000, 1.200000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
0.900000, 0.900000, 0.900000, 0.900000,
0.450000, 0.450000, 0.450000, 0.450000,
0.225000, 0.225000, 0.225000, 0.225000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
1.425000, 1.425000, 0.798000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.798000, 1.425000, 1.425000,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.840000, 1.500000, 1.500000
);
Pz(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.075000, 0.075000, 0.075000, 0.075000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.798000, -1.425000, -1.425000,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.840000, -1.500000, -1.500000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
1.425000, 1.425000, 0.798000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000,
1.500000, 1.500000, 0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.075000, 0.075000, 0.075000, 0.075000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
-1.425000, -1.425000, -0.798000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.798000, -1.425000, -1.425000,
0.000000, -0.840000, -1.500000, -1.500000,
0.000000, -0.840000, -1.500000, -1.500000
);
Pz(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.075000, 0.075000, 0.075000, 0.075000,
0.150000, 0.150000, 0.150000, 0.150000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.798000, 1.425000, 1.425000,
0.000000, 0.840000, 1.500000, 1.500000,
0.000000, 0.840000, 1.500000, 1.500000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
-1.425000, -1.425000, -0.798000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000,
-1.500000, -1.500000, -0.840000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.075000, 0.075000, 0.075000, 0.075000,
0.150000, 0.150000, 0.150000, 0.150000
);
#GENERATE Teapot
Px(i,j) = select( i*4+j+1,
-1.600000, -1.600000, -1.500000, -1.500000,
-2.300000, -2.300000, -2.500000, -2.500000,
-2.700000, -2.700000, -3.000000, -3.000000,
-2.700000, -2.700000, -3.000000, -3.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.025000, 2.025000, 2.250000, 2.250000,
2.025000, 2.025000, 2.250000, 2.250000,
2.025000, 2.025000, 2.250000, 2.250000,
1.800000, 1.800000, 1.800000, 1.800000
);
#ADD
Px(i,j) = select( i*4+j+1,
-1.500000, -1.500000, -1.600000, -1.600000,
-2.500000, -2.500000, -2.300000, -2.300000,
-3.000000, -3.000000, -2.700000, -2.700000,
-3.000000, -3.000000, -2.700000, -2.700000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.250000, 2.250000, 2.025000, 2.025000,
2.250000, 2.250000, 2.025000, 2.025000,
2.250000, 2.250000, 2.025000, 2.025000,
1.800000, 1.800000, 1.800000, 1.800000
);
#ADD
Px(i,j) = select( i*4+j+1,
-2.700000, -2.700000, -3.000000, -3.000000,
-2.700000, -2.700000, -3.000000, -3.000000,
-2.500000, -2.500000, -2.650000, -2.650000,
-2.000000, -2.000000, -1.900000, -1.900000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000,
0.000000, -0.300000, -0.300000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
1.800000, 1.800000, 1.800000, 1.800000,
1.575000, 1.575000, 1.350000, 1.350000,
1.125000, 1.125000, 0.937500, 0.937500,
0.900000, 0.900000, 0.600000, 0.600000
);
#ADD
Px(i,j) = select( i*4+j+1,
-3.000000, -3.000000, -2.700000, -2.700000,
-3.000000, -3.000000, -2.700000, -2.700000,
-2.650000, -2.650000, -2.500000, -2.500000,
-1.900000, -1.900000, -2.000000, -2.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000,
0.000000, 0.300000, 0.300000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
1.800000, 1.800000, 1.800000, 1.800000,
1.350000, 1.350000, 1.575000, 1.575000,
0.937500, 0.937500, 1.125000, 1.125000,
0.600000, 0.600000, 0.900000, 0.900000
);
#GENERATE Handle
Px(i,j) = select( i*4+j+1,
1.700000, 1.700000, 1.700000, 1.700000,
2.600000, 2.600000, 3.100000, 3.100000,
2.300000, 2.300000, 2.400000, 2.400000,
2.700000, 2.700000, 3.300000, 3.300000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.660000, -0.660000, 0.000000,
0.000000, -0.660000, -0.660000, 0.000000,
0.000000, -0.250000, -0.250000, 0.000000,
0.000000, -0.250000, -0.250000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
1.425000, 1.425000, 0.600000, 0.600000,
1.425000, 1.425000, 0.825000, 0.825000,
2.100000, 2.100000, 2.025000, 2.025000,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
1.700000, 1.700000, 1.700000, 1.700000,
3.100000, 3.100000, 2.600000, 2.600000,
2.400000, 2.400000, 2.300000, 2.300000,
3.300000, 3.300000, 2.700000, 2.700000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.660000, 0.660000, 0.000000,
0.000000, 0.660000, 0.660000, 0.000000,
0.000000, 0.250000, 0.250000, 0.000000,
0.000000, 0.250000, 0.250000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
0.600000, 0.600000, 1.425000, 1.425000,
0.825000, 0.825000, 1.425000, 1.425000,
2.025000, 2.025000, 2.100000, 2.100000,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
2.700000, 2.700000, 3.300000, 3.300000,
2.800000, 2.800000, 3.525000, 3.525000,
2.900000, 2.900000, 3.450000, 3.450000,
2.800000, 2.800000, 3.200000, 3.200000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.250000, -0.250000, 0.000000,
0.000000, -0.250000, -0.250000, 0.000000,
0.000000, -0.150000, -0.150000, 0.000000,
0.000000, -0.150000, 0.000000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.475000, 2.475000, 2.493750, 2.493750,
2.475000, 2.475000, 2.512500, 2.512500,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
3.300000, 3.300000, 2.700000, 2.700000,
3.525000, 3.525000, 2.800000, 2.800000,
3.450000, 3.450000, 2.900000, 2.900000,
3.200000, 3.200000, 2.800000, 2.800000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.250000, 0.250000, 0.000000,
0.000000, 0.250000, 0.250000, 0.000000,
0.000000, 0.150000, 0.150000, 0.000000,
0.000000, 0.150000, 0.150000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.400000, 2.400000, 2.400000, 2.400000,
2.493750, 2.493750, 2.475000, 2.475000,
2.512500, 2.512500, 2.475000, 2.475000,
2.400000, 2.400000, 2.400000, 2.400000
);
#GENERATE Spout
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.800000, 0.800000, 0.450000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.200000, 0.200000, 0.112000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.450000, -0.800000, -0.800000,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.112000, -0.200000, -0.200000
);
Pz(i,j) = select( i*4+j+1,
3.150000, 3.150000, 3.150000, 3.150000,
3.150000, 3.150000, 3.150000, 3.150000,
2.850000, 2.850000, 2.850000, 2.850000,
2.700000, 2.700000, 2.700000, 2.700000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.450000, -0.800000, -0.800000,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, -0.112000, -0.200000, -0.200000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
-0.800000, -0.800000, -0.450000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
-0.200000, -0.200000, -0.112000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
3.150000, 3.150000, 3.150000, 3.150000,
3.150000, 3.150000, 3.150000, 3.150000,
2.850000, 2.850000, 2.850000, 2.850000,
2.700000, 2.700000, 2.700000, 2.700000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
-0.800000, -0.800000, -0.450000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
-0.200000, -0.200000, -0.112000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.450000, 0.800000, 0.800000,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.112000, 0.200000, 0.200000
);
Pz(i,j) = select( i*4+j+1,
3.150000, 3.150000, 3.150000, 3.150000,
3.150000, 3.150000, 3.150000, 3.150000,
2.850000, 2.850000, 2.850000, 2.850000,
2.700000, 2.700000, 2.700000, 2.700000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.450000, 0.800000, 0.800000,
0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.112000, 0.200000, 0.200000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.000000, 0.000000, 0.000000,
0.800000, 0.800000, 0.450000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000000,
0.200000, 0.200000, 0.112000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
3.150000, 3.150000, 3.150000, 3.150000,
3.150000, 3.150000, 3.150000, 3.150000,
2.850000, 2.850000, 2.850000, 2.850000,
2.700000, 2.700000, 2.700000, 2.700000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.200000, 0.200000, 0.112000, 0.000000,
0.400000, 0.400000, 0.224000, 0.000000,
1.300000, 1.300000, 0.728000, 0.000000,
1.300000, 1.300000, 0.728000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, -0.112000, -0.200000, -0.200000,
0.000000, -0.224000, -0.400000, -0.400000,
0.000000, -0.728000, -1.300000, -1.300000,
0.000000, -0.728000, -1.300000, -1.300000
);
Pz(i,j) = select( i*4+j+1,
2.700000, 2.700000, 2.700000, 2.700000,
2.550000, 2.550000, 2.550000, 2.550000,
2.550000, 2.550000, 2.550000, 2.550000,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, -0.112000, -0.200000, -0.200000,
0.000000, -0.224000, -0.400000, -0.400000,
0.000000, -0.728000, -1.300000, -1.300000,
0.000000, -0.728000, -1.300000, -1.300000
);
Py(i,j) = select( i*4+j+1,
-0.200000, -0.200000, -0.112000, 0.000000,
-0.400000, -0.400000, -0.224000, 0.000000,
-1.300000, -1.300000, -0.728000, 0.000000,
-1.300000, -1.300000, -0.728000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.700000, 2.700000, 2.700000, 2.700000,
2.550000, 2.550000, 2.550000, 2.550000,
2.550000, 2.550000, 2.550000, 2.550000,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
-0.200000, -0.200000, -0.112000, 0.000000,
-0.400000, -0.400000, -0.224000, 0.000000,
-1.300000, -1.300000, -0.728000, 0.000000,
-1.300000, -1.300000, -0.728000, 0.000000
);
Py(i,j) = select( i*4+j+1,
0.000000, 0.112000, 0.200000, 0.200000,
0.000000, 0.224000, 0.400000, 0.400000,
0.000000, 0.728000, 1.300000, 1.300000,
0.000000, 0.728000, 1.300000, 1.300000
);
Pz(i,j) = select( i*4+j+1,
2.700000, 2.700000, 2.700000, 2.700000,
2.550000, 2.550000, 2.550000, 2.550000,
2.550000, 2.550000, 2.550000, 2.550000,
2.400000, 2.400000, 2.400000, 2.400000
);
#ADD
Px(i,j) = select( i*4+j+1,
0.000000, 0.112000, 0.200000, 0.200000,
0.000000, 0.224000, 0.400000, 0.400000,
0.000000, 0.728000, 1.300000, 1.300000,
0.000000, 0.728000, 1.300000, 1.300000
);
Py(i,j) = select( i*4+j+1,
0.200000, 0.200000, 0.112000, 0.000000,
0.400000, 0.400000, 0.224000, 0.000000,
1.300000, 1.300000, 0.728000, 0.000000,
1.300000, 1.300000, 0.728000, 0.000000
);
Pz(i,j) = select( i*4+j+1,
2.700000, 2.700000, 2.700000, 2.700000,
2.550000, 2.550000, 2.550000, 2.550000,
2.550000, 2.550000, 2.550000, 2.550000,
2.400000, 2.400000, 2.400000, 2.400000
);
#GENERATE Lid