DirectX ) OVER d3dx9.dll ???

Blitz3D Forums/Blitz3D Beginners Area/DirectX ) OVER d3dx9.dll ???

AMYsProjects(Posted 2006) [#1]
Is there any way to use DirectX 9 in blitz3d ???

Maybe over decls files and d3dx9.dll ???

And how can I get the Pointer to the IDirect3DDevice9, ID3DXMesh and ID3DXBuffer interface?


b32(Posted 2006) [#2]
Have you tried a search on this? I don't think it is easy to enable dx9 in Blitz, because it is wrapped too tight around the dx7 core. You would have to destroy the dx7 device and replace it with the dx9 device. Then, you would have to write your own entity system or run the two devices next to each other and transfer the data realtime.
There are a few examples of doing this, I found this one: http://www.blitzcoder.com/cgi-bin/ubb-cgi/postdisplay.cgi?forum=Forum3&topic=001880
You could try other things, such as VB+Ms DXSDK, or XNA or C++ and Irrlicht maybe. However, it seems like Blitz3D will still work under Vista, thankfully, maybe with a little issue about transparency but nothing big.


Zethrax(Posted 2006) [#3]
I'd suggest keeping an eye on Realmcrafter http://realmcrafter.com/ . The new DX9 3D engine being developed for RC is designed to plug into Blitz3D/BlitzPlus as a DLL and effectively replace all the existing Blitz3D 3D engine commands with DX9 equivalents. I wouldn't be surprised if the 3D engine is released as a standalone product at some point (it's due to be ready for use with RC within the next month).