Hi all.
Can i write z buffer to a file using DirectX9? Or somehow find its address in a memory?
Write Z-Buffer to BMP
Hi,
If you're already writing depth to a render target , then you can use one of the following functions to save it to file:
D3DXSaveTextureToFile()
http://msdn.microsoft.com/en-us/library/windows/desktop/bb205433(v=vs.85).aspx
D3DXSaveSurfaceToFile()
http://msdn.microsoft.com/en-us/library/windows/desktop/bb205431(v=vs.85).aspx
If you're already writing depth to a render target , then you can use one of the following functions to save it to file:
D3DXSaveTextureToFile()
http://msdn.microsoft.com/en-us/library/windows/desktop/bb205433(v=vs.85).aspx
D3DXSaveSurfaceToFile()
http://msdn.microsoft.com/en-us/library/windows/desktop/bb205431(v=vs.85).aspx
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement