Tiled 3D Amortized Noise
A Program to Generate Infinite3D Grayscale Noise Textures with Amortized Noise
|
Header for image saving functions. More...
Go to the source code of this file.
Functions | |
void | Save2DNoise (float **cell, const int n, const float scale, const char *filename) |
void Save2DNoise | ( | float ** | cell, |
const int | n, | ||
const float | scale, | ||
const char * | basefilename | ||
) |
Save a cell of 2D noise as a png file (Windows) or TGA file (Unix).
cell | Pointer to array in which to store the noise. |
scale | Rescale by this to get in the range -1..1. |
basefilename | Root of the file name under which to store the noise. |
n | Cell size. |