hey guys.
it this question has poped up a few time so I'm going to make this short handy Guide on how to do this for A to Z.
1) How to genorate VRscene:
You can find the Translator in the V-ray Render node under the Translator tab. here you can export the 3D scene from nuke to a VRscene file be render in standalone.
The best method of exporting a sequential VRscene is to Cread a Write node and in the file path put /Dir/export.####.null. this allows you to export the vrscene idear local render or on the farm. this also over comes any caching issues that you may face with the play button..
2) useful thing:
If want your exr to be multi channel you'll need to add a post trans script to you vray render node.
just incase you want buckets you can adde this additional lines
SO what iff you want to change your GI setting well here is a nowhere example to do this.
3) Rendering in Sequential VRscene
Well Vray standalone dosent support Sequential Vrscene rendering! you will need to build idear a loop script.
For Windows: here is some simpile .bat file code to get you started.
Similar technic can be applied in linux as well.
i hope this helps
P.S. think you Georgi Zhekov for all the help
it this question has poped up a few time so I'm going to make this short handy Guide on how to do this for A to Z.
1) How to genorate VRscene:
You can find the Translator in the V-ray Render node under the Translator tab. here you can export the 3D scene from nuke to a VRscene file be render in standalone.
- first thing to mention is that VRscene would not export Readnode and nuke 2D nodes in to a vrscene file. you will need to precomp this and feed to a VrayTexBitmap
- If you chosen to use nuke Readgeo over Vrayproxy bear in mind the vrscene Export will be slow becuse it need to compile this to a vrscene
- Nuke partical are suported But vray nuke dosent support Point! you need to give them Faces (just plug in a nuke card)
- V-ray nuke Dose not Export a animation to a single VRscene (yet) you will need to put FileName.####.vrscene
The best method of exporting a sequential VRscene is to Cread a Write node and in the file path put /Dir/export.####.null. this allows you to export the vrscene idear local render or on the farm. this also over comes any caching issues that you may face with the play button..
2) useful thing:
If want your exr to be multi channel you'll need to add a post trans script to you vray render node.
Code:
from vray.utils import * r = findByType("SettingsOutput")[0] r.set("img_rawFile", 1) exr= create("SettingsEXR", "vraySettingsEXR") exr.set("compression", 3) exr.set("bits_per_channel", 16)
Code:
region = findByType('SettingsRegionsGenerator')[0] region.set('xc', 64) region.set('yc', 64) region.set('dynbuckets', 1)
Code:
lc=findByType("SettingsGI")[0] lc.set("secondary_engine", 3) settings=create("SettingsLightCache","settingsLightCache") settings.set("subdivs", 500)
Well Vray standalone dosent support Sequential Vrscene rendering! you will need to build idear a loop script.
For Windows: here is some simpile .bat file code to get you started.
Code:
@echo off setlocal EnableDelayedExpansion for %%i in (“Z:\DIR\Shot\CG\Vrscene\*.vrscene") do ( "C:\Program Files\ChaosGeoup\####2016\vray\bin\vray" -sceneFile="%%i" -display=0 -autoClose=1 -noFrameNumbers=1 -imgFile="Z:\DIR\Shot\CG\Vrscene\std_run.exr" ) endlocal
i hope this helps
P.S. think you Georgi Zhekov for all the help
Comment