samzanemesis
Topic Author
Posts: 3
Joined: 16 Jan 2019, 10:04

DX9 Implementation?

16 Jan 2019, 23:25

Hello

I am implementing NoesisGUI for the Source Engine and I am hitting some roadblocks, unfortunately the engine only supports DX9 outside of Linux and OSX targets.

Seems like Noesis supported DX9 until some time ago, even still referenced in code in the official Noesis GitHub repo, and then support for it seems to have been dropped silently, there isn't any doc or code referencing any of it anymore.

I understand DX9 is an ancient API so it wouldn't be wise to give support for it but could I have some pointers on what's the latest version of the GUI that supported DX9 so I could use it, or if not, having the code for InitDirectX9() available so I can try to backport it over D3D11RenderDevice (In specific how shaders are being packaged)? I would want to have this working without spending too many engineering resources on the abstraction layer.

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2588
Joined: 20 Jan 2012, 17:18
Contact:

Re: DX9 Implementation?

16 Jan 2019, 23:34

D3D9 is no longer supported since NoesisGUI 2.0, but a client generously shared with us a D3D9 implementation for Ogre that I think could be useful. Could you please file a report about it? Let's follow the conversation there.
 
samzanemesis
Topic Author
Posts: 3
Joined: 16 Jan 2019, 10:04

Re: DX9 Implementation?

17 Jan 2019, 00:11

Hmm,

Reading the changelog it seems like the rendering system was completely revamped from 1.2 to 2.0 so I don't even think having part of the DX9 code from it would be much helpful, the thing I was most curious about in the OGRE implementation was really that InitDirectX9() function from NoesisGUI itself

I managed to port the shaders from D3D11RenderDevice back to SM3 but I am having issues to strip it to bytecode in Shaders.h, MSFT's shader compiler doesn't support stripping in SM <4.0, I will investigate in the next days on what I could do to easily store the shaders in the code, getting the other bulk of the code to play nice with DX9 should be familiar by taking MSFT's documentation regarding DX9-DX11 in account.
 
User avatar
jsantos
Site Admin
Posts: 2588
Joined: 20 Jan 2012, 17:18
Contact:

Re: DX9 Implementation?

17 Jan 2019, 00:15

The D3D9 renderer I am offering to you is compatible with Noesis 2.X. :) Don't you think that could help you?
 
samzanemesis
Topic Author
Posts: 3
Joined: 16 Jan 2019, 10:04

Re: DX9 Implementation?

17 Jan 2019, 00:19

Oh! I had the impression you were speaking with the public implementation on GitHub, I will follow a report as soon as possible
 
User avatar
jsantos
Site Admin
Posts: 2588
Joined: 20 Jan 2012, 17:18
Contact:

Re: DX9 Implementation?

21 Jan 2019, 15:46

Who is online

Users browsing this forum: No registered users and 2 guests