By Andrew Hazelden <andrew@andrewhazelden.com>
Fuse Support Requirements
- An OpenCL, CUDA, or Metal based GPU
- Fusion Studio 16-17.4.2+ or Resolve 16-17.4.2+
Open-Source Software License Term
The kvrVraySceneRender.fuse is Apache 2.0 licensed.Overview
Render V-Ray based .vrscene file assets interactively from the V-Ray VFB window, from within the comfort of a Resolve/Fusion GUI or Fusion Render Node session, via V-Ray Universal Render Node command-line interface bindings.Download
Place this file in yourReactor:/Deploy/Fuses/Kartaverse/
PathMap folder.(You make need to create the intermediate sub-folders by hand.)
Fuse Screenshots


GUI Controls
The VRScene Filename control supports the use of PathMaps and %04d style frame padding characters.The EXR Filename control supports the use of PathMaps and %04d style frame padding characters.
The "Static Frame" control allows you to load either a (static) single image, or an image sequence.
The "Interactive" control allows you to have the rendering launched during a Fusion Studio GUI artist session. When this control is unchecked renderings are only carried out during batch renders.
The "Skip Rendering if image exists" checkbox allows you to make sure you aren't re-rendering the same frame again. This control will look for the expected image name on disk and only launch a rendering of a new image if no image file is found.
Workflow Notes
This fuse works with Cryptomatte since it adds a Metadata.Filename record to the image output stream generated by the node. This allows Cryptomatte masking operations to work in Fusion if the VRScene file being rendered has the Cryptomatte Render Element Enabled.Todo Sooner
- Error handling - missing vray host program error is mis-identified as a missing scene.
- Drag and drop import .vrscene file into Fusion comp view.
- Parse the vrscene file on drag/drop import to look for scene filename token
- "Open VRScene in Script Editor" Button - Open the file with the Script editor defined in the Fusion preferences
- VRay Bin hosts on MacOS/Win/Linux selector
Todo Later
- Customize EXR Filename
- Render Element Override controls
- figure out multi-rendering of same frame issue
- Check-point auto-save image every N minutes
- Get EXR image name from popen result
- Batch vs interactive rendering
- VFB project workspace - save history tab path
- Cryptomatte depth is not 32-bit - look at V-Ray frame buffer settings in Maya
- EffectsMask input on VrayBatchRender sets bucket priority masking
Image Saved File Info
Code: Select all
[2021/Jul/8|06:41:39] [2117 MB] Successfully written image file "/Volumes/Projects/Yeti_Vray_Project/images/tmp/blue_sonic_fur.exr"
When drag/drop importing a vrsene file grab the name from the fields:
- img_file="sphere.exr";
- img_dir="/Users/vfx/Documents/maya/projects/default/images/tmp/";
- SettingsOutput vraySettingsOutput {
- img_width=1920;
- img_height=1080;
- img_pixelAspect=1;
- img_file="sphere.exr";
- img_dir="/Users/vfx/Documents/maya/projects/default/images/tmp/";
- img_file_needFrameNumber=0;
- img_separateAlpha=0;
- img_noAlpha=0;
- img_dontSaveRgbChannel=0;
- img_deepFile=0;
- img_rawFile=0;
- img_rawFileVFB=1;
- img_rawFileSaveColorCorrections=0;
- img_clearMode=0;
- anim_start=1;
- anim_end=1;
- anim_frame_padding=4;
- anim_renumber_on=0;
- anim_renumber_start=0;
- anim_renumber_step=1;
- anim_ren_frame_start=0;
- frame_start=1;
- frames_per_second=1;
- frames=ListInt( 1);
- rgn_left=0;
- rgn_width=1920;
- rgn_top=0;
- rgn_height=1080;
- bmp_width=1920;
- bmp_height=1080;
- r_left=0;
- r_width=1920;
- r_top=0;
- r_height=1080;
- relements_separateFolders=0;
- relements_separate_rgba=0;
- relements_divider=".";
- film_offset_x=0;
- film_offset_y=-0;
- }