OldDirectx ->OpenGL Friend Project - #directx 2/3 #D3DTLVERTEX #OpenGL/GLSL 1.1

With https://www.williamfeely.info/wiki/DXGL

I was able to open Shadows of the empire on these settigns :

Windows 7 64
Radeon 6850
8 GB DDR3
Phenom 955 X4

But During the game, only ambient light and 2D are rendered.
This video is posted on bugzilla and on https://www.williamfeely.info/phpBB3/viewforum.php?f=8

https://www.williamfeely.info/bugzilla/show_bug.cgi?id=40


Hi Java Gaming Forum, i found this software and i was able to play shadows of the empire as in video… actually, not play, but i was able to open the game.
Anyway, i contacted mr William and hes trying to figure it out a way to fix it.

Im not that good with OpenGl, so i thought to post here and see if anyone can lend him a hand!

Thanks in advance


soundspark 9 Minutes Ago
 
If anyone knows how to render D3DTLVERTEX format vertices in OpenGL/GLSL 1.10 vertex shader please respond.  The D3DTLVERTEX format contains screen-coordinate x/y/z  and and rhw described by MSDN as reciprocal of homogenous w.

Updates :

“Looks like I have narrowed down the issue to the D3DOP_PROCESSVERTICES opcode in the execute buffer, as well as Z buffering. I’m using the twist sample from the DirectX 3 SDK which I have converted over to compile under Visual Studio 2013 to help trace the rendering pipeline”

" Looks like this has opened a whole can of worms because now I have hit the issue of viewport formats. That old Direct3D API is a total mess, with completely different viewport formats between versions"