Hi !
First of all sorry for my english mistakes .
I followed https://www.youtube.com/watch?v=VaD-MQJLtWk (CEGUI 0.8.2 - From Source To Binaries with MSVC++ 2010) to build cegui 0.87 and it worked, but when I launch the SampleFramework with IrrlichtRenderer it crashes (it's ok with opengl).
I tried to identify the problem and I found that it happens at SpaceBackground.jpg loading at
Texture* res = sys->getImageCodec().load(texFile, this);
And the exception is
CEGUI::FileIOException in function 'class CEGUI::Texture *__thiscall CEGUI::IrrlichtImageCodec::load(const class CEGUI::RawDataContainer &,class CEGUI::Texture *)' (Z:\cegui-0.8.7\cegui\src\RendererModules\Irrlicht\ImageCodec.cpp:58) : Irrlicht failed to create irr::video::IImage from file data.
It sounds very weird because the DriveIcons.png or BackgroundSampleBrowser.jpg loading works fine.
The only difference I see between SpaceBackground.jpg and the others is its size, the image is bigger. (I don't think it's a memory problem, i've 8gb of RAM)
Can you help me to resolve this issue ?
Thanks !
Sampleframework fails with IrrlichtRenderer
Moderators: CEGUI MVP, CEGUI Team
Re: Sampleframework fails with IrrlichtRenderer
@Elekhyr: Irrlicht version?
Re: Sampleframework fails with IrrlichtRenderer
YaronCT wrote:@Elekhyr: Irrlicht version?
1.8.3
Re: Sampleframework fails with IrrlichtRenderer
@Elekhyr: Since the Irrlicht renderer isn't popular it hasn't been tested by the cegui team recently, so it's no wonder if it doesn't work. I'll give it a look.
Re: Sampleframework fails with IrrlichtRenderer
I investigated this some weeks ago and you need to disable these specific samples. The Irrlicht internal image codec cannot parse some of the image files and therefore fails loading the sample.
Re: Sampleframework fails with IrrlichtRenderer
@lucebac: That can't b our formal solution. Either it's fixed inside Irrlicht or we make the samples use another image codec. I'm still investigating.
Re: Sampleframework fails with IrrlichtRenderer
@Elekhyr: Indeed there's a bug in Irrlicht - it fails to identify jpeg files correctly from their signature. I'll submit a patch to Irrlicht. Till then I can send u a patch I've made if you're interested.
Re: Sampleframework fails with IrrlichtRenderer
@Elekhyr: Note, though, that the Irrlicht renderer still doesn't work perfectly - I still need to investigate, but that will prolly take more time.
Re: Sampleframework fails with IrrlichtRenderer
I've submitted a patch to Irrlicht, which after some changes was merged. So any1 having the same problem - plz just use the latest revision from Irrlicht 1.8 branch and u should b good.
Re: Sampleframework fails with IrrlichtRenderer
Hi,
I've had the same Irrlicht loading problem too...Can I write a cegui set with opengl 3 and insert it in Irrlicht?
Michael
I've had the same Irrlicht loading problem too...Can I write a cegui set with opengl 3 and insert it in Irrlicht?
Michael
Re: Sampleframework fails with IrrlichtRenderer
Hi,
An interesting problem...the examples framework for cegui-0.8.7 with Irrlicht as renderer seems to work with
Irrlicht 1.7.3 libIrrlicht.dll and not with Irrlicht 1.8.4.
Does anyone know if 1.8.4 bugs are on the table with cegui-1.0.0 and/or with Irrlicht 2.0.0 for the future.
Thanks,
Michael
An interesting problem...the examples framework for cegui-0.8.7 with Irrlicht as renderer seems to work with
Irrlicht 1.7.3 libIrrlicht.dll and not with Irrlicht 1.8.4.
Does anyone know if 1.8.4 bugs are on the table with cegui-1.0.0 and/or with Irrlicht 2.0.0 for the future.
Thanks,
Michael
Re: Sampleframework fails with IrrlichtRenderer
This is not part of our immediate plans since we have much more important things to do and our time is very limited, since we all are employed because we need to make money to survive
If you want to add this support it would be greatly appreciated and I will review all your code if you want if you add them as pull request.
If you want to add this support it would be greatly appreciated and I will review all your code if you want if you add them as pull request.
CrazyEddie: "I don't like GUIs"
Re: Sampleframework fails with IrrlichtRenderer
I think you can skip the sample and go straight to your code because it is working for me without issues (both Linux on Windows).
Check out my engine here: http://irrlicht.sourceforge.net/forum/v ... =6&t=52165
Check out my engine here: http://irrlicht.sourceforge.net/forum/v ... =6&t=52165
Who is online
Users browsing this forum: No registered users and 26 guests