Hey guys,
We're working on a scene with many instances of geometry and wanted to add V-ray fur on top of those. We're using Maya's instancer node (particle instancer) to have fast scene management with the amount of instances we're handling. Though at this stage we were unable to render these instances (going through an instancer) with V-Ray fur. This is what we've tried:
1. Add the V-ray fur preview shape under the transform that's being instanced. This does not render, yet it (funnily enough) does show in the viewport. During rendering we get this error message:
2. Run a post-translate python script that would instantiate the V-ray fur copies on top of the transformations that are in the instancer. Though this didn't work because getting the "instances" parameter results in an error.
Tested with Post Translate Python Script:
---
Any ideas on other possible optimal and manageable solutions here?
We're working on a scene with many instances of geometry and wanted to add V-ray fur on top of those. We're using Maya's instancer node (particle instancer) to have fast scene management with the amount of instances we're handling. Though at this stage we were unable to render these instances (going through an instancer) with V-Ray fur. This is what we've tried:
1. Add the V-ray fur preview shape under the transform that's being instanced. This does not render, yet it (funnily enough) does show in the viewport. During rendering we get this error message:
Code:
// Warning: V-Ray : Unable to export instancer node 'VRayFurPreview1'! //
Code:
# Error: line 0: A parameter with name "instancer" doesn't exist for plugin "instancer1". # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # File "C:/Program Files/Autodesk/Maya2016/vray/scripts/vrayExecPostTranslateScript.py", line 8, in <module> # exec script # File "<string>", line 5, in <module> # File "C:\Program Files\Autodesk\Maya2016\vray\scripts\vray\plugin.py", line 122, in get # res = pluginmodifier._getParam(self._name, paramName) # Exception: A parameter with name "instancer" doesn't exist for plugin "instancer1". #
Code:
from vray.utils import * nodes=findByType("Instancer") # Get all Node plugins for node in nodes: print node.get("instances")
Any ideas on other possible optimal and manageable solutions here?
Comment