Node Description and Purpose:
The Heightfield Generate node can be used to generate heightfields. You can generate new heightfields based on fractals built into the node or you can use other shaders to generate height information for the heightfield.
Node Type: Heightfield Operator
- New heightfield: If this is checked the Number of points and Size in metres params are used to set the size and resolution of the heightfield. If this is not checked then heightfield dimensions are taken from nodes connected to the Input node input.
Number of points: This sets the number of points, or resolution, of the heightfield. This doesn't control the area the heightfield covers, that is done with the Size in metres param.
Size in metres: This sets the X and Y size of the heightfield in metres. This is different to number of points in the heightfield as set above. Size in metres controls the area covered by the heightfield, whereas Number of points controls the resolution or detail of the heightfield.
- Feature scale: This parameter sets the average size, in metres, of the features generated in the heightfield.
Feature steepness: This sets the steepness of the generated features. Larger numbers make things steeper and will also increase the overall height of the features.
Roughness: This controls the roughness of the generated terrain. Larger numbers are rougher.
Seed: This number controls the pattern generated by the node. If you use the same number in multiple Heightfield Generate nodes they will all generate the same pattern. The values of the parameters above can change the look of the terrain but the underlying patterns will be the same.
Random Seed: Clicking this button will randomly choose a new number for the Seed parameter.
- Auto generate: If this is checked the heightfield will regenerate when a project is loaded or when other parameters change. At this time it's recommended that you do not check this parameter.
Generate Now: Click this button to generate the heightfield.
Additional tabs for Heightfield Generate
A heightmap or heightfield is an array of height values, usually in a grid which describe the height at specific points in a defined area. Heightfields are used to represent real-world and virtual terrain in a specific, easily converted format. Most heightfields can be represented as simple image data in grayscale, with black being minimum height and white being maximum height.
A single object or device in the node network which generates or modifies data and may accept input data or create output data or both, depending on its function. Nodes usually have their own settings which control the data they create or how they modify data passing through them. Nodes are connected together in a network to perform work in a network-based user interface. In Terragen 2 nodes are connected together to describe a scene.
A parameter is an individual setting in a node parameter view which controls some aspect of the node.