47.txt
Click here to get the file
Size
1 kB
-
File type
text/plain
File contents
Here we finally begin seeing some application of noise to texture mapping. To get a Wisconsin-styled black-and-white spotted teapot, use the following pseudocode:
gray = noise(x,y,z)
if(gray > threshold)
choose white else
choose black