I've noticed that the Irrlicht software renderers EDT_SOFTWARE and EDT_SOFTWARE2 don't render CEGUI. EDT_DIRECT3D8, EDT_DIRECT3D9, and EDT_OPENGL all render as expected.
Presently, I'm trying to figure out why this is by stepping through a bunch of unfamiliar code. By chance, is there anybody here who already knows the reason?
Thanks,
--- Kevin
Irrlicht software renderers don't render CEGUI
Moderators: CEGUI MVP, CEGUI Team
I thought about that possibility myself. But I would expect that if CEGUI were attempting to hook a 3d device and it failed to do so due to software rendering, it would throw an exception. But it silently does nothing at all. It runs happily while rendering nothing.
Still looking at it, but failing to find anything obvious (to me).
Thanks,
Kevin
Still looking at it, but failing to find anything obvious (to me).
Thanks,
Kevin
As far as I can tell, basically all CEGUI does is set up its quads by loading textures: ...and each frame draws each textured quad: I can't see any obvious reason this wouldn't work with the software renderers.
Thanks,
Kevin
Code: Select all
IrrlichtTexture* t = new IrrlichtTexture(this, device);
t->loadFromFile(filename, resourceGroup);
Code: Select all
driver->draw2DImage(texture,quad.dst,quad.src,0,colors,true);
Thanks,
Kevin
Who is online
Users browsing this forum: No registered users and 28 guests