©BBB3viz

Table of Contents

The Surface Scattering rollout is part of the Chaos Scatter parameters.


Parameters


This submenu is only available when the scattering mode is set to 2D - On surfaces.

Random distribution – This mode scatters instances randomly on all mesh and closed spline distribution objects. It is enabled by default.

Count – Determines the exact number of instances to scatter. If the Per square option is enabled, the scattering is defined by the density.

Per square – When enabled, the Count amount is multiplied by the specified edge length (value next to Per square).

Map – Allows a black and white texture map to be assigned. The map determines how the instances are scattered on the surface.





UV map – This mode uses UVW mapping to scatter instances in regular patterns.

Pattern – Determines a pattern to use for scattering.

Grid – Rectangular grid.

Running grid – Rectangular grid with every other row offset by half of the grid spacing.

Hex grid – Arranges instances into hexagons.

UV channel – Determines the UV channel.

Override by planar mapping – When enabled, a simple planar UVW mapping is created and used instead of the pre-existing UVW channels.

Lock V – When enabled the values of the V coordinate for Spacing, Jitter and Offset are locked to the U coordinate's values.

Spacing [%] – Scales the pattern in UV space. When Spacing is set to 100%, the pattern occupies the whole space. When Spacing is set to 50%, the pattern is repeated twice.

Jitter [%] – Determines what percentage of the instances are randomly placed. When Jitter is set to 0, all instances are placed according to the UVW mapping. When Jitter is set to 100, all instances are randomly placed.

Offset [%] – Offsets the pattern by the given value (in percentages). Keep in mind that 0% and 100% Offset gives the same result, as 100% moves the pattern by one whole repetition.





Edge trimming – Trims elements of instances outside of distribute-on objects. It affects both base objects and include/exclude splines. Read more about edge trimming in the Edge Trimming Overview.

Starting with V-Ray 6, update 1.1, the edge trimming feature is available with Chaos Scatter 2.6.0 and later.

Slope Limitation – Limits scattering only to 'slopes' at certain angles. It can be used to create realistic spread of trees on curved surfaces, for instance. The lower the Angle range is set, the smaller the angle at which scattering stops.

Angle [°]– Defines a range of angles to which the scattering is limited. Instances outside of this range get filtered out. The angles are measured either between the Local up vector and the surface normal or the World up vector and the surface normal. You can select which up normal to use in the option below. See the Slope Limitation Angle [°] Example.

Local – When enabled, the Slope Limitation is measured according to the up vector of each individual Distribute-on target object. See the Slope Limitation orientation Example.

World – When enabled, the Slope Limitation is measured according to the world Z-axis up vector for all Distribute-on target objects in the scene. See the Slope Limitation orientation Example.





Slope Limitation Angle [°] Example

The Slope Limitation Angle [°] removes instances based on the angle of the underlying geometry. This option can be used to remove geometry from steep areas as well as shallow areas.


Slope Limitation = disabled

Slope Limitation Angle [°]= 0.0 - 45.0

Slope Limitation Angle [°]= 0.0 - 20.0

Slope Limitation Angle [°]= 5.0 - 20.0





Slope Limitation orientation Example

The Local and World Slope Limitations determine the up-vector. The Local option uses the normals of the Distribute-on target object; the World option uses the Z-axis of the scene. In this example, the Slope Limitation Angle [°] is set to 0.0-45.0.

Local
World





Altitude Limitation – Еnables instances limitation in the given altitude range.

Range – Defines the range of altitude units in World or Position Independent mode. See the Altitude Limitation Example.

World – The altitude of the surface points on each individual distribute-on object is evaluated in world space (after all transforms).

Position Independent – The altitude of the surface points on each individual distribute-on object is evaluated relative to the object center while the object rotation and scale still affect the altitude.

Falloff Curve – Opens the Altitude limitation falloff curve editor. This allows specifying the density of the scattered objects depending on their altitude. Lowering the point on the left side of the curve results in lowering the density of the objects closer to the minimum altitude range. Lowering the point on the right side of the curve results in lowering the density of the objects close to the maximum altitude range. See the Altitude Limitation Example.

Edit Instances – Switches to 'Instances' sub-object mode. This allows individual instances to be manipulated. Only the instances visible in the viewport can be edited. This option is only useful for small numbers of instances, otherwise it might cause a crash. If you select 100 or more instances, Chaos Scatter displays a warning. To switch out of this option, click Edit Instances one more time. The edited instances are ignored by the Avoid collisions option, the Include/Exclude splines option, Slope limitation and by Camera clipping.

Keep in mind that if you edit the original model of the scattered instances, after you've edited them, they will be reset back to their original state. To avoid this, edit your instances after finalizing the state of the original model and the Scatter.

Convert to Max geometry – When enabled, converts the Chaos Scatter instances into 3ds Max instances. This option is only useful for small numbers of instances, otherwise it might cause a crash.





Altitude Limitation Example

In this example, the Altitude Limitation and the Altitude Limitation Falloff parameters are showcased. Setting the Altitude Range max to 500 cuts off the scattered forest at that height. Adding Falloff thins out the forest at the lower point of the curve.


Altitude Limitation = Disabled

Altitude Limitation Range = 0 - 500

Altitude Limitation Falloff Curve = ascending

Altitude Limitation Falloff Curve = descending



The Edge Trimming rollout is part of the Chaos Scatter parameters.


Parameters


Edge trimming is used to trim scattered instances consisting of multiple mesh elements so that they stay within the boundaries of the distribute-on objects or include/exclude splines. If a pivot of any integral part of the instance (any sub-mesh element of the instanced model) falls outside of the area specified by the scatter, such part is not rendered. This is a simplification, but you can imagine the pivot as a point on the distribute-on object from which an element is growing.

The typical use cases of Edge Trimming include:

  • Grass lawns - in case of using large grass clumps, no individual grass blades will be growing outside of the defined area.
  • Carpets - in case of using large clumps of strands, no individual strands will be placed outside of the carpet area.
  • Pebbles, rocks, bark chippings, or any other objects which you need to distribute within some specific boundary and make sure no instances stick outside of that boundary (determined based on the mesh element pivot precision).

In addition to making the scattering look more refined and natural, the edge trimming feature boosts performance by removing some of the instances you save from RAM and making parsing time shorter.

If Edge trimming doesn't seem to be working correctly (e.g. some elements of the model are expected to be trimmed, but they are still visible), try resetting the model's XForm in 3ds Max by selecting the model and then going to Command Panel > Utilities and click Reset XForm.





Edge Trimming Example


This example shows how some scattered clumps of flowers are trimmed. The clump of flowers is a single mesh consisting of multiple sub-object elements.

The bounding box of the model is represented with a red box. The pivot of the model is represented with a blue sphere. 


off
on


When Edge trimming is off, the whole clumps are scattered causing some of the flowers (sub-object elements) to grow outside of the distribute-on object. Each model is scattered as expected (its pivot is placed within the boundaries of the distribute-on object), however the sub-mesh elements (individual flowers) are growing outside of the boundaries, because they are a part of the model. 

When Edge trimming is on, each model is scattered the same way as with edge trimming off (its pivot is placed within the boundaries of the distribute-on object). However, the sub-mesh elements (individual flowers) are only growing inside this boundary of the distribute-on surface.




Previous:

Spline Scattering


Next:

Bounding Box Scattering