home *** CD-ROM | disk | FTP | other *** search
- /* Example sample patterns appearing in Graphics Gems V
- ``Sampling Patterns Optimized for Uniform Distribution of Edges''
- Figures 3 and 4. */
-
- typedef float sample[2];
-
- sample foursamples[3][4]={
- {{0.274942, 0.884325}, {0.797099, 0.207128},
- {0.765063, 0.715779}, {0.122774, 0.282759}},
-
- {{0.152302, 0.657716}, {0.649413, 0.907929},
- {0.305133, 0.221223}, {0.784722, 0.280605}},
-
- {{0.775219, 0.152203}, {0.846312, 0.737633},
- {0.247618, 0.777035}, {0.228821, 0.197385}}};
-
- sample sixteensamples[3][16]={
- {{0.755279, 0.0497319}, {0.384479, 0.688268},
- {0.666094, 0.868388}, {0.317172, 0.0331764},
- {0.729309, 0.43103}, {0.0867931, 0.368519},
- {0.322668, 1.0}, {0.442302, 0.572752},
- {0.889074, 0.606985}, {0.0343768, 0.191404},
- {0.910321, 0.872547}, {0.92479, 0.345332},
- {0.289126, 0.389783}, {0.896551, 0.141167},
- {0.23357, 0.678942}, {0.11281, 0.526939}},
-
- {{0.740161, 0.0942363}, {0.384479, 0.688268},
- {0.642662, 0.884825}, {0.324146, 0.0213393},
- {0.729309, 0.43103}, {0.0867931, 0.368519},
- {0.306925, 0.995787}, {0.442302, 0.572752},
- {0.889074, 0.606985}, {0.0343768, 0.191404},
- {0.910321, 0.872547}, {0.92479, 0.345332},
- {0.299325, 0.371848}, {0.896551, 0.141167},
- {0.226811, 0.658172}, {0.27796, 0.873217}},
-
- {{0.73534, 0.316016}, {0.755279, 0.0497319},
- {0.152649, 0.442638}, {0.917626, 0.771549},
- {0.0492709, 0.836601}, {0.0642901, 0.155284},
- {0.94238, 0.458705}, {0.392657, 0.644079},
- {0.626425, 0.534164}, {0.0918845, 0.468493},
- {0.372743, 0.0552449}, {0.217678, 0.319869},
- {0.460074, 0.759592}, {0.827202, 0.875453},
- {0.596844, 0.352386}, {0.387125, 0.96096}}};
-