Closed lpcdma closed 3 years ago
I don't understand what problem you're describing, please give much more detail about what you are doing and what is going wrong. Your steps to reproduce are not complete too, you need to describe what I can do to reproduce the problem - the steps you have given are much too vague and the python snippet you have pasted is incomplete.
I don't understand what problem you're describing, please give much more detail about what you are doing and what is going wrong. Your steps to reproduce are not complete too, you need to describe what I can do to reproduce the problem - the steps you have given are much too vague and the python snippet you have pasted is incomplete.
download save_texture.py add code
import sys
import os
sys.path.append('C:/Users/username/Downloads/renderdoc-1.14/x64/Development/pymodules')
os.environ["PATH"] += os.pathsep + os.path.abspath('C:/Users/username/Downloads/renderdoc-1.14/x64/Development')
if sys.platform == 'win32' and sys.version_info[1] >= 8:
print("AAAAAAAAAAA")
os.add_dll_directory("C:/Users/username/Downloads/renderdoc-1.14/x64/Development")
Use windows console: Use Python Shell
Test RDC file
Test RDC file
Test RDC file
I can't reproduce this, the texture is saved correctly for me whether running in the python shell or via the python module directly.
This capture was made on an Android device in OpenGL ES which you didn't mention. In the UI are you replaying on an Android device or on your computer? The python script replays directly on your computer and generally speaking replaying OpenGL ES on desktop is not recommended and most drivers are unable to do so correctly, only nvidia in my experience can do it at all. If you're replaying on Android in the UI that would explain the difference.
Closing this due to lack of activity and no further information to investigate.
Description
The picture cannot be saved using the windows command line (the picture is black when it is opened)
download source code form https://renderdoc.org/docs/python_api/examples/renderdoc/save_texture.html
Steps to reproduce
use Python Shell Save the picture normally use windows console The same code picture becomes black According to the following code, it should be possible to run without Python Shell?
Environment