http://bugs.winehq.org/show_bug.cgi?id=22918
--- Comment #34 from Tony Wasserka tony.wasserka@freenet.de 2010-07-24 15:04:29 --- (In reply to comment #33)
Alright, my code is located at http://repo.or.cz/w/wine/d3dx9TW.git The COM part of the interface isn't that clean anyway, but maybe there's still some useful information for you in there.. note that it prolly would be better to use vertex declarations instead of FVFs internally though. I don't know what functionality was still missing, but it was pretty complete apart from the Optimize function and... IIRC some CloneMesh misbehaviors. .x file loading is implemented as well :) Anyway, I don't work on getting those patches merged anymore (due to various reasons), so feel free to pick up stuff from the patches and just add my copyright to the headers.
And.. yeah, I didn't implement D3DXCreateSphere, yet. Just D3DXCreateBox (I think so) and D3DXCreateText (or whatever it was called)
fwiw, if you have questions just come to #winehackers on IRC, I'm quite often around, my nick is bigbrain or neobrain ;)