Search found 15 matches

by wilsonwing
Mon May 21, 2012 03:07
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED]Window resize failed
Replies: 14
Views: 13202

Re: [SOLVED]Window resize failed

Hi, CE.
I am sorry to provide a wrong bug report.
And find out to be my fault not using Ogre and CEGUI correctly.
:oops:

Anyway, Thank you.
by wilsonwing
Thu Mar 22, 2012 14:25
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED]Window resize failed
Replies: 14
Views: 13202

Re: Window resize failed

I have made a mantis ticket here: http://www.cegui.org.uk/mantis/view.php?id=707 If you are able to come up with a minimal example, please attach the source to that there, and feel free to add any other diagnostic information too. CE. hi, CE. Sorry for the very late code. ( it has been more than a ...
by wilsonwing
Sat Jan 28, 2012 11:46
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED]Window resize failed
Replies: 14
Views: 13202

Re: [SOLVED]Window resize failed

You've marked the topic as [SOLVED], and now I'm confused as to whether I'm supposed to be checking this out or not :? Please confirm one way or the other so I do not waste time hunting for issues that may not exist, thanks ;) CE. Hi, CE. It is not solved. Just want to end this topic. Sorry if I ma...
by wilsonwing
Sun Jan 22, 2012 15:17
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

You can simply enable the root CEGUI GUI sheet's AutoRenderingSurface, that way it will render to a render texture. You can then get that surface (one of the methods of CEGUI::Window) and static cast it and get the underlying Ogre Texture. To use that with Ogre should be easy then... Hi. Thanks for...
by wilsonwing
Sun Jan 22, 2012 03:22
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

I tried these, no help :? Got all black (or alpha = 0) on this one: wnd = wmgr->getWindow((CEGUI::utf8*)"RoomWnd_btnStart"); wnd->setUsingAutoRenderingSurface(true); wnd->invalidate(false); unsigned int s = 64; CEGUI::Size size(s,s); CEGUI::Texture* d_texture = &CEGUI::System::getSingl...
by wilsonwing
Sat Jan 21, 2012 03:53
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED]Window resize failed
Replies: 14
Views: 13202

Re: Window resize failed

Hello, CE. Thanks for ypur reply first, and also thanks to your good CEGUI, I really like it. :D Do the resize notifications appear in the CEGUI log? Yes, as in the log, I resize the window from originally 792x566to 1024x708, than resize again back to 792x566. (The window is 800x600 and 1024x768...I...
by wilsonwing
Sat Jan 21, 2012 03:22
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

I try these code, and failed. I got a NULL pointer here ==> CEGUI::Texture* pCETex = buf.getActiveTexture(); pCETex is NULL. Not even reach the OgreTexture part yet. CEGUI::WindowManager *wmgr = CEGUI::WindowManager::getSingletonPtr(); CEGUI::Window *wnd; wnd = wmgr->getWindow((CEGUI::utf8*)"Me...
by wilsonwing
Wed Jan 18, 2012 14:09
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

Thanks for the explain. It is quite clear now. also you may think to just change window text and re-render window instead of having lots of windows for each player Good idea! or also you may think about keeping all that health bars on ui side I've considered this method. But CEGUI on Ogre always ren...
by wilsonwing
Wed Jan 18, 2012 03:37
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

well, some kind of. geometry buffer has method GeometryBuffer::getActiveTexture() which return Texture (struct?) ptr, this ptr, i think, you could feed to loadFromMemory method of OgreTexture which perform some data copying related to ogre. I look into the API GeometryBuffer::getActiveTexture(), an...
by wilsonwing
Tue Jan 17, 2012 13:49
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

Re: How to draw CEGUI on Ogre Billboard?

not sure why you want draw each window separately... i'm don't use ogre, but generally speaking cegui provide fbo(preferable way) id, bind that fbo when draw ogre billboard texture, in case of 2 different render context you need to share lists(if opengl/windows) or mem copy between contexts. going ...
by wilsonwing
Tue Jan 17, 2012 08:38
Forum: Help
Topic: How to draw CEGUI on Ogre Billboard?
Replies: 12
Views: 9710

How to draw CEGUI on Ogre Billboard?

Hi, I am using CEGUI and Ogre. CEGUI works really good and helps me a lot. But I need some help on the following issue, can't find similar topic on forum or google. :( 1. Is it possible to draw single CEGUI::Window to Ogre billboard? I find this post http://www.cegui.org.uk/phpBB2/viewtopic.php?=10&...
by wilsonwing
Tue Jan 17, 2012 02:14
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED]Window resize failed
Replies: 14
Views: 13202

[SOLVED]Window resize failed

Hi, I am using 0.7.5 and still has the bug described in this post http://www.cegui.org.uk/phpBB2/viewtopic.php?f=5&t=4007&start=60#p20010 . Window resize failed.(Please see the video bellow) On my PC, screen resolution 1024x768: Program started at window size 800x600, no CEGUI problem, then ...
by wilsonwing
Tue Dec 20, 2011 09:36
Forum: CEGUI Library Development Discussion
Topic: The Development of CEGUI 0.7.x
Replies: 78
Views: 112986

Re: The Development of CEGUI 0.7.x

Hi, CE, I am using 0.7.5 and still has the bug described by CABAListic. Exactly the same bug. On my PC, screen resolution 1024x768: Program started at window size 800x600, no CEGUI problem, then press the maximize button on the top-right corner of the window. The window size is now 1024x768, CEGUI s...
by wilsonwing
Sun Nov 21, 2010 03:46
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED] get imageset bug
Replies: 2
Views: 3683

Re: [BUG] get imageset bug

Hi, Thanks for the fast reply. I've change my code and it works now. Sorry for giving a mistake bug report. This now works: CEGUI::ImagesetManager::getSingleton().create("Ancient.imageset"); CEGUI::Imageset& ImageSet = CEGUI::ImagesetManager::getSingleton().get("Ancient");
by wilsonwing
Sat Nov 20, 2010 05:18
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [SOLVED] get imageset bug
Replies: 2
Views: 3683

[SOLVED] get imageset bug

Hi, I am using CEGUI-SDK-0.7.4-vc8 And find this is a bug: CEGUI::ImagesetManager::getSingleton().create("Ancient.imageset"); CEGUI::ImagesetManager::getSingleton().get("Ancient.imageset"); //<-- crash when trying to get imagetset or CEGUI::Imageset imgSet = CEGUI::ImagesetManage...

Go to advanced search