ddraw: ComputeSphereVisibility

Stefan Dösinger stefan at codeweavers.com
Fri Apr 25 12:23:23 CDT 2008


Am Freitag, 25. April 2008 04:20:11 schrieb David Adam:
> Hello,
>
> I am trying to debug the demo of The Sting. Now, the main is that the
> screen is almost black. It is surely related to the following FIXME:
> fixme:d3d7:IDirect3DDeviceImpl_7_ComputeSphereVisibility
>
> Unfortunately, I did not find any informations about this function. Does
> anyone know what this function does, ( and better knows a possible
> implementation)?
There's something in the DirectX SDK, and I added some implementation ideas to 
the comments in the ddraw code. I think it comes down to a bit of vector 
math, but I think you'll have to write some test cases to check if it really 
does what that the MSDN says



More information about the wine-devel mailing list