Question

BlitzMax Forums/BlitzMax Beginners Area/Question

Kippykip(Posted 2013) [#1]
If I get Blitz3d SDK for Blitzmax and update Blitzmax to the latest version, Will it be DX9?


H&K(Posted 2013) [#2]
The SDK will not.

Max internal 2d will.


Kryzon(Posted 2013) [#3]
What you can do for the time being is use one of the two recent D3D 9 libraries for BlitzPlus\Blitz3D that were released by independent users.
Since they are in a DLL form, they can be used with BlitzMax as well as any other language that can use dynamic libraries.

Blitz-Hardwired:
http://blitzbasic.com/Community/posts.php?topic=101644#1210710

Irrlicht 1.8.1 for Blitz:
http://blitzbasic.com/Community/posts.php?topic=101569

To use these DLL libraries with BlitzMax you will need to make a wrapper for them. You don't need to wrap both, just the one you would like to use.
To wrap a DLL with BlitzMax, you need to retrieve the function pointers inside the DLL and make a module with those functions in the following way:
http://blitzbasic.com/Community/posts.php?topic=93088#1210785

You will have to rely on the DECLS files that come with those libraries in order to discover the functions' names and the types of values they return.
I can't do this work for you, but I can help if you find problems.


Kippykip(Posted 2013) [#4]
The SDK will not.

Max internal 2d will. 

H&K
I've been toying around with the trial and minib3d which is opengl
It's pretty good, with the exception of the graphic mode checking commands
What you can do for the time being is use one of the two recent D3D 9 libraries for BlitzPlus\Blitz3D that were released by independent users.
Since they are in a DLL form, they can be used with BlitzMax as well as any other language that can use dynamic libraries.

Blitz-Hardwired:
http://blitzbasic.com/Community/posts.php?topic=101644#1210710

Irrlicht 1.8.1 for Blitz:
http://blitzbasic.com/Community/posts.php?topic=101569

To use these DLL libraries with BlitzMax you will need to make a wrapper for them. You don't need to wrap both, just the one you would like to use.
To wrap a DLL with BlitzMax, you need to retrieve the function pointers inside the DLL and make a module with those functions in the following way: 
http://blitzbasic.com/Community/posts.php?topic=93088#1210785 

You will have to rely on the DECLS files that come with those libraries in order to discover the functions' names and the types of values they return.
I can't do this work for you, but I can help if you find problems. 
I tried Blitz Hardwired but it's not finished (But the progress is great!)
Might have a look at Irrlicht since I've got blitzplus with that special on the front page

Thanks!


TomToad(Posted 2013) [#5]
gman has already created an irrlitch wrapper for blitzmax. You can get it here http://www.gprogs.com/