Irrlicht SDL -- 2
Budget: $10 – $30 CAD
Was wondering if someone could get one of the examples working where Irrlicht can be rendered inside SDL.
https://github.com/netpipe/IrrlichtDemos/tree/master/GUIs/SDLIrrlicht
I just put a bunch in here thinking one of them used to work, cant remember which maybe only the joystick demo works but I am looking for the rendering version. should work on linux, also use 1.8.4 the SVN version had issues last checked with QT possibly others.
https://github.com/netpipe/IrrlichtDemos/blob/master/GUIs/SDLIrrlicht/irrlicht2SDL/screenshot.png
https://github.com/netpipe/IrrlichtDemos/tree/master/Apps/htmlgui
driver->setRenderTarget(rt, true, true, video::SColor(0,0,0,255));
driver->beginScene(true, true, SColor(255,100,101,140));
smgr->drawAll();
driver->endScene();
video::IImage* image = driver->createImageFromData(rt->getColorFormat(), rt->getSize(), rt->lock(), true, false);
rt->unlock();
driver->writeImageToFile(image,"Hello.bmp");
image->drop();
basically combine those examples together to render the saved Irrlicht surface in SDL using the joystick sound and renderer using a 2d surface and opengl cube with Irrlicht be modifiable with SDL aswell like movement using only one event system.
https://github.com/netpipe/IrrlichtDemos/tree/master/GUIs/SDLIrrlicht
I just put a bunch in here thinking one of them used to work, cant remember which maybe only the joystick demo works but I am looking for the rendering version. should work on linux, also use 1.8.4 the SVN version had issues last checked with QT possibly others.
https://github.com/netpipe/IrrlichtDemos/blob/master/GUIs/SDLIrrlicht/irrlicht2SDL/screenshot.png
https://github.com/netpipe/IrrlichtDemos/tree/master/Apps/htmlgui
driver->setRenderTarget(rt, true, true, video::SColor(0,0,0,255));
driver->beginScene(true, true, SColor(255,100,101,140));
smgr->drawAll();
driver->endScene();
video::IImage* image = driver->createImageFromData(rt->getColorFormat(), rt->getSize(), rt->lock(), true, false);
rt->unlock();
driver->writeImageToFile(image,"Hello.bmp");
image->drop();
basically combine those examples together to render the saved Irrlicht surface in SDL using the joystick sound and renderer using a 2d surface and opengl cube with Irrlicht be modifiable with SDL aswell like movement using only one event system.