This project is a fork of the
wine.git project. If you have that one
already cloned locally, you can use
git clone --reference /path/to/your/wine.git/incarnation mirror_URL
to save bandwidth during cloning.
readme
Google Summer of Code 2009 project of Tony Wasserka, implementing various functions and interfaces of the D3DX9 library in Wine.
Texture functions:
- D3DXGetImageInfo* (returning information about width, height, format, etc of an image file)
- D3DXLoadSurface (loading and decoding image files and converting them to an IDirect3DSurface9 object; also handles conversion of pixel formats and filtering)
- D3DXCheckTextureRexuirements (checking Direct3D device capabilities and adjusting texture parameters accordingly)
- D3DXFilterTexture (Mipmap generation)
- D3DXCreateTexture* (creating an IDirect3DTexture9 object from image file data)
ID3DXFont interface: see http://msdn.microsoft.com/en-us/library/bb173961%28VS.85%29.aspx
ID3DXMesh interface: see http://msdn.microsoft.com/en-us/library/bb174069%28VS.85%29.aspx and http://msdn.microsoft.com/en-us/library/bb205731%28VS.85%29.aspx
Mesh functions:
- D3DXCreateBox
- D3DXCreateText (for rendering "3D text") - only partial implementation
- D3DXLoadMesh* (loading meshes from files)
- D3DXDeclaratorFromFVF and D3DXFVFFromDeclarator (converting FVFs to and from vertex declarations)
To try out this code, check out the Merge branch, the others are outdated.
Changelog:
07/26/09: Started changelog
07/26/09: Rebased master, created new mesh branch
08/03/09: Updated mesh branch with an ID3DXMesh implementation and a simple .x file loader
08/04/09: Rebased master, improved .x file loader, created new font branch
08/07/09: Updated font branch with implementations for most remaining ID3DXFont methods
08/13/09: Updated texture branch with implementations for IWICStream and cleanups in surface.c
08/14/09: Updated texture branch with a DDS image loader and some IWICStream fixes
08/14/09: Merged all branches into the 'Merge' branch
08/15/09: Added mesh normal parsing in D3DXLoadMeshFromXInMemory
08/16/09 and 08/17/09: Various code cleanups and fixes