Vray scene export not working from maya standalone
We wrote our own export script for vray. We launch mayapy, import maya, import pymel, load a scene ( that has vray) and do a little processing on it. When we use the vrend commmand to render we dont get a vrscene out. Vray 33 doesnt report any progress (even on large scenes). It completes with out an error, but there is no vrscene file.
The same script will work in a gui version of maya with vray33.
The script will work in both command and gui mode with vray 31.
i'm including a link to a sample bat script and python file to show what we're doing.
The bat file uses mayapy and gives all the args to the python script. The python script should export a vray scene from the beauty renderLayer and from the camera RENDER into the directory. I've setup it up to work from the directory "C:\vray_33_export_python"
When it works with vray 31, it exports : "C:\vray_33_export_python\ball_beauty.vrscene"
here is a link to a zip file with a working example, uzip to your c drive or change the mappings:
https://drive.google.com/file/d/0B-u...ew?usp=sharing
let me know if you have any questions
We wrote our own export script for vray. We launch mayapy, import maya, import pymel, load a scene ( that has vray) and do a little processing on it. When we use the vrend commmand to render we dont get a vrscene out. Vray 33 doesnt report any progress (even on large scenes). It completes with out an error, but there is no vrscene file.
The same script will work in a gui version of maya with vray33.
The script will work in both command and gui mode with vray 31.
i'm including a link to a sample bat script and python file to show what we're doing.
The bat file uses mayapy and gives all the args to the python script. The python script should export a vray scene from the beauty renderLayer and from the camera RENDER into the directory. I've setup it up to work from the directory "C:\vray_33_export_python"
When it works with vray 31, it exports : "C:\vray_33_export_python\ball_beauty.vrscene"
here is a link to a zip file with a working example, uzip to your c drive or change the mappings:
https://drive.google.com/file/d/0B-u...ew?usp=sharing
let me know if you have any questions
Comment