Search found 14 matches
- Mon Apr 11, 2005 20:45
- Forum: Modifications / Integrations / Customisations
- Topic: Load Times & showing a "loading graphic"
- Replies: 5
- Views: 4771
Re: Load Times & showing a "loading graphic"
The load times are probably due to the texture creation for the imagesets. If you are using the Ogre-Renderer, you can most likely use it's ResourceManager callback functionality to get an update on each resource (read texture) load. If you then change your scene (that is loading screen) accordingly...
- Sat Apr 02, 2005 11:17
- Forum: Modifications / Integrations / Customisations
- Topic: OpenGL renderer : conflict with glBindBuffer() & glBufferDat
- Replies: 1
- Views: 2366
Re: OpenGL renderer : conflict with glBindBuffer() & glBuffe
Hi, you never "unbind" the buffers you use, so CEGUI's draw call tries to use the pointer supplied as an offset into your buffers (VBOs). After you are done drawing with your buffers, reset GL to "normal" vertex/index array mode by doing: glBindBuffer(GL_ARRAY_BUFFER_ARB, 0...
- Mon Mar 14, 2005 21:37
- Forum: Modifications / Integrations / Customisations
- Topic: Some questions, CEGUI 0.2.0
- Replies: 4
- Views: 3867
Re: Some questions, CEGUI 0.2.0
for your second question, this is the code I use to make a framewindow modal: bool keepActivated(const CEGUI::EventArgs & e) { ((CEGUI::WindowEventArgs*)&e)->window->activate(); return true; } //on initialization: myFramewindow->subscribeEvent( C...
- Wed Mar 09, 2005 11:11
- Forum: Modifications / Integrations / Customisations
- Topic: Subclassing TaharezLook widgets
- Replies: 3
- Views: 2575
Re: Subclassing TaharezLook widgets
I'm not quite sure if that would solve the problem, as when the linker tries to resolve the symbol registerFactory, it will still see the one in TaharezLook.lib and the one I put in one of my cpp files. So I guess the only way would be to have one TaharezLook lib (and dll) that provides all the widg...
- Tue Mar 08, 2005 21:23
- Forum: Modifications / Integrations / Customisations
- Topic: Subclassing TaharezLook widgets
- Replies: 3
- Views: 2575
Subclassing TaharezLook widgets
Hi, I'm currently trying to subclass Widgets from the TaharezLook and put then in second dll that is added as a second WindowSet to my GUIScheme, so I can use the derived widgets together with normal TL-Widgets. Now when I subclass widgets from TL, I have to include for example TLButton.h (and link ...
- Thu Jan 06, 2005 12:16
- Forum: Modifications / Integrations / Customisations
- Topic: How to change the graphisms ?
- Replies: 9
- Views: 3701
How to change the graphisms ?
For the Taharez buttons, you can use properties to set the image. This works both from code (take a look at setProperty(...) ) and XML. NormalImage, PushedImage, HoverImage, should be fairly clear. Syntax is the same as for image for StaticImage You also have to set UseStandardImagery to False in or...
- Thu Jan 06, 2005 12:15
- Forum: Modifications / Integrations / Customisations
- Topic: Setting a buttons images
- Replies: 19
- Views: 11870
Setting a buttons images
For the Taharez buttons, you can use properties to set the image. This works both from code and XML. NormalImage, PushedImage, HoverImage, should be fairly clear. Syntax is the same as for image for StaticImage You also have to set UseStandardImagery to False in order for this to work. Greetings, Ri...
- Tue Nov 09, 2004 09:56
- Forum: Modifications / Integrations / Customisations
- Topic: 3D scene on FrameWindow
- Replies: 5
- Views: 2607
3D scene on FrameWindow
Hi, just thought I would jump on that train. I'm trying to do the same thing, my problem is, that the Ogre::Texture object is hidden as a protected member inside Ogre::RenderTexture. I tried searching the Ogre-Forums but couldn't find anything. Has anybody already successfullly created a cegui image...
- Mon Sep 20, 2004 12:15
- Forum: CEGUI Library Development Discussion
- Topic: Patch for some TLButton-Properties
- Replies: 1
- Views: 3577
Patch for some TLButton-Properties
Hi, this small patch adds some properties to the Taharez Look Button. Namely: NormalImage, PushedImage, HoverImage, UseStandardImagery. this allows for using custom images on a per button basis. TextXOffset allows you to specify an offset to shift the text on the button in the x-direction. This is u...
- Mon Sep 20, 2004 11:44
- Forum: Modifications / Integrations / Customisations
- Topic: Performace Problems
- Replies: 8
- Views: 4979
Performace Problems
I don't think it's that high priority either. The thought just came up, but you are right, this is something to consider later once the desired features are all in there.
Again, this project is just great!!!
Rincewind
Again, this project is just great!!!
Rincewind
- Sun Sep 19, 2004 17:30
- Forum: Modifications / Integrations / Customisations
- Topic: Performace Problems
- Replies: 8
- Views: 4979
Performace Problems
Just a thought about the full-redraw. How about testing the all windows with intersection with the button that changed state. You could then mask off everything else with the stencil-buffer and just redraw those. I haven't looked too closely how CEGUI does it currently, so it might be a stupid idea....
- Fri Sep 17, 2004 15:07
- Forum: Modifications / Integrations / Customisations
- Topic: Performace Problems
- Replies: 8
- Views: 4979
Performace Problems
Ok, got the Release Build running (always stupid if you forget to make all changes to the build-config to all targets right away, takes ages to figure out what changed). So, now I get about 230 fps in when not doing a thing and it drops to about a 180 fps when moving over the buttons. So it works no...
- Fri Sep 17, 2004 09:13
- Forum: Modifications / Integrations / Customisations
- Topic: Performace Problems
- Replies: 8
- Views: 4979
Performace Problems
Wow, this is probably the fastest help-forum I've ever seen! Thanks for the fast reply. Stupid me was of course in debug build, so right now, I'm compiling everything as release (takes a while for Ogre :? ). For now, here's some more info: OS is Windows XP SP2 Pro running on an Athlon XP 2200+, Rade...
- Thu Sep 16, 2004 23:12
- Forum: Modifications / Integrations / Customisations
- Topic: Performace Problems
- Replies: 8
- Views: 4979
Performace Problems
Hi, I've created a GUI using the Taharez Look with several buttons. Renderer is Ogre. When I move the mouse over the column of buttons, the fps slow down to a crawl of 20 (usually I get about 100), and as a result the mouse reacts really slow. This doesn't happen if I just move the mouse but stay in...