Hello! Thanks for the fine project However I met difficulty - I can't change color of cleaning of a background when rendering.
I review "Tutorial2" example. Following documentation, I replace the setRenderTargetsDefault() function with the following code:
:::python rt = device.getDefaultRTView() #Render target rt.clearRenderTarget((1.0, 1.0, 1.0, 1.0)) ds = device.getDefaultDSView() #Depth stencil ds.clearDepthStencil() device.setRenderTargets([rt], ds) #Must be released. ds.release() rt.release()
get an error APPCRASH: "python.exe program work is stopped", Fault Module Name: d3d11.pyd. No errors in the console and DebugView.
It is checked on two personal computers: Windows 7, RADEON HD 6670, Python 2.7.5 Windows 7, Intel GMA 945, Python 2.7.2
How do I replace the color?
Log in to post a comment.
Hello! Thanks for the fine project
However I met difficulty - I can't change color of cleaning of a background when rendering.
I review "Tutorial2" example.
Following documentation, I replace the setRenderTargetsDefault() function with the following code:
get an error APPCRASH: "python.exe program work is stopped", Fault Module Name: d3d11.pyd. No errors in the console and DebugView.
It is checked on two personal computers:
Windows 7, RADEON HD 6670, Python 2.7.5
Windows 7, Intel GMA 945, Python 2.7.2
How do I replace the color?