майя падает, когда я хочу показать headupdisplay
Я использую майя 2018.5 автономный режим.Я хочу воспроизвести файл .ma.но не удалось найти код ошибки: mel.eval ('objectTypeFilterOnCallback 21;') у кого-то есть идея?Я думаю, что это ошибка
Я хочу показать HUD, но не нашел ни одного решения.может ли кто-нибудь помочь мне
import maya.standalone
maya.standalone.initialize(name='python')
file_path = r"E:\tmp\render_backgroud.ma"
cmds.file(file_path, open=True)
camera = "camera1"
cmds.setAttr(camera + ".rnd", True)
mel.eval('OnUICallback 9;')
mel.eval('objectTypeFilterOnCallback 12;')
mel.eval('objectTypeFilterOnCallback 13;')
mel.eval('objectTypeFilterOnCallback 14;')
mel.eval('objectTypeFilterOnCallback 21;')
cmds.playblast(format='qt',
filename='D:/a_6.mov',
forceOverwrite=1,
sequenceTime=0, clearCache=1,
compression='H.264',
offScreen=True,
showOrnaments=1,
viewer=1, fp=4, percent=100,
quality=100, widthHeight=(960, 540))
сбой:
Stack trace:
3dGraphics.dll!T3dPort::colorTable
DataModel.dll!TuiPainter::setColorIndex
SharedUI.dll!TheadsUpDisplay::drawStandardHUD
SharedUI.dll!TheadsUpDisplay::drawHUD
SharedUI.dll!TheadsUpDisplayLayout::drawHUDs
OGSMayaBridge.dll!TiteratorWrapperFwd<TmultiIndexDependNodeSet::NodesFromUuidConstIteratorDescriptor,TiteratorWrapper<TmultiIndexDependNodeSet::NodesFromUuidConstIteratorDescriptor> >::operator=
OGSMayaBridge.dll!OGSMayaBaseRenderer::updateUIElements
OGSMayaBridge.dll!Ttask::initTbb
OGSMayaBridge.dll!OGSApplicationBridge::UpdateScene
OGSMayaBridge.dll!OGSMayaRenderer::updateScene
OGSMayaBridge.dll!OGSMayaBaseRenderer::performSceneRender
OGSMayaBridge.dll!TplayblastOGSBridge::grabPixels
AnimUISlice.dll!TanimationEditorCmd::setAnimEditor
AnimUISlice.dll!TanimationEditorCmd::setAnimEditor
AnimUISlice.dll!TanimationEditorCmd::setAnimEditor
AnimUISlice.dll!TanimationEditorCmd::setAnimEditor
AnimUISlice.dll!TanimationEditorCmd::setAnimEditor
CommandEngine.dll!TmetaCommand::doCommand
CommandEngine.dll!TpythonInterpreter::dispatchMayaCommand
python27.dll!PyCFunction_Call
python27.dll!PyEval_GetFuncDesc
python27.dll!PyEval_GetFuncDesc
python27.dll!PyEval_EvalFrameEx
python27.dll!PyEval_EvalCodeEx
python27.dll!PyEval_GetFuncDesc
python27.dll!PyEval_GetFuncDesc
python27.dll!PyEval_EvalFrameEx
python27.dll!PyEval_EvalCodeEx
python27.dll!PyRun_FileExFlags
python27.dll!PyRun_FileExFlags
python27.dll!PyRun_SimpleFileExFlags
python27.dll!PyRun_AnyFileExFlags
python27.dll!Py_Main
KERNEL32.DLL!BaseThreadInitThunk
ntdll.dll!RtlUserThreadStart
базовая информация:
Initialized VP2.0 renderer {
Version : 2016.11.40.12. Feature Level 5.
Adapter : NVIDIA GeForce GTX 1060 6GB
Vendor ID: 4318. Device ID : 7171
Driver : C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_16499cb96caf818a\nvldumdx.dll,C:\WINDOWS\System32\DriverStor:22.21.13.8554.
API : DirectX V.11.
Max texture size : 16384 * 16384.
Max tex coords : 32
Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
Active stereo support available : 0
GPU Memory Limit : 6144 MB.
CPU Memory Limit: 31063.4 MB.
}
OpenCL evaluator is attempting to initialize OpenCL.
Detected 1 OpenCL Platforms:
0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 9.0.176.
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.
Choosing OpenCL Device GeForce GTX 1060 6GB. Device Type: GPU Device is available.