Strict
Framework brl.blitz
Import irrlicht.core
'Global device:IrrlichtDevice =IrrlichtDevice.Create(EDT_SOFTWARE,_DIMENSION2DI(512,384),32,False,True,False,Null)
Global device:IrrlichtDevice =IrrlichtDevice.Create(EDT_SOFTWARE2,_DIMENSION2DI(512,384),32,False,True,False,Null)
'Global device:IrrlichtDevice =IrrlichtDevice.Create(EDT_OPENGL,_DIMENSION2DI(512,384),32,False,True,False,Null)
'Global device:IrrlichtDevice =IrrlichtDevice.Create(EDT_DIRECT3D8,_DIMENSION2DI(512,384),32,False,True,False,Null)
'Global device:IrrlichtDevice =IrrlichtDevice.Create(EDT_DIRECT3D9,_DIMENSION2DI(512,384),32,False,True,False,Null)
Global Driver:IVideoDriver = device.getVideoDriver ()
Global smgr:ISceneManager = device.getSceneManager()
Global guienv:IGUIEnvironment = device.getGUIEnvironment()
Global Cam:ICameraSceneNode = smgr.addCameraSceneNode (Null,_VECTOR3DF(0,1,0),_VECTOR3DF(0,0,0))
While (device.Run())
Driver.BeginScene(True,True, _SCOLOR(255,255,255,255))
smgr.drawAll()
Local material:SMaterial=SMaterial.Create()
Driver.SetTransform(ETS_WORLD,Matrix4.Create())
Driver.draw2DLine (_POSITION2DI(256,192),_POSITION2DI(256,10),_SCOLOR(255,255,0,255))
Driver.draw3DLine (_VECTOR3DF(0,0,0),_VECTOR3DF(-1,0,0),_SCOLOR(255,255,0,255))
Driver.EndScene()
Wend
device.drop()
Do you get the same results with all of these.