Search found 8 matches

by sirbabyface
Wed Jun 15, 2011 08:40
Forum: Modifications / Integrations / Customisations
Topic: [Solved] Buttons not rendering in the correct size
Replies: 3
Views: 3949

Re: [Solved] Buttons not rendering in the correct size

Do you dynamically set the size of the button to match the texture size? I am fairly certain that CEGUI does not (normally) do this. We do dynamically set the size of the button, depending on the size of the image. For each button we create a new Imageset. Below is the code we use (more or less, si...
by sirbabyface
Tue Jun 14, 2011 13:39
Forum: Help
Topic: [SOLVED] Problem loading PNG from an Imageset
Replies: 3
Views: 2241

[SOLVED] Re: Problem loading PNG from an Imageset

Previous problem solved, but now it stops when showing the QWidget. But that is another thread.

Thanks
by sirbabyface
Tue Jun 14, 2011 12:57
Forum: Help
Topic: [SOLVED] Problem loading PNG from an Imageset
Replies: 3
Views: 2241

Re: Problem loading PNG from an Imageset

The texture power of 2. But it is too big (1024x2048), so this might be the problem. I'll have to split the texture in 2 files.

I'll try and then post news.
by sirbabyface
Tue Jun 14, 2011 12:38
Forum: Help
Topic: [SOLVED] Problem loading PNG from an Imageset
Replies: 3
Views: 2241

[SOLVED] Problem loading PNG from an Imageset

I've project that uses CEGUI + Ogre + Qt. It is working if in the development machines. When using on a Virtual Machine (VBox) and in other computers (not all of them) I get an error. What I get in the log file (last lines from the log show the problem): [13:16:00:017] [MainApplication::loadTranslat...
by sirbabyface
Thu Jun 09, 2011 09:57
Forum: Modifications / Integrations / Customisations
Topic: [Solved] Buttons not rendering in the correct size
Replies: 3
Views: 3949

Re: [Solved] Buttons not rendering in the correct size

The problem has that the original image had 129x128 pixels instead of 128x128.

since the image it is not power of 2, in some graphics cards, there are problems. so this is solved now.

I decided to post this, since others might have similar problems.
by sirbabyface
Thu Jun 09, 2011 09:56
Forum: Modifications / Integrations / Customisations
Topic: [Solved] Buttons not rendering in the correct size
Replies: 3
Views: 3949

[Solved] Buttons not rendering in the correct size

Hi, I've some CEGUI buttons created in C++ to use in an application Qt + Ogre + CEGUI. I just use a single image for each button, instead of creating a big atlas Png, since currently we are still chaning images and it is easier for us to have single images that we can quickly replace. I've tested in...
by sirbabyface
Tue Jun 07, 2011 23:11
Forum: Modifications / Integrations / Customisations
Topic: [SOLVED] GUISheet size
Replies: 3
Views: 3607

Re: GUISheet size

Thanks a lot. That solved the problem. We will be releasing the product for MacStore and Windows soon. It should also run on Linux, but we didn't made test in Linux yeat. The software has been released in the past, but we are doing a new version, mainly with a full recode of the engine. Little Mozar...
by sirbabyface
Tue Jun 07, 2011 10:11
Forum: Modifications / Integrations / Customisations
Topic: [SOLVED] GUISheet size
Replies: 3
Views: 3607

[SOLVED] GUISheet size

Hi, I'm developing a window application, using Qt + Ogre + CEGUI. The application is almost ready, but there is a problem with the position of some CEGUI elements. All CEGUI elements are created in C++ code. I also create the GUISheet in C++. This is how we create the GuiSheet: CEGUI::WindowManager&...

Go to advanced search