Versions Compared

Key

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

This page gives information about the creation and use of V-Ray nodes from plugins included with V-Ray for Maya.

 

Overview


Section
Column
width45%

V-Ray for Maya can create a node from any plugin that comes with the V-Ray installation. After a node is created, its parameters can be accessed in the Attribute Editor.

You can filter the results by name for quick access to the needed plugin.

UI Expand
titleUI Path: V-Ray Shelf > Create from V-Ray plugin

 

 

 

  ||Create menu|| > V-Ray > Create From V-Ray plugin

 

 

Column
width5%

 

Column
width50%

Help on Plugin Nodes


Help on nodes from plugins is available in two areas in V-Ray.

HTML Help

Information on parameters available for each plugin node can be found as HTML files on your local hard disk. These files are included as part of your V-Ray installation, in the PluginDoc folder:

Fancy Bullets
typecircle
  • Windows: C:\Program Files\Autodesk\MayaNNNN\vray\PluginDoc

  • Linux: /usr/autodesk/mayaNNNN/vray/PluginDoc

  • Mac OS X: /Applications/Autodesk/mayaNNNN/vray/PluginDoc

Where NNNN is your Maya version number, such as 2016.

For example, help on parameters for the BRDFVRayMtl node can be found in the file BRDFVRayMtl.html in this folder. These HTML help files can be viewed in any browser.

 

Command Line Help

Documentation of those plugins can also be accessed using the plgparams tool that also comes with the V-Ray for Maya installation. It is located in the bin folder of your V-Ray installation, under the vray folder (using the paths listed above).

With the command prompt, navigate to the bin folder and run plgparams without arguments to see a list of available switches. In general, you will need to run a series of commands to point plgparams to the plugin folder, locate the V-Ray name of the node (which might differ from its display name in the V-Ray UI), and list the parameters for the plugin.

To point plgparams to the folder where your plugins reside, use this command:

Code Block
languagetext
plgparams -plugindir <plugin folder>

This command tells plgparams where to find your plugins. In most installations, this will be in the vrayplugins folder under the vray folder. If running plgparams from the bin folder, the command to set the plugin folder would look similar to the following:

Code Block
languagetext
plgparams -plugindir "../vrayplugins"

To see the list of plugin names in this folder, use the following command:

Code Block
languagetext
plgparams -plugindir "../vrayplugins" -list

Note that the plugin folder must be specified with the -plugindir switch each time you run the command.

To see help on the parameters for a specific plugin, name the plugin in quotes after the -plugindir switch and folder. For example, to see help on the BRDFVRayMtl plugin, use the command:

Code Block
languagetext
plgparams -plugindir "../vrayplugins" "BRDFVRayMtl"

This will list all the parameters for the plugin, and definitions for each.