Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:vrayscatter-maya [2017/09/13 11:08]
anvar
en:vrayscatter-maya [2018/11/13 10:48] (current)
anvar [Distance to curve]
Line 16: Line 16:
 __Operating system:​__ ​ __Operating system:​__ ​
   * **Windows**   * **Windows**
-  * **Mac OS X** (for Mac users: please contact us before purchasing)+  * **Mac OS X**
   * **Linux** ​   * **Linux** ​
  
Line 25: Line 25:
  
 __V-Ray versions:​__ ​ __V-Ray versions:​__ ​
-  * **Windows** / **Linux** / **Mac OS X**: 2.0, 2.2, 2.3, 2.4, 3.1 ( 3.00.01 is not compatible, but some nightlies like 3.05.04 are compatible),​ 3.3 , 3.4, 3.5, 3.6 (best performs with latest nightlies)+  * **Windows** / **Linux** / **Mac OS X**: 2.0, 2.2, 2.3, 2.4, 3.1 ( 3.00.01 is not compatible, but some nightlies like 3.05.04 are compatible),​ 3.3 , 3.4, 3.5, 3.6, 4.x (Next) ​(best performs with latest nightlies)
  
 __Architecture:​__ __Architecture:​__
Line 99: Line 99:
  
 Please, make sure that you've downloaded the latest version of the plug-in from our [[http://​forum.rendering.ru/​viewforum.php?​f=23|forum]] ​ Please, make sure that you've downloaded the latest version of the plug-in from our [[http://​forum.rendering.ru/​viewforum.php?​f=23|forum]] ​
- 
-Here is an example file structure of the **VRayScatter For Maya** for Linux / Mac OS X archive: 
-  * **plugins** – plugins: 
-    * **workstation** – artist workstation 
-    * **batch** – for batch render nodes 
-  * **shaders** – description files for V-Ray shaders 
-  * **ui** – UI files for Maya 
-  * **tools** – registration tools 
- 
 =====Installation On Linux===== =====Installation On Linux=====
 Please, make sure that you've downloaded the latest version of the plug-in from our [[http://​forum.rendering.ru/​viewforum.php?​f=23|forum]] Please, make sure that you've downloaded the latest version of the plug-in from our [[http://​forum.rendering.ru/​viewforum.php?​f=23|forum]]
Line 127: Line 118:
  
  
-Select you Maya/V-Ray versions ​and copy the plugins:+Select you Maya/V-Ray versions, files will be copied to the following folders according to your setup, e.g:
 <​code>​ <​code>​
-# cp plugins/​workstation/​maya2012_vray22_x64/​VRayScatter.so ​/​usr/​autodesk/​maya2012-x64/​bin/​plug-ins/​ +/​usr/​autodesk/​maya2018/​bin/​plug-ins/​VRayScatter.mll 
-# cp plugins/​workstation/​maya2012_vray22_x64/​libvray_VRayScatter.so ​/​usr/​autodesk/​maya2012-x64/​vray/​vrayplugins/​+/​usr/​autodesk/​maya2012-x64/​vray/​vrayplugins/​vray_VRayScatter.dll
 </​code>​ </​code>​
  
-Install the Maya UI files:+Maya UI files:
 <​code>​ <​code>​
-# cp ui/​AEVRayScatterTemplate.mel ​/​usr/​autodesk/​maya2012-x64/​scripts/​AETemplates/​ +/​usr/​autodesk/​maya2018/​scripts/​AETemplates/​NEVRayScatterInfoTextureTemplate.xml 
-# cp ui/​AEVRayScatterTextureTemplate.mel ​/​usr/​autodesk/​maya2012-x64/​scripts/​AETemplates/​ +/​usr/​autodesk/​maya2018/​scripts/​AETemplates/​NEVRayScatterTextureTemplate.xml 
-# cp ui/rdgroupVRayScatter.mel /​usr/​autodesk/​maya2012-x64/scripts/ +/usr/​autodesk/​maya2018/​scripts/​rdgroupMenu.mel 
-# cp ui/​rdgroupMenu.mel /​usr/​autodesk/​maya2012-x64/scripts/ +/​usr/​autodesk/​maya2018/scripts/rdgroupProc.mel 
-# cp ui/rdgroupProc.mel /​usr/​autodesk/​maya2012-x64/scripts/+/​usr/​autodesk/​maya2018/scripts/rdgroupVRayScatter.mel 
 +/usr/​autodesk/​maya2018/​scripts/​rdgroupVRayScatterTool.mel 
 +/​usr/​autodesk/​maya2018/scripts/rdgroupVRayScatterUtils.mel
 </​code>​ </​code>​
  
-Install the V-Ray texture description file:+V-Ray texture description file:
 <​code>​ <​code>​
-# cp shaders/​VRayScatterTexture.txt ​/​usr/​autodesk/​maya2012-x64/​vray/​shaders/​+/​usr/​autodesk/​maya2018/​vray/​shaders/​VRayScatterTexture.txt
 </​code>​ </​code>​
  
 **NOTE**: **NOTE**:
   * Change the installation paths depending on your setup   * Change the installation paths depending on your setup
-  * # - means that command should be executed with root permissions+  * command should be executed with root permissions
 ===== Installation On Linux Batch Render Nodes ===== ===== Installation On Linux Batch Render Nodes =====
  
-Change directory ​to where you have unpacked the archive: +run installer and extract files according ​to your Maya and V-Ray versions
-<​code>​ +
-$ sudo -+
-# cd ~/​where/​you/​have/​unpacked/​the/​archive +
-</​code>​+
  
-Select you Maya/V-Ray versions and copy the plugins:+then copy 3 files to appropriate directories , e.g:
 <​code>​ <​code>​
-# cp plugins/​batch/​maya2012_vray22_x64/​VRayScatter.so ​/​usr/​autodesk/​maya2012-x64/​bin/​plug-ins/​ +/​usr/​autodesk/​maya2018/​bin/​plug-ins/​VRayScatter.mll 
-# cp plugins/​batch/​maya2012_vray22_x64/​libvray_VRayScatter.so ​/​usr/​autodesk/​maya2012-x64/​vray/​vrayplugins/​ +/​usr/​autodesk/​maya2018/​vray/​vrayplugins/​vray_VRayScatter.dll 
-</​code>​ +/​usr/​autodesk/​maya2018/​vray/​shaders/​VRayScatterTexture.txt
- +
-Install the V-Ray texture description file: +
-<​code>​ +
-# cp shaders/​VRayScatterTexture.txt ​/​usr/​autodesk/​maya2012-x64/​vray/​shaders/​+
 </​code>​ </​code>​
 ===== Installation On Linux DR Nodes ===== ===== Installation On Linux DR Nodes =====
  
-For V-Ray "​Distributed Render"​ node installation you only need to copy V-Ray plugins:+For V-Ray "​Distributed Render"​ node installation you only need to copy V-Ray plugin file **vray_VRayScatter.dll** e.g :
 <​code>​ <​code>​
 $ sudo -i $ sudo -i
-# cd ~/​where/​you/​have/​unpacked/the/archive/​workstation/​maya2012_vray22_x64+# cd ~/​where/​you/​have/​extracted/files/to
-# cp libvray_VRayScatter.so /​usr/​autodesk/​maya2012-x64/​vray/​vrayplugin/​+# cp vray_VRayScatter.dll /​usr/​autodesk/​maya2018/​vray/​vrayplugin/​
 </​code>​ </​code>​
  
Line 301: Line 286:
 ===== User Interface ===== ===== User Interface =====
  
- ​{{:​vrayscatter-maya:​10_vrs_user_interface.png?​nolink| VRayScatter for Maya interface}}+ ​{{:​vrayscatter-maya:​user-interface-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya interface}}
  
   - 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.   - 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.
   - If you have added multiple objects tweak the Probability parameter to make all objects visible or use menu Tools -> “Auto Probability”. ​   - If you have added multiple objects tweak the Probability parameter to make all objects visible or use menu Tools -> “Auto Probability”. ​
 ===== Parameters Description ===== ===== Parameters Description =====
-**Scatter Objects rollout**+==== Scatter Objects rollout ​==== 
 + ​{{:​vrayscatter-maya:​scatter-object-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Scatter Objects rollout}} 
   * Scatter Objects – list of scattered objects. ​   * Scatter Objects – list of scattered objects. ​
-  * Draw Color – object'​s drawing color in viewport. ​+  * Color – object'​s drawing color in viewport. 
 +  * Scale - 
   * Probability – probability of the object'​s appearance. ​   * Probability – probability of the object'​s appearance. ​
   * Radius – radius of the collision sphere for the collision solving. Default value is 100% - that corresponds to the object size.    * Radius – radius of the collision sphere for the collision solving. Default value is 100% - that corresponds to the object size. 
Line 314: Line 302:
   * Penetration – sets the blur of the collisions border areas. ​   * Penetration – sets the blur of the collisions border areas. ​
   * Mask color variance – threshold for colorful mask.   * Mask color variance – threshold for colorful mask.
-  * Hide From Render – hide original object from render. ​+  * Hide From Render – hide original object from render. 
 +  * Apply Offset 
 +  * Apply Geometry Transform  
 + 
 +==== Distribution ==== 
 + ​{{:​vrayscatter-maya:​distribution-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Distribution}}
  
-**Distribution** ​ 
   * Seed – initial random seed.    * Seed – initial random seed. 
   * Amount – render objects amount. ​   * Amount – render objects amount. ​
-  * Preview – preview objects amount.  +  * Preview – preview objects amount. 
-  * Instancing type: +  * UV Set  
-      * Intance ​this is the default type for huge object amounts +
-      * Node - use this type for smaller object amounts (< 100,000) and if you need to scatter displaced or smoothed geometry. This type also provides motion blur when using animated VRayProxy and compatible with VRay RT.+
   * Use Mask – use distribution mask texture. ​   * Use Mask – use distribution mask texture. ​
   * Colorful - use colorful mask; this will place objects by the texture using object "Draw Color"​.   * Colorful - use colorful mask; this will place objects by the texture using object "Draw Color"​.
-  * Texture – distribution mask texture. This could be any Maya texture. ​+  ​* Type: 
 +      * Texture 
 +      * Color Set 
 +      * Both 
 +  ​* Texture – distribution mask texture. This could be any Maya texture. 
 +  * Color Set - 
   * Solve Collisions – solve scatter objects collisions. ​   * Solve Collisions – solve scatter objects collisions. ​
  
-**Pattern** +==== Pattern ​==== 
 + ​{{:​vrayscatter-maya:​pattern-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Pattern}} 
   * Type – pattern type   * Type – pattern type
     * Random     * Random
-      ​* Use Density – random position settings include only this one additional option. With it you can set the number of objects (Count) to be located at a single area unit (Per Square). The resulting number will also be fixed with ‘Max Count’ option. The area is defined by system units. It means that in the case when centimetres being used in system units one single object will fall within 1 square meter. +    * Pattern 1 - Pattern distribution uses UV-mapping to work, thus object must have proper UV-coordinates.  
-    Pattern - Pattern distribution uses UV-mapping to work, thus object must have proper UV-coordinates. ​ +    * Pattern 2 
-      * Lock Offsets – when this option is enabled you will to control both U and V offsets simultaneously.  +    * Pattern 3 
-      ​* ​ U Offset – U offset.  +    * Random Sticked 
-      * V Offset – V offset. ​+  ​* Use Density – random position settings include only this one additional option. With it you can set the number of objects (Count) to be located at a single area unit (Per Square). The resulting number will also be fixed with ‘Max Count’ option. The area is defined by system units. It means that in the case when centimetres being used in system units one single object will fall within 1 square meter. 
 +  Count 
 +  * Per Square 
 +  ​* Lock Offsets – when this option is enabled you will to control both U and V offsets simultaneously.  
 +  ​U Offset – U offset.  
 +  * V Offset – V offset. ​ 
 + 
 +==== Rotation==== 
 + ​{{:​vrayscatter-maya:​rotation-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Rotation}}
  
-**Rotation** 
   * Use – quick control to enable/​disable rotation features.   * Use – quick control to enable/​disable rotation features.
 +  * Look At
 +    * Attach
 +    * Mode: Rotate or Track
 +    * X, Z, Y
 +  * Align To Face
   * Align To Normal – align object to surface normal. ​   * Align To Normal – align object to surface normal. ​
   * Constant – constant rotation (for each axis). ​   * Constant – constant rotation (for each axis). ​
Line 347: Line 356:
   * Texture contrast – quick control of texture contrast. ​   * Texture contrast – quick control of texture contrast. ​
  
-**Scale** +==== Scale==== 
 + ​{{:​vrayscatter-maya:​scale-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Scale}} 
   * Use – quick control to enable/​disable scale features. ​   * Use – quick control to enable/​disable scale features. ​
   * Global From/To – global minimum/​maximum scale. The actual scale will be a random value between From and To values. ​   * Global From/To – global minimum/​maximum scale. The actual scale will be a random value between From and To values. ​
Line 355: Line 366:
   * Max Scale – maximum scale that corresponds to the 1.0 color value. ​   * Max Scale – maximum scale that corresponds to the 1.0 color value. ​
  
-**Offset** +==== Offset ​==== 
 + ​{{:​vrayscatter-maya:​offset-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Offset}} 
   * Use – quick control to enable/​disable offset features. ​   * Use – quick control to enable/​disable offset features. ​
   * Along Normal – offset objects along surface normal. ​   * Along Normal – offset objects along surface normal. ​
Line 364: Line 377:
   * Max Offset – maximum offset that corresponds to the 1.0 color value. ​   * Max Offset – maximum offset that corresponds to the 1.0 color value. ​
  
-**Distance to surface borders** +==== Mirror ==== 
 + ​{{:​vrayscatter-maya:​mirror-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Mirror}} 
 +  
 +==== Distance to surface borders ​==== 
 + ​{{:​vrayscatter-maya:​distance-to-surface-borders-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Distance to surface borders}} 
   * Use – quick control to enable/​disable surface border features. ​   * Use – quick control to enable/​disable surface border features. ​
-  * Distance – maximum distance from object to surface border in which object parameters will be affected. Actual control parameter ​behavior ​could be defined using Density and Scale ramps.+  * Distance – maximum distance from object to surface border in which object parameters will be affected. Actual control parameter ​behaviour ​could be defined using Density and Scale ramps. 
 +  * Affect Density 
 +  * Affect Scale 
 +  * Border Density Ramp 
 +    * Selected Position 
 +    * Selected Value 
 +    * Interpolation - None, Linear, Smooth, Spline 
 +  * Border Scale Ramp 
 +    * Selected position 
 +    * Selected Value 
 +    * Interpolation - None, Linear, Smooth, Spline 
 + 
 +==== Distance to curve ==== 
 + ​{{:​vrayscatter-maya:​distance-to-curve-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Distance to curve}}
  
-**Distance to curve borders** ​ 
   * Use – quick control to enable/​disable curve border features. ​   * Use – quick control to enable/​disable curve border features. ​
   * Distance – maximum distance from object to curve in which object parameters will be affected. Actual control parameter behavior could be defined using Density and Scale ramps. ​   * Distance – maximum distance from object to curve in which object parameters will be affected. Actual control parameter behavior could be defined using Density and Scale ramps. ​
-  * Attach ​Curve – attaches selected curve. ​+  * Affect Density 
 +  * Affect Scale 
 +  * Border ​Curve Attach ​– attaches selected curve. ​ 
 +  * Curve Border Density Ramp 
 +    *Selected position 
 +    *Selected Value 
 +    *Interpolation - None, Linear, Smooth, Spline 
 +  * Curve Border Scale Ramp 
 +    *Selected position 
 +    *Selected Value 
 +    *Interpolation - None, Linear, Smooth, Spline 
 +==== Mask curve ==== 
 + ​{{:​vrayscatter-maya:​mask-curve-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Mask curve}}
  
-**Mask curve** ​ 
   * Use – quick control to enable/​disable mask curve features. ​   * Use – quick control to enable/​disable mask curve features. ​
-  * Inverse – inverse mask curve behavior.  +  * Inverse – inverse mask curve behaviour.  
-  * Attach ​Curve – attaches selected curve. ​+  * Projection Plane  
 +  * Render-Time Clipping 
 +  * Mask Curve Attach ​– attaches selected curve. ​ 
 + 
 +==== Camera ==== 
 + ​{{:​vrayscatter-maya:​camera-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Camera}}
  
-**Camera** ​ 
   * Use – quick control to enable/​disable camera features. ​   * Use – quick control to enable/​disable camera features. ​
   * Use FOV – limits rendered objects to only that are seen from camera field of view. Could save some RAM.    * Use FOV – limits rendered objects to only that are seen from camera field of view. Could save some RAM. 
-  * Distance – distance from camera. ​+  ​* FOV Adjust 
 +  ​* Distance ​Far – distance from camera. ​ 
 +  * Distance Near
   * Affect Density – limits objects visibility to distance. ​   * Affect Density – limits objects visibility to distance. ​
-  * Attach ​Camera – attaches selected camera. ​+  * Camera ​Attach  ​– attaches selected camera. ​ 
 + 
 +==== Render ==== 
 + ​{{:​vrayscatter-maya:​render-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Render}}
  
-**Render** 
   * Use Light Linker - this feature will transfer Light Linker setup from objects used in scatter to instanced objects.   * Use Light Linker - this feature will transfer Light Linker setup from objects used in scatter to instanced objects.
-  * Use Tint Texture - check [[vrayscatter-maya#​vrayscatter_texture|VRayScatter Texture]] section for howto. +  * Use Hair 
-    * Replace Color - this will replace the color with Tint Texture color, otherwise it will be mixed. ​ +  * Use Subdivision / Displacement 
-    * Type - mix type. +  * Preview in Viewport 
-    * Amount - mix amount. +  * Tint Texture - check [[vrayscatter-maya#​vrayscatter_texture|VRayScatter Texture]] section for howto. 
-    * Tint Texture - color variance control texture. +  * Use Render Stats 
-  * Use Render Stats - this feature allows to setup render stats options+  * Visibility 
 +  * Cast Shadows 
 +  * Visible To Camera 
 +  * Visible To Reflections 
 +  * Visible To Refractions 
 +  * Visible To GI 
 +  * Render ID Mode 
 +    * No ID 
 +    * Instance Render ID 
 +    * Unique Per Scatter 
 +    * Unique Per Instance 
 +  * Object ID Mode 
 +    * Custom Object ID 
 +    * Instance Object ID 
 +    * Instance / Proxy Object ID 
 +  * Object ID 
 +  * Motion Blur 
 +    * No Motion Blur 
 +    * Motion Blur and Velocity Channel 
 +    * Velocity Channel Only
  
-**VRayProxy Animation** +==== VRayProxy Animation ​==== 
 + ​{{:​vrayscatter-maya:​vrayproxy-animation-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - VRayProxy Animation}}
  
 This feature works only when scattering VRayProxy and allows to assign different frame offset. This feature works only when scattering VRayProxy and allows to assign different frame offset.
-  * Use – quick control to enable/​disable VRayProxy animation features. ​+  * Generate Random Offsets
   * Offset From/To – From/To frame offset. Actual frame offset is a random value between From and To.    * Offset From/To – From/To frame offset. Actual frame offset is a random value between From and To. 
 +  * Max. Difference Offset Random
   * Use Offset Texture - use texture to drive frame offset; black = "​Offset From" value, white = "​Offset To" value.   * Use Offset Texture - use texture to drive frame offset; black = "​Offset From" value, white = "​Offset To" value.
 +  * Animation Offset Texture
 +
 +==== Viewport ====
 + ​{{:​vrayscatter-maya:​viewport-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Viewport}}
  
-**Viewport**  +  ​* Draw style – objects draw style in the viewport. 
-  ​* Draw style – objects draw style in the viewport. ​+    * None 
 +    * Point 
 +    * Box 
 +    * Mesh Preview 
 +  * Draw Alpha 
 +  * Draw Point Size
   * Logo color - color for the locator logo and bounding box.   * Logo color - color for the locator logo and bounding box.
   * Logo size – locator logo size.    * Logo size – locator logo size. 
  
-**Bake**+==== Bake ==== 
 + ​{{:​vrayscatter-maya:​bake-vrayscatter-for-maya.png?​nolink| 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 much objects to your scene.+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. 
 +  * Bake Mode 
 +    * Preview 
 +    * Render
   * Bake Type   * Bake Type
     * Instance - new objects will be linked with one geometry.     * Instance - new objects will be linked with one geometry.
-    * Cope - geometry data will also be duplicated.+    * Copy - geometry data will also be duplicated. 
 +  * Duplicate Input Connection 
 +  * Group 
 +==== Textures ==== 
 + ​{{:​vrayscatter-maya:​textures-vrayscatter-for-maya.png?​nolink| VRayScatter for Maya - Textures}}
 ===== VRayScatter Texture ===== ===== VRayScatter Texture =====
  
Print/export