Skip to content
07-848 2005

V-Ray for SketchUp, geometry

Transforms rollout

Use the Transforms rollout in V-Ray for SketchUp to control the position, rotation, scale and direction of scattered instances.

On this page
  1. Random Translation
  2. Example: Random Translation
  3. Random Rotation
  4. Example: Random Rotation
  5. Example: Normal Alignment
  6. Example: Preserve Rotation
  7. Random Scale
  8. Example: Random Scale
  9. Look At
  10. Example: Look At
  11. Example: Falloff Distance
  12. Notes

The Transforms rollout is part of the Scatter parameters.

Random Translation

Moves instances along each axis between the From and To distances. See the Random Translation example below.

Step Size sets the random step size.

Random Translation panel with X, Y and Z Axis From and To values set to 0, plus the Step Size control.

Example: Random Translation

This example shows how instances move along each axis.

Random Translation example showing rock instances scattered across a rectangular ground slab.

X

= 0-0;

Y

= 0-0;

Z

= 0-0

Random Translation result showing shifted rock instances, with several overlapping the ground slab's edges.

X

= 0-25;

Y

= 0-25;

Z

= 0-0

Random Translation result with rock instances shifted towards and beyond the ground slab's rear and right edges.

X

= 0-100;

Y

= 0-100;

Z

= 0-0

Random Translation result with more rock instances beyond the slab's rear and right edges, leaving the front clearer.

X

= 50-100;

Y

= 50-100;

Z

= 0-0

Random Translation result showing rock instances above the slab, with shadows offset towards the front left.

X

= 50-100;

Y

= 50-100;

Z

= 0-2.5

Random Translation example at 0-2.5 shows rocks suspended at different heights above a ground plane.

X

= 50-100;

Y

= 50-100;

Z

= 0-100

Random Translation example at 0-100 shows rocks scattered across and beyond the ground plane.

X

= 50-100;

Y

= 50-100;

Z

= 50-100

Random Translation example at 50-100 shows most rocks on the ground plane and several beyond its edges.

X

= 0-100;

Y

= 0-100;

Z

= 0-0;

StepSize

= 0

Random Translation example at 0 shows rocks spread across the ground plane, with several outside its edges.

X

= 0-100;

Y

= 0-100;

Z

= 0-0;

StepSize

= 50

Random Rotation

Rotates instances continuously within the From and To angles, in degrees. See the Random Rotation example below.

Step Size sets the random step size.

Normal Alignment aligns instances with the world up axis when you enter a value other than 0. Use it to keep scattered objects vertical on a curved host object rather than following the surface curve. Positive values align instances with the +Z axis (vertical up). Negative values align them with the -Z axis (vertical down). See the Normal Alignment example below.

Preserve Rotation keeps the objects' original rotation. See the Preserve Rotation example below.

Random Rotation panel with X and Y set to 0, Z from 0 to 359.99, and Preserve Rotation unticked.

Example: Random Rotation

This example shows how guest objects rotate within a set range.

Random Rotation example shows rocks at varied angles across a ground plane.

X

= 0-0;

Y

= 0-0;

Z

= 0-0

Random rotation example with scattered rocks standing at varied angles on a flat terrain tile.

X

= 0-360;

Y

= 0-0;

Z

= 0-0

Random rotation example with scattered rocks tilted in different directions on a flat terrain tile.

X

= 0-360;

Y

= 0-360;

Z

= 0-0

Random rotation example with scattered rocks lying mostly flat on a terrain tile.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

Step Size

= 0

Random rotation example with scattered rocks lying mostly flat on a terrain tile.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

Step Size

= 25

Random rotation example with varied rock orientations across a flat terrain tile.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

Step Size

= 125

Example: Normal Alignment

Enter a value other than 0 to align instances with the world up axis.

Normal alignment example showing curved terrain with tree instances visible beneath its front and right edges.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

NormalAlignment

= -0.75

Normal Alignment at -0.75 shows trees tilted across the sloping terrain.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

NormalAlignment

= -0.5

Normal Alignment at -0.5 shows trees standing more upright on the sloping terrain.

X

= 0-0;

Y

= 0-0;

Z

= 0-360;

NormalAlignment

= 0

Example: Preserve Rotation

Preserve Rotation controls whether instances keep the guest object's original rotation.

Hedge instances form a grid with the same orientation as the original guest hedge shown below.

X

= 0-0;

Y

= 0-0;

Z

= 0-0;

Preserve Rotation

= Off (Guest not rotated)

Preserve Rotation off leaves hedge instances facing across the grid despite the guest hedge's rotated orientation.

X

= 0-0;

Y

= 0-0;

Z

= 0-0;

Preserve Rotation

= Off;

Guest Rotated

= 90

Hedge instances match the guest hedge's 90-degree rotation with Preserve Rotation enabled.

X

= 0-0;

Y

= 0-0;

Z

= 0-0;

Preserve Rotation

= On;

Guest Rotated

= 90

Random Scale

Scales instances continuously within the From and To values. When Uniform scale is enabled, the X axis values apply across the whole Distribute-on target object. See the Random Scale examples below.

Step Size sets the random step size.

Uniform Scaling uses the X axis values for the Y and Z axes as well.

Preserve Scaling keeps the objects' original scaling.

Random Scale panel with Uniform Scaling and Preserve Scaling ticked, X Axis from 1 to 1, and Step Size set to 0.

Example: Random Scale

This example shows how guest objects are scaled. Compare the results with Uniform Scaling on and off.

Random Scale result showing plants of varying sizes scattered across a gravel bed.

X

= 1-1;

Uniform Scaling

= On

Random Scale with Uniform Scaling on, showing small plants on the left and larger plants in the centre and right.

X

= 0-2;

Uniform Scaling

= On

Random Scale with Uniform Scaling on, showing broad leafy plants and tall yellow flower stalks.

X

= 1-1;

Y

= 1-1;

Z

= 1-1.5;

Uniform Scaling

= Off

Random Scale with Uniform Scaling off, showing narrow plants with elongated leaves and tall flower stalks.

X

= 0.75-0.75;

Y

= 0.75-0.75;

Z

= 1-1.5;

Uniform Scaling

= Off

Random Scale with Uniform Scaling off, showing varied plant sizes and exposed ground between the stones.

X

= 0-1.5;

Uniform Scaling

= On;

Step Size

= 0

Random Scale result showing fewer plants, with large plants concentrated in the centre and right of the gravel bed.

X

= 0-1.5;

Uniform Scaling

= On;

Step Size

= 0.75

Random Scale result at 0.75, showing plants scattered across a gravel plane and two source plants below.

X

= 1-1;

Uniform Scaling

= On;

Preserve Scaling

= On (Guests Not Scaled)

Random Scale result with guest scaling disabled, showing scattered plants and two source plants below.

X

= 1-1;

Uniform Scaling

= On;

Preserve Scaling

= Off (Guests Scaled)

Random Scale result with guest scaling enabled, showing varied plant sizes across the gravel plane.

X

= 1-1;

Uniform Scaling

= On;

Preserve Scaling

= On (Guests Scaled)

Look At

Look At turns instances within a range towards a set direction when enabled. See the Look At example below.

Enables the Look At parameters.

Target Object selects the object used to calculate the direction. With a geometry object, each instance faces the centre of its bounding box. With a camera object, each instance faces the camera.

Look Axis selects which axis of the model object points towards the direction.

Reverse Axis points the reverse of the selected axis towards the direction when enabled.

Horizontal restricts the selected look-at axis to turning within the plane perpendicular to the normal when enabled.

Falloff Distance sets the range affected by Look At. A non-zero value affects only instances within that range. Otherwise, it affects all instances. This setting has no effect when you select a sun object. See the Falloff Distance example below.

Use the Curve editor to remap the falloff.

Curve Interpolation sets the interpolation type to Linear or Cubic. The selected type applies to all curve points.

Context menus

Falloff curve editor showing a straight line descending from 1 to 0.
Look At panel with Look Axis set to X, Horizontal enabled and Curve Interpolation set to Linear.

Example: Look At

This example scatters sunflowers across a plane with Look At enabled. VRaySun is the Target object and moves across the sky as though setting over the horizon. Horizontal is enabled to make the sunflowers' rotation more realistic. Slide through the images to see their movement.

Look At result showing a field of sunflowers oriented towards the VRaySun target.
Sunflower field with Look At targeting VRaySun and Horizontal enabled to keep flower rotation level.
Sunflowers turn towards the moving VRaySun target with Horizontal enabled.

Example: Falloff Distance

In this example, the sunflowers face the blue butterfly. Falloff Distance limits the effect to an area around the Target object. Set the value to 0 to affect all scattered geometry. Scroll quickly through the examples to see which area remains affected.

Overhead view of sunflowers facing a blue butterfly target in the Falloff Distance example.

Falloff distance = 0.0

Falloff Distance set to 0.0 makes all scattered sunflowers face the blue butterfly target.

Falloff distance = 3.0

Falloff Distance set to 3.0 limits sunflower rotation to the area around the blue butterfly target.

Falloff distance = 9.0

Notes

  • SketchUp always calculates scene units in inches.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.