A idea on howto dx9 in blitz

Blitz3D Forums/Blitz3D Programming/A idea on howto dx9 in blitz

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Graphics3D 640,480,16,2

Cube=CreateCube()
camera=CreateCamera()
MoveEntity camera,0,0,-20

RenderWorld
Flip

Repeat
Until KeyDown(1)


Function RenderWorld()
Print "hehehe! this is done instead of the rendering!"
Print "now, if you write a CallDll command to interface with dx9 rendering here..... ;)"
End Function


Now, itd be a lot of work, but isnt it possible to re-wrap the current blitz commands to DX9 like this?

Renderworld could be wrapped to call the dx9 version using a dll call etc etc etc


I dont have knowledge to actually do this so i may be totally wrong, but would anyone out there be able to do it? youd be the blitz saveour!