cxbx-shogun icon indicating copy to clipboard operation
cxbx-shogun copied to clipboard

Add Direct3D 9 renderer

Open Echelon9 opened this issue 10 years ago • 2 comments

Create an alternative Direct3D 9 renderer alongside the existing Direct3D 8 (August 2007 SDK) renderer.

TODO: Separate in small PRs:

  • Use blushogun96's existing work-in-progress Direct3D 9 patch.
  • Abstract the key renderer interfaces, methods and structures.
  • Provide clean method of switching out between Direct3D 8/9 renderers.
  • Update project files to refer to standard install location of the DirectX libraries. DirectX SDK (June 2010) was the last standalone release; now included in the Windows SDK.
  • Enable vertex shaders on Direct3D 9 renderer cf EmuIDirect3DDevice8_CreateVertexShader()
  • Address tweaks and compatibility improvements.
  • Use DirectX 'Developer Runtime' to fix newly introduced ERROR or CORRUPTION level messages..

Note: Windows XP does not support DirectX 10 and above.

Echelon9 avatar Jun 12 '14 01:06 Echelon9

Helpful reference materials

http://msdn.microsoft.com/en-us/library/windows/desktop/bb204851(v=vs.85).aspx https://user.xmission.com/~legalize/book/dx9-core.html

Echelon9 avatar Jun 25 '14 15:06 Echelon9

wasn't the source code leaked for the xbox? (read it on reddit)

ghost avatar May 21 '20 23:05 ghost