Yes, there are some patches, but not a clean solution how to handle the full Linux display name. Usually you have several structures to use, e.g. screen, window, ... This does not fit into the existing structure, so mandrav casted a string into the int and parsed it later on. The latest version simply passes several values to the createDevice function, but I'm not sure if that will work for all situations - say multiple desktops, xinerama, ...
bad news
I thought I have found a usefull gfx engine for my app
(i have an existing app using sdl and i just want to change the display (2d) stuff, leaf input and event handling untouched)
also the idea for an other app, where i would have to draw into a qt gl window, has died now
mandrav, patch ?
more info available?
i know the hardware where my app will run, maybe the patches are good enough for my need
is there mor stuff in irrlicht where api doc says that somethink works, and i just works on windows?
You can find the patch on my webpage. The second solution is found in the FAQ forum (or maybe even on the SF patch tracker).
I don't know if things only work on one platform. Usually all features are available on all platforms. But that's never for sure. E.g. FSAA does not work for OpenGL under Windows, but for all other hardware accelerated drivers on all platforms (Hmm, not sure for mac )
I have to reaktivate this old thread because I saw that in the newest version of irrlicht there is the option to run irrlicht based on SDL
to get it running on my linux pc I had to do a few steps
in makefile (irrlicht/source)
CPPFLAGS = $(CXXINCS) -DIRRLICHT_EXPORTS=1 -D_IRR_USE_SDL_DEVICE_
in COpenGLExtensionHandler.h
line 37, I added
#include <SDL/SDL_video.h>
(for SDL_GL_GetProcAddress )
for compiling the samples I added
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
to CPPFLAGS
and
-L/usr/lib -lSDL
to LDFLAGS
in the sample makefiles
thats all.
great
if it is not to complicated (and I can find som time to do it) I will try to enable irrlicht starting in a SDL window which I initialised myself.
maybe then I can mix ( and in future replace) my existing opengl grafics with new 3d stuff using irrlicht (which should bring better results:-)
(the app is not a game, but the user interface must be very eye candy)
Uhm, no idea :-( I only used Irrlicht+SDL once (with webgl). The main problem right now is that I haven't added an SDL2 port yet because I had planned to merge OGL-ES first (which then turned out not be not so easy). Which is missing most right now as SDL1 is hardly supported anymore.