Versions Compared

Key

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

...

public bool RenderAnimation();

Starts animation renderer.

public bool Render(bool sync = false); 

 

Starts renderer.

 true = function executed synchronously

 false = function executed asynchronously

public string ExportProxy(string filePath, bool animated = false);

 

Exports .vrmesh file (@" .vrmesh")

true = export as animated proxy

false = export as static proxy

public string ExportScene(string filePath, bool animated = false);

 

Exports .vrscene file (@" .vrscene")

true = export as animated proxy;

false = export as static proxy

public string ExportSequence(string filePath);Exports an animation sequence of V-Ray Scene (.vrscene) files (@" .vrscene")
public bool ExportCloud();Submits the current .vrscene file to Chaos Cloud.

 

 

C# Script 

...

 

1. Create a C# Script component and plug the renderer output in one of its inputs. 

Image Modified  

 

2. Add references to VRaySDK.Net.dll and VRayForGrasshopper.gha

 

Image Modified

 

3. In the code editor, cast the input variable to VRayForGrasshopper.Scripting.VRayRenderer.

...

1. Create a GhPython Script component and plug the renderer output in one of its inputs. 

Image Modified

 

2. In the code editor, call any of the above methods on the input variable.

 

  Image RemovedImage Added