render with cmd problem

366 views
Skip to first unread message

Eduardo Carreño

unread,
Jun 30, 2017, 3:13:26 AM6/30/17
to maya_he3d
Hi, im studing 3d design and i recently discovered that the cmd can render scenes from maya, i already set the path of the mayabatch to the systems enviroment variables,
when i open the cmd and write my folder location and then my scene i want to render it says:

OpenCL evaluator is attempting to initialize OpenCL.
Detected 1 OpenCL Platforms:
 0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 8.0.0.
 Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer
OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
OpenCL evaluator is unable to find a GPU device that can share VBOs with OpenGL.
Error: line 1: File not found: "Toma_19_29.ma"
Error: file: C:\Users\Edward\AppData\Local\Temp\AST52F93476.tmp line 22: Cannot load scene "Toma_19_29.ma". Please check the scene name.
// Maya exited with status 209


here is what i write to render it,i already tried to do it with quotes and doesnt work.

C:\Users\Edward>cd D:\Ciclo 6\Escenario_Corto\Ciclo6_Escenario\scenes\Render Tomas\Toma 19

C:\Users\Edward>render -r file Toma_19_29.ma

i will appreciate any help, sorry my english isnt good.

SEQUENZ | Gerstenmaier

unread,
Jun 30, 2017, 3:33:11 AM6/30/17
to maya...@googlegroups.com

Hi,

did you setup a project directory in Maya under File -> Project Window -> New? This setup the file structure that Maya loves. Save your scene file under scenes and your texture under sourceimages.

Then you can set up a bat-file: Just open the text editor and add something like:

"C:/Program Files/Autodesk/Maya2017/bin/Render.exe" -r sw -proj D:\maya\projects\PROJECT_NAME -cam CAMERA_NAME -s 1 -e 730 -b 1 -x 1920 -y 1080 D:\maya\projects\se_smyrna_movie\scenes\SCENE_NAME.ma

I would also try to avoid spaces in any directory or file names. Better user underscores.


More infos about command line rendering:


Hope that helps,
Lars



--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maido Hollo

unread,
Jul 2, 2017, 3:39:00 AM7/2/17
to maya_he3d
There are also some script generators out there, maybe it makes it bit easier at beginning?

http://lesterbanks.com/2013/12/maya-creating-a-batch-script-to-render-multiple-maya-scenes/

Hafiizh

unread,
Jul 2, 2017, 10:05:09 AM7/2/17
to maya...@googlegroups.com
Or, if you are lazy like me you can just right click in explorer and Render.


On Sunday, July 2, 2017 3:45 PM, Maido Hollo <maido...@gmail.com> wrote:


There are also some script generators out there, maybe it makes it bit easier at beginning?

http://lesterbanks.com/2013/12/maya-creating-a-batch-script-to-render-multiple-maya-scenes/


reede, 30. juuni 2017 10:33.11 UTC+3 kirjutas seq:

Hi,

did you setup a project directory in Maya under File -> Project Window -> New? This setup the file structure that Maya loves. Save your scene file under scenes and your texture under sourceimages.

Then you can set up a bat-file: Just open the text editor and add something like:

"C:/Program Files/Autodesk/Maya2017/bin/ Render.exe" -r sw -proj D:\maya\projects\PROJECT_NAME -cam CAMERA_NAME -s 1 -e 730 -b 1 -x 1920 -y 1080 D:\maya\projects\se_smyrna_ movie\scenes\SCENE_NAME.ma

I would also try to avoid spaces in any directory or file names. Better user underscores.


More infos about command line rendering:


Hope that helps,
Lars



Am 30.06.2017 um 09:13 schrieb Eduardo Carreño <mc3...@gmail.com>:

Hi, im studing 3d design and i recently discovered that the cmd can render scenes from maya, i already set the path of the mayabatch to the systems enviroment variables,
when i open the cmd and write my folder location and then my scene i want to render it says:

OpenCL evaluator is attempting to initialize OpenCL.
Detected 1 OpenCL Platforms:
 0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 8.0.0.
 Supported extensions: cl_khr_global_int32_base_ atomics cl_khr_global_int32_extended_ atomics cl_khr_local_int32_base_ atomics cl_khr_local_int32_extended_ atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer
OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
OpenCL evaluator is unable to find a GPU device that can share VBOs with OpenGL.
Error: line 1: File not found: "Toma_19_29.ma"
Error: file: C:\Users\Edward\AppData\Local\ Temp\AST52F93476.tmp line 22: Cannot load scene "Toma_19_29.ma". Please check the scene name.
// Maya exited with status 209


here is what i write to render it,i already tried to do it with quotes and doesnt work.

C:\Users\Edward>cd D:\Ciclo 6\Escenario_Corto\Ciclo6_ Escenario\scenes\Render Tomas\Toma 19

C:\Users\Edward>render -r file Toma_19_29.ma

i will appreciate any help, sorry my english isnt good.

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@ googlegroups.com.

For more options, visit https://groups.google.com/d/ optout.
Reply all
Reply to author
Forward
0 new messages