Does Irrlicht support NOT using graphics?
Does Irrlicht support NOT using graphics?
I have spent the last few minutes perusing the tutorials, and have come to the conclusion that I would like to use Irrlicht, but I wonder... Can I use Irrlicht to NOT DRAW things? Quite simply, I would like to have a game with a server, and the server should run on a UNIX command line. It would be much easier if I could run the simulation on the server exactly the same way that I do in the game... that whole code resuse/conservation thing is in effect here. I would like to be able to have the game and the server running on largely the same code base, but this presents a problem. I don't want to waste clocks on the server drawing everything to a screen... especially when the server admin mades the intelligent decision to run the server on the command line, and not in a (wasteful) Xwindow environment.
________________________________
Rob
Rob
-
42
Actually irrlicht doesn't support headless usage out of the box.
But, as usual there's a work around and i think its really simple to implement. All you will have to do is give the possibility to select the NullDevice ( besides OpenGL and DirectX)
most likely you have t change in the files CIrrDeviceLinux.cpp /CIrrDeviceWin32.cpp and provide the possibility to select CVideoNull as video::EDriverType
hope this helps
42
But, as usual there's a work around and i think its really simple to implement. All you will have to do is give the possibility to select the NullDevice ( besides OpenGL and DirectX)
most likely you have t change in the files CIrrDeviceLinux.cpp /CIrrDeviceWin32.cpp and provide the possibility to select CVideoNull as video::EDriverType
hope this helps
42
-
Robomaniac
- Posts: 602
- Joined: Sat Aug 23, 2003 2:03 am
- Location: Pottstown, PA
- Contact: