Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

This submenu is only available when the scattering mode is set to2D -On Surfaces.

Mode – Specifies the surface scattering mode. See the Mode Example below.

Random Distribution – Scatters instances randomly on all mesh objects.
UV Grid – Uses UV mapping to scatter instances in regular patterns.

Column
width5%

Column
width35%


...

Anchor
Mode
Mode

...

width25%

...

width50%

Example: Mode 

This example shows the difference between Random Distribution and UV Grid modes. The scene for this example is set in inches.


alignaligncenterpanelalign
Before after
afterLabel
UV Grid
beforeLabel
Random Distribution
align
Panel
center

Image_comparison_slider
AddButtonsfalse
LabelBeforeRandom Distribution
LabelAfterUV Grid
AttachmentImageBefore01_ModeRandomDistribution_InstancesCount5000.jpg
AttachmentImageAfter02_ModeUVGrid_PatternGrid_Spacing0x025.jpg

Column
width25%
borderStylenone

Image Added

Panel
borderStylenone

Image Added


Random Distribution

...

Section
Column
width60%

Instances Count – Gives the total number of instances on all Host objects. Note that adding Area Modifiers or defining Slope Limitation will decrease this number. If the Per Area option is enabled, the scattering is defined by the density. See the Instances CountExample below.

Per Area – When enabled, the number of instances is determined by the count combined with the size of the host's surface. The value specifies the length of the distribution area's side/edge. If the Count value is set to 1, this number determines the relative density of the instances. See the Per Area Example below. 

Density – Determines the approximate count of instances based on texture input. Black color in the texture discards all instances in the respective area. Areas colored with white receive the maximum number of instances. See the Density Examples below.

Map Channel – Determines the UV channel.

Column
width5%

Column
width35%

Rhino8_VRay6.2_Scatter_Parameters_Surface

...

Section
Column
width25%


width
Column
width45%

Example: Density

The Density determines the approximate count of instances based on texture input. Black color in the texture discards all instances in the respective area. The scene for this example is set in inches. 

Panel
Image slider
startIndex1
Panel
borderStylenone

01_Density_IC5000_CheckerMap

Instances Count = 5000; Checker Map

Panel
borderStylenone

Instances Count = 5000; Noise Map

Panel
borderStylenone

03_Density_IC5000_GradientMap

Instances Count = 5000; Gradient Map

Column

25%
Section
Column
width25%
Column
width
50%



...


Example: Density Map

Using a Density map generates brand new instance distribution. The total number of instances (approximate to the 'Instance Count' value) is preserved and distributed on all surfaces that correspond to map values above 0 (parts of the map not being purely black). Instances are more likely to be generated in areas with higher Density map values than darker ones. The scene for this example is set in inches. 


panelalignalign
Before after
afterLabel
Checker Map
center

Image_comparison_slider
AddButtonsfalse
LabelBeforeDensity Map Off
LabelAfterDensity Map Checker
AttachmentImageBefore01_DensityMap-Off_InstancesCount-20.jpg
AttachmentImageAfter02_DensityMap-Checker_InstancesCount-20.jpg

Column
width25%
darktrue
beforeLabelOff
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added


UV Grid

...

Section
Column
width60%

Pattern – Determines a pattern to use for grid scattering. See the Pattern Example below.

Grid – Rectangular grid.
Running Grid – Rectangular grid with every other row offset by half of the grid spacing.
Hexagonal Grid Arranges the instances into hexagons.

Map Channel – Determines the UV channel.

Spacing – Scales the pattern in UV space. When Spacing is set to 1, the pattern occupies the whole space. When Spacing is set to 0.5, the pattern is repeated twice. See the Spacing Example below.

Jitter – Determines what proportion of the instances are randomly placed. When Jitter is set to 0 all instances are placed according to the UV mapping. When Jitter is set to 1 all instances are randomly placed. See the Jitter Example below.

Offset – Offsets the pattern by the given value (in percentages). Keep in mind that 0 and 1 Offset give the same result, as 1 moves the pattern by one whole repetition. See the Offset Examples below.

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

Column
width5%

Column
width35%

Rhino8_VRay6.2_Scatter_Parameters_Surface_UVGrid

...

This example shows how a group of multiple guest objects can be distributed over several more than one host object. The scene for this example is set in inches. 


columnwidth20%columnwidth60
Sectionbefore-after
afterLabel
45→180
dark
true
beforeLabel
0→180
alignalign
Panel
borderStyle
none
center

Image_comparison_slider
AddButtonsfalse
LabelBefore0-180
LabelAfter45-180
AttachmentImageBefore01_InstancesCount250_MultipleHosts_SlopeLimitation0-180.jpg
AttachmentImageAfter02_InstancesCount250_MultipleHosts_SlopeLimitation45-180.jpg

Column
width20%

Image Added

Panel
borderStylenone

Image Added


Edge Trimming

...

Section
Column
width60%

Edge Trimming – Trims elements of instances outside of the host boundaries. It affects both host objects and Area modifiers.

Edge trimming is used to trim scattered instances consisting of multiple mesh elements so that they stay within the boundaries of the host objects, taking into account the modifiers added to the Area Modifiers list. If an origin 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 origin as a point on the host 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 origin 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.

Column
width5%


Column
width35%


...


Example: Edge Trimming


Alignbefore-after
LabelBefore
alignafterLabelcenter
Image_comparison_slider
On
beforeLabel
Off
width
Panel
50%
borderStyle
LabelAfter
none
On

Image Added

AttachmentImageBeforeedge_trimming-not_trimmed.png
AttachmentImageAfteredge_trimming-trimmed.png
height
Panel
borderStylenone

Image Added

50%


Notes

...

Fancy Bullets
typecircle
  • Anchor
    Local
    Local
    1There is no Local space in Rhino. As a result, this mode uses the World space Up vector. This option is exposed in the UI to ensure interoperability with other V-Ray products where a distinction between local and world positions is valid.

...