Tiled 3D Amortized Noise
A Program to Generate Infinite3D Grayscale Noise Textures with Amortized Noise
 All Classes Files Functions Variables Macros Pages
Functions
SaveImage.h File Reference

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)
 

Function Documentation

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).

Parameters
cellPointer to array in which to store the noise.
scaleRescale by this to get in the range -1..1.
basefilenameRoot of the file name under which to store the noise.
nCell size.