Reply 1440 of 3949, by lowenz
wrote:I've fixed the bug: […]
I've fixed the bug:
http://dege.fw.hu/temp/D3D8.zip
However I found one in the DX8 renderer of the game (unrelated to the terrain).
In pre-DX8, one had to tell the D3D draw methods how many VERTICES they want to render.
In DX8, number of the PRIMITIVES has to be given to the draw methods.When Giants renders a screen quad by 2 triangles, it calls DX7 with 6 vertices to draw.
The DX8 renderer passes to the drawing method that same 6, resulting in drawing 6 triangles... When somebody ported it from DX7 to 8, it escaped his notice.
Unfortunately it can result in flashing extra waste polygons in the game. I cannot do anything with that, the game should be patched instead.
I don't really know why it works natively.One more observation: In GoG version, the DX8 renderer dll is renamed to gg_dx7r.dll, and no DX7 renderer is available. Also, it looks like there are some other hackings in the game because, for example, I cannot see the bank of the river (neither via dgVoodoo, nor natively) at the beginning scene but only a black area. The terrain also looks somewhat uglier compared to the patch that Firtasik linked here, not to mention that bump mapping bug doesn't come with that.
Thanks!
Steam Aquanox still crashing @start (no problem with DXWnd and basic settings).