RFC: DirectX8 code

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Wed Sep 11 16:53:47 CDT 2002


Attached is the code as I have it today, warts and all for anyone who wants
to try it. Dump it all in the dlls/d3d8. Its not a diff since there is not
much there to diff against.

I will continue to play with it and would appreciate feedback fron anyone
who fancies giving it a try.

As I said in my original note, it requires a hack to the x11drv.spec file at
the moment - I'll look into the escape mechanism. It doesnt handle screen
modes at all yet, it only implements 2, one which is the display resolution
and a 640x480 mode it returns. I cant work out how to do this yet!

Known issues:
1. Text doesnt work (For the life of me I cant get tutorial 9 to work:
     http://www.two-kings.de/tutorials/d3d09/d3d09.html

2. Lighting isnt quite right - Look at the lighting of the following sample
compared to windows
     http://www.codeguru.com/directx/UDirect3D8.html

3. Error checking isnt there

4. State block code doesnt feel right. I need to look into gl lists, and see
if those will help

5. Hundreds of bugs, unimplemented parts etc etc.

I dont mind if this does get in the wine tree, but I suspect it is too hacky
to do so. Aside from the escape mechanism let me know about other parts
which would prevent the code going in.

One very important point - Be gentle with me! I'd never touched 3D graphics
before I started fiddling with this!

Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DirectX8-rfc1.zip
Type: application/x-zip-compressed
Size: 67123 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20020911/76e56491/DirectX8-rfc1.bin


More information about the wine-patches mailing list