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:
rt=device.getDefaultRTView()#Render targetrt.clearRenderTarget((1.0,1.0,1.0,1.0))ds=device.getDefaultDSView()#Depth stencilds.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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?