Node Description & Purpose:
The Populator is used for creating and distributing many instances of the same object across a customizable rectangle area on the xz-plane. By using the Populator, the user can have the application accurately place instances of objects (instantiated objects) on the terrain surface automatically, so that the object's y coordinate matches the y coordinate of the terrain. The ability to specify a density shader allows users to mask the placement and distribution of objects. If no distribution shader is specified, the Populator places objects randomly across the defined rectangle area. To mimic more variety, the Populator can rotate instantiated objects randomly around the y-axis, and vary the object scale within a Population by user defined parameters.
Node Type: Population (of any object type)
- Name: The name of the populator node
- Enable (Checkbox): Enables or disables the Populator.
- Show b-box in preview: Enables or disables a 2D rectangle in the preview window, which marks the boundaries of the population on the xz axis.
- Preview mode: Preview mode: This popup lets you choose how the object should be displayed in the 3D Preview. This popup sets the most detailed mode that the object can be displayed in. The Object Display Mode button in the 3D Preview controls the mode for the preview as a whole. For example if you set the Preview mode of the object to Wireframe but the 3D Preview object display mode is set to Show as bounding boxes then the object will only be drawn as a bounding box.
- Object maker: Allows to enter or select an object maker that defines the object being populated.
- Render Quality: Allows for specifying the render quality of populated objects. To reduce render times, level-of-detail reduction is applied to parts of objects that appear very small in the rendered image, with respect to the image resolution and detail settings in the render node. Therefore more detail reduction is applied to objects in the distance or to objects with very small polygons. The Render Quality setting controls how much reduction takes place, but also affects render times.
- Area Centre: Enter the 3D coordinates of the rectangle distribution area on the XZ plane and the Y value for height. Leave the Y field empty if you rather want to specify a terrain onto which the objects should be placed.
- Area Length a: Length of one side of the population boundary (along x).
- Area Length b: Length of one side of the population boundary (along z).
- Object Spacing in a,b: Specify the average distance from one object instance to the other.
- Spacing variation in a, b: This controls the randomness of the the position of the object instance. If you used a value of 0 there would be no random aspect to the placement of the object instances and they would all be lined up on a grid defined by the Object spacing in a,b. At the default value of 1 the placement of the object is the most random and the population as whole looks the least regular.
- Use density Shader: If left empty, the Populator will completely cover the specified area with instantiated objects. You can use a density shader to give you more control over the where objects are placed. The density shader is read as a mask where white areas mean objects are placed the most densely and black areas mean no objects will show up.
- Invert Density Shader: Inverts the mask specified in the density shader.
- "Populate Now" Button: Calculates a population of instanced object based on the current settings. If you do not press this button, the population will be calculated automatically the next time you render an image, but if you have enabled "Preview instances" then you can use this button to preview the positions of the objects in the 3D Preview without rendering an image.
- Repopulate every frame: Forces the populator to recalculate the positions and sizes of the instantiated objects every time a new frame is rendered. This is necessary if you animate your distribution functions, terrain, or object maker. If you don't check this box, the population will still be calculated automatically at the start of a render if any of the Populator's parameters have changed.
Additional tabs for Populator v3
A shader is a program or set of instructions used in 3D computer graphics to determine the final surface properties of an object or image. This can include arbitrarily complex descriptions of light absorption and diffusion, texture mapping, reflection and refraction, shadowing, surface displacement and post-processing effects. In Terragen 2 shaders are used to construct and modify almost every element of a scene.
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.
The bounding box is a box which surrounds (or bounds) an object or shader. This box shows the maximum extents of the item inside it. Sometimes abbreviated as "b-box".