Hello everyone.
In the archive contains a type library "DirectX 9 for Visual Basic 6.0 type library by The trick" (dx9vb.tlb) contains a description of the following interfaces:
- IDirect3D9;
- IDirect3DDevice9;
- IDirect3DSurface9;
- IDirect3DResource9;
- IDirect3DSwapChain9;
- IDirect3DTexture9;
- IDirect3DBaseTexture9;
- IDirect3DVolumeTexture9;
- IDirect3DVolume9;
- IDirect3DCubeTexture9;
- IDirect3DVertexBuffer9;
- IDirect3DIndexBuffer9;
- IDirect3DStateBlock9;
- IDirect3DVertexDeclaration9;
- IDirect3DVertexShader9;
- IDirect3DPixelShader9;
- IDirect3DQuery9.
Also in the library declared many types, constants and enumerations. The work of this library tested poorly, so something may not work. Also in the archive includes several modules written in VB6:
- D3DX_COLOR.bas - for work with colors;
- D3DX_MATRICES.bas - for work with matrices;
- D3DX_QUATERNION.bas - for work with quaternions;
- D3DX_VECTOR2.bas, D3DX_VECTOR3.bas, D3DX_VECTOR4.bas - for work with vectors;
- D3DX_MISC.bas - other functions.
These modules include analogs of the respective functions D3DX. Also in the archive contains several test examples.
http://www.vbforums.com/
http://www.vbforums.com/
http://www.vbforums.com/
http://www.vbforums.com/
GitHub link
08.24.2015. added drawing text example.
09.17.2015. added 3D form example.
02.27.2016. Fixed bug in D3DXMatrixTranspose function. Changed type of pointers to Any in methods IDirect3DDevice9::CreateVertexShader, IDirect3DDevice9::CreatePixelShader, IDirect3DDevice9::SetPixelShaderConstantB, IDirect3DDevice9::SetPixelShaderConstantI, IDirect3DDevice9::SetPixelShaderConstantF, IDirect3DDevice9::SetVertexShaderConstantB, IDirect3DDevice9::SetVertexShaderConstantI, IDirect3DDevice9::SetVertexShaderConstantF
05.06.2018. added simple scene example (camera, procedural generation, mouse picking, basic transformations); "laser lines" example, rendering in different thread example. Fixed bug in functions: D3DXMatrixTranspose, D3DXMatrixRotationQuaternion, D3DXVec2Length;
Changed function prototype for D3DXPlaneIntersectLine, error raising has been changed to return value;
Changed behavior of function D3DXQuaternionToAxisAngle, now it accepts non-normalized quaternions;

