Table of Contents

VRayScatter For Maya Manual

VRayScatter For Maya is a plug-in for Maya which works with V-Ray rendering system. It is possible to create complicated scenes with a huge amount of objects easy and quickly with the aid of this plugin.

Usually scenes in Maya with a great amount of even identical objects take a lot of space on HDD, consumes a lot of time for loading, and it is very hard to work with. VRayScatter For Maya is created to solve these problems.

The scene containing 500 000 identical objects created with Maya 2008 occupies 1400Mb of HDD space. Now, if it is created with VRayScatter For Maya and still containing the same 500 000 objects the scene can take just 250Kb.

The most exciting feature of VRayScatter For Maya is a quick generation of an array of objects right before rendering. Those very 500 000 objects are created in only 2 seconds before rendering.

Another outstanding VRayScatter For Maya ability is uploading and downloading from VRayProxy memory if needed (as and when necessary). This allows the application of polygon models without missing productivity and capacity of RAM. Animated objects support and animated VRayProxy support allows creating huge amounts of animated objects. Now with VRayScatter For Maya it is possible to create the whole forest of wind-shaken woods. The support of 64-bit systems and multi-core processing allows VRayScatter For Maya to create and render, for example, forest or even a city in a blink of an eye.

System Requirements

Operating system:

Maya versions:

V-Ray versions:

NOTE:

Rendernodes:

Upgrade from 2.x.x to 4.x

Version 3.x.x and 4.x now uses only one V-Ray plugin file and since version 4.514 installs only a module, so you have to remove old conflicting plugins:

Windows

Installation

Please, make sure that you've downloaded the latest version of the plug-in from our forum

To install the program you need to run the VRayScatterForMaya-<version>.exe with the administrator rights.

please note, since version 4.514, installs only a module

Don’t forget to quit Maya before you start the installation (please check Task Manager too for any running instances of Maya).

 VRayScatter for Maya installer

Read the license agreement carefully. If you accept the license the click “I Agree” otherwise press “Cancel”:

 VRayScatter for Maya installer

Choose Maya and V-Ray versions:

 VRayScatter for Maya installer

Check installation paths

 VRayScatter for Maya installer

Start Maya and enable Load and/or Auto load in Window → Settings/Preferences → Plug-in Manager for the VRayScatter plug-in.

 VRayScatter for Maya autoload

Installation on Windows Rendering nodes

Batch Rendering

install same as workstation but without activation

or manually copy files

Distributed Rendering

Copy vray_VRayScatter.dll from MAYA_ROOT\plug-ins\vrayscatter\vrayplugins to VRAY_STANDALONE/vrayplugins (or MAYA_ROOT/vray/vrayplugins) on render nodes.

(or whichever folder is used for loading vray plugins from, the folder is usually called /vrayplugins and locates within your V-Ray installation)

For example, from:

C:\Program Files\Autodesk\Maya2020\plug-ins\vrayscatter\vrayplugins

to:

C:\Program Files\Chaos Group\V-Ray\Standalone for x64\vray\vrayplugins

Uninstall

To uninstall VRayScatter use the uninstaller: Start menu > R&D Group > VRayScatter For Maya > Uninstall

Activation

please see: http://docs.icube3d.com/en:cerber-protection

Linux

General

Please, make sure that you've downloaded the latest version of the plug-in from our forum

Installation On Linux

Please, make sure that you've downloaded the latest version of the plug-in from our forum

Unpack the archive, open your preferred terminal application, obtain root permission

Installer has a graphical interface on all supported platforms:

$ sudo -i
# VRayScatterForMaya-x.xxx.run

or you can also run text installation mode

$ sudo -i
# VRayScatterForMaya-x.xxx.run --mode text

Select you Maya/V-Ray versions, files will be copied to the following folders according to your setup, e.g:

Maya module path  /usr/autodesk/maya2019-x64/modules/VRayScatterForMaya.mod
Maya module plugin path /usr/autodesk/maya2019-x64/plug-ins/vrayscatter

NOTE:

Installation On Linux Render Nodes

Batch Rendering

Same as for workstation, but without activation

Run installer, extract files and then copy across rendernodes

And check .mod file for variables

Distributed Rendering

For V-Ray “Distributed Render” node installation you only need to copy V-Ray plugin file libvray_VRayScatter.so e.g :

$ sudo -i
# cd ~/where/you/have/extracted/files/to/
# cp libvray_VRayScatter.so /usr/autodesk/maya2018/vray/vrayplugin/

Uninstall

To uninstall VRayScatter For Maya you have to manually remove all the installed files.

Activation on Linux

please see: http://docs.icube3d.com/en:cerber-protection

Mac OS X

Installation on Mac OS X

Please, make sure that you've downloaded the latest version of the plug-in from our forum

Unpack the archive, open your preferred terminal application, obtain root permission and start coping files:

$ sudo -i
# cd ~/where/you/have/unpacked/the/archive

Select you Maya/V-Ray versions and copy the plugins. Here is an example for the default paths of Maya 2012 and V-Ray 2.2:

# cp plugins/workstation/maya2012_vray22_x64/VRayScatter.dylib /Applications/Autodesk/maya2012/Maya.app/Contents/MacOS/plug-ins
# cp plugins/workstation/maya2012_vray22_x64/libvray_VRayScatter.so /Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins/

Install the Maya UI files:

# cp ui/AEVRayScatterTemplate.mel /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/AETemplates
# cp ui/AEVRayScatterTextureTemplate.mel /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/AETemplates
# cp ui/rdgroupVRayScatter.mel /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/
# cp ui/rdgroupMenu.mel /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/
# cp ui/rdgroupProc.mel /Applications/Autodesk/maya2012/Maya.app/Contents/scripts/

Install the V-Ray texture description file:

# cp shaders/VRayScatterTexture.txt /Applications/Autodesk/maya2012/Maya.app/Contents/vray/shaders

NOTE:

Installation On Mac OS X Batch Render Nodes

Change directory to where you have unpacked the archive:

$ sudo -i
# cd ~/where/you/have/unpacked/the/archive

Select you Maya/V-Ray versions and copy the plugins:

# cp plugins/batch/maya2012_vray22_x64/VRayScatter.so /Applications/Autodesk/maya2012/Maya.app/Contents/MacOS/plug-ins
# cp plugins/batch/maya2012_vray22_x64/libvray_VRayScatter.so /Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins

Install the V-Ray texture description file:

# cp shaders/VRayScatterTexture.txt /Applications/Autodesk/maya2012/Maya.app/Contents/vray/shaders

Installation On Mac OS DR Nodes

For V-Ray “Distributed Render” node installation you only need to copy V-Ray plugins:

$ sudo -i
# cd ~/where/you/have/unpacked/the/archive/workstation/maya2012_vray22_x64/
# cp libvray_VRayScatter.so /Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins/

Uninstall

To uninstall VRayScatter For Maya you have to manually remove all the installed files.

Activation on Mac OS X

NOTE

Please make sure you always use the registration utility which is supplied with the particular version of VRayScatter For Maya.

Open your preferred terminal application and start the registration utility:

$ /Applications/iCubeRDGroup/bin/VRayScatterForMayaRegistration

This will generate an VRayScatterForMaya_<UserName>_<Date>.id file on your Desktop.

Send this file to support@icube3d.com (or your reseller). Please, attach copy of you receipt or order number to avoid any delays in communication.

In the nearest time (usually within 24 hours) you will get an email from us (or your reseller) with *.lic license file attached. Save this file on your hard disk.

Start again the registration utility with the path to the license file argument like:

$ /Applications/iCubeRDGroup/bin/VRayScatterForMayaRegistration /path/to/license/file.lic

or manually copy this file to ~/.config/RDGroup/VRayScatterForMaya.lic like this:

$ mkdir -p ~/.config/RDGroup/
$ cp /path/to/license/file.lic ~/.config/RDGroup/VRayScatterForMaya.lic

In case of license malfunction and errors (which can be caused by disk formatting, reinstallation of the operating system or components replacement) you are free to address the developer at any time. Please make sure you download latest version from our forum and generate new *.id file. Send it to support@icube3d.com to get your updated *.lic file.

However, we reserve the right not to issue a new license in case of total replacement of a PC if the registration request is submitted more often than once in half a year.

ATTENTION! Please always try to email from the same email address you used when you purchased the plug-in. If we can’t find your e-mail address from which you sent the ID file in our database and there is no explanation and receipt or order number in you email, your request may not be processed!

Please always attach you receipt or order number to avoid any delays in communication.

Usage

VRayScatter Creation

  1. Select mesh or curve object you want to distribute objects at.
  2. In menu choose: Create → R&D Group → VRayScatter.
  3. VRayScatter bounding box and logo will appear. Use it to select VRayScatter.

User Interface

 VRayScatter for Maya interface

  1. Select objects to distribute (Mesh or VRayProxy) then select VRayScatter and press Add in «Scatter Objects» rollout. This will connect objects to the “scatterObject” attribute.
  2. If you have added multiple objects tweak the Probability parameter to make all objects visible or use menu Tools → “Auto Probability”.

Parameters Description

Scatter Objects rollout

 VRayScatter for Maya - Scatter Objects rollout

Distribution

 VRayScatter for Maya - Distribution

Distribution Cache

 VRayScatter for Maya - Distribution Cache

Pattern

 VRayScatter for Maya - Pattern

Rotation

 VRayScatter for Maya - Rotation

Scale

 VRayScatter for Maya - Scale

Offset

 VRayScatter for Maya - Offset

Slope Control

 VRayScatter for Maya - Slope Control

Mirror

 VRayScatter for Maya - Mirror

Distance to surface borders

 VRayScatter for Maya - Distance to surface borders

Distance to curve

 VRayScatter for Maya - Distance to curve

Mask curve

 VRayScatter for Maya - Mask curve

Camera

 VRayScatter for Maya - Camera

Render

 VRayScatter for Maya - Render

VRayProxy Animation

 VRayScatter for Maya - VRayProxy Animation

This feature works only when scattering VRayProxy and allows to assign different frame offset.

Viewport

 VRayScatter for Maya - Viewport

Bake

 VRayScatter for Maya - Bake

This feature allows to “bake” scattered objects to real Maya objects. Use this feature very carefully because it could add too many objects to your scene.

Textures

 VRayScatter for Maya - Textures

VRayScatter Texture

VRayScatter texture is used for color randomization of scattered objects. To use this feature do the following:

Setup VRayScatter:

  1. Enable “Use Tint Texture” option in VRayScatter's “Render” rollout.
  2. Setup “Tint Texture”. You could use any Maya texture to control color variance (like Noise or File)

Setup scattered object (this example uses diffuse color variance):

  1. Make sure object uses “VRay Mtl”
  2. Add “VRay Scatter Texture” to diffuse slot. “VRay Scatter Texture” is located in “Utilities” section in Maya textures.
  3. Add “Base Texture” to “VRay Scatter Texture” if needed

Now render your scene and look at color variance.

Troubleshooting

License error

VRayScatter: Incorrect license!

if this is happens right after activation, please restart Maya

In case of license malfunction and errors (which can be caused by disk reformatting, re-installation of the operating system or components replacement) you are free to address the developer at any time by sending your request for a new *.LIC file to support@icube3d.com.

Does not appear in create menu

Log

Check your log for any errors, also from version 4.405.154 you can now setup environment variable ICUBE_DEBUG to 1, this will produce more info from VrayScatter

Other errors

Please make sure you download and install latest version from our forum

If this haven't solved the problem please contact us at support@icube3d.com, by sending description of the problem together with the following information: