VRay2Nuke

Be able to render from VRay directly to Nuke with RenderElement support.

Updated: 1 November 2012

Author: PenguinTD

Compatible Nuke versions: 6.3 or later

Compatibility: Windows 64

(This installation and usage also included in the 7z file.)

Download the file. Use this link if nukepedia failed.

https://www.asuswebstorage.com/navigate/s/5023D15B862A446CB0CD70773CC8D0274

A. On NUKE side, choose your nuke version folder

1. Copy NukeBuffer.dll to
C:\Users\[your user name]\.nuke

2.in the same dir create a menu.py and paste following lines, if you already have something setup , just do your thing.

m = nuke.menu( 'Nodes' )
myMenu = m.addMenu('Custom')
myMenu.addCommand( 'NukeBuffer', lambda: nuke.createNode( 'NukeBuffer' ) )



B. On Vray 4 Maya side

1.remember to set these 2 environment variable so vray can find plugin in maya or standalone mode.
VRAY_FOR_MAYA2012_PLUGINS_x64
VRAY_PLUGINS_x64


2.in maya's vray render global->postTranslatePython, past following lines.

from vray.utils import *
nkOutput = create( "NukeOutput", "nkOutput1" )
nkOutput.set( "port", 9201 )
nkOutput.set( "hostname", "localhost" )


3. Using other 3D package other than Maya?
The idea would be similar, find place to inject output nodes to your vrscene.

Copyright (c) 2012, Ren-Wei Yang
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Sign in or register to download or rate.