Search found 22 matches

by fedyakin
Mon Feb 13, 2012 21:07
Forum: CEGUI Library Development Discussion
Topic: GlobalEventSet::fireEvent performance
Replies: 3
Views: 9883

Re: GlobalEventSet::fireEvent performance

As you suggest, disabling the global event set seems to be safe. We weren't using the global event set, so I just commented out the call to GlobalEventSet::fireEvent in EventSet::fireEvent. I've entered a report in mantis, and included a link back to this thread. I also entered a report for the only...
by fedyakin
Fri Feb 10, 2012 21:57
Forum: CEGUI Library Development Discussion
Topic: GlobalEventSet::fireEvent performance
Replies: 3
Views: 9883

GlobalEventSet::fireEvent performance

We've been spending some time optimizing our engine's performance. Using Intel's sampling profiler, we found that GlobalEventSet::fireEvent is the fourth biggest hotspot in our engine. After some investigation, it turns out that the cost of this function is in the string concatenation that builds th...
by fedyakin
Sat Dec 04, 2010 19:37
Forum: Modifications / Integrations / Customisations
Topic: Derivation of cegui projection matrix
Replies: 2
Views: 3484

Re: Derivation of cegui projection matrix

I have made a little progress on getting things working in stereo 3d. There is a note in nvidia's best practices paper ( http://developer.download.nvidia.com/whitepapers/2010/NVIDIA%203D%20Vision%20Automatic.pdf ) that states that scissor clipping is not performed per eye. I happened to notice that ...
by fedyakin
Fri Nov 19, 2010 05:46
Forum: Modifications / Integrations / Customisations
Topic: Derivation of cegui projection matrix
Replies: 2
Views: 3484

Derivation of cegui projection matrix

Hello, I've been trying to reverse engineer the values in the projection matrix created in OgreRenderTarget::updateMatrix and failing. There are a few things that have me stumped so far. 1) The location of non-zero values in the projection matrix don't match those in my (very limited) understanding ...
by fedyakin
Tue Mar 16, 2010 20:59
Forum: Help
Topic: Render to texture questions
Replies: 6
Views: 7090

Re: Render to texture questions

Thanks a lot for the example, it helped tons. What you posted didn't work for me; I believe the combination of Ogre 1.7 RC1, direct3D renderer, and octree scene manager behaves differently then what you tested with. What happens with this combination is that CEGUI::System::renderGUI results in a cal...
by fedyakin
Fri Mar 12, 2010 21:44
Forum: Help
Topic: Render to texture questions
Replies: 6
Views: 7090

Re: Render to texture questions

Hi Thanks for the quick response. What I was planning on doing was during interface creation programmatically creating various images (character previews, animated textures, etc). The names of these images would then be available to interface developers to use anywhere they wanted in the actual inte...
by fedyakin
Fri Mar 12, 2010 02:04
Forum: Help
Topic: Render to texture questions
Replies: 6
Views: 7090

Render to texture questions

Hi, I am trying to make a window which shows a preview of a player's character. My current approach is to create a scene containing that character and render it to a texture. I then take that texture and create a CEGUI imageset and image from it. The last step is to set the Image property of a Stati...
by fedyakin
Fri Oct 09, 2009 03:47
Forum: Help
Topic: A few issues upgrading to v0.7
Replies: 20
Views: 10475

Re: A few issues upgrading to v0.7

Hi,
The good news is that I think your second and fourth issues have been fixed in the cegui svn repository. See viewtopic.php?f=10&t=4357 and http://www.cegui.org.uk/mantis/view.php?id=304 respectively. The bad news is I have no insight on your other problems.
by fedyakin
Wed Sep 30, 2009 04:21
Forum: Help
Topic: how to not handle mouse event?
Replies: 3
Views: 2470

Re: how to not handle mouse event?

The newest version of cegui (0.7.0) modified how events are marked as handled. The changes are described in the "Events and input handling changes" section of http://www.cegui.org.uk/docs/current/porting6to7.html. If you want mouse input that is not over a ui element to be marked as not ha...
by fedyakin
Fri Sep 25, 2009 18:47
Forum: Help
Topic: [SOLVED]Resizing a FrameWindow causes slowdowns
Replies: 19
Views: 8912

Re: Resizing a FrameWindow causes slowdowns

I was using Direct3d; I tried it with the OpenGL renderer and it still ran fine for me. This machine has a fairly high-end video card though...
by fedyakin
Fri Sep 25, 2009 17:29
Forum: Help
Topic: [Solved] Framewindow inner rect problem
Replies: 6
Views: 6333

Re: Framewindow inner rect problem

That was fast, thanks :)
by fedyakin
Fri Sep 25, 2009 02:10
Forum: Help
Topic: [SOLVED]Resizing a FrameWindow causes slowdowns
Replies: 19
Views: 8912

Re: Resizing a FrameWindow causes slowdowns

Since I'm using Ogre (1.6.1) and cegui 0.7, I figured I would try out your layout file and see if I experienced the same problems. Even in debug build, I saw no noticeable effect on frame rate while resizing the window. If the drop in framerate is large enough, you could try breaking in the debugger...
by fedyakin
Fri Sep 25, 2009 01:52
Forum: Help
Topic: [Solved] Framewindow inner rect problem
Replies: 6
Views: 6333

Re: Framewindow inner rect problem

I believe I have figured out how to reproduce the problem. It occurs if the framewindow is never sized while visible. In the layout file above, the framewindow's 'Visible' property is set to false, and the window is shown in response to a key press. In case it helps, the following snippet after load...
by fedyakin
Thu Sep 24, 2009 20:58
Forum: Help
Topic: [Solved] Framewindow inner rect problem
Replies: 6
Views: 6333

Re: Framewindow inner rect problem

The interface should be rendering to a viewport target (its using the default constructor of CEGUI::OgreRenderer). I think the frame window is rendering to a texture though because AutoRenderingSurface is true for FrameWindow in the looknfeel file. Changing that property had no effect. The window is...
by fedyakin
Thu Sep 24, 2009 18:40
Forum: Help
Topic: [Solved] Framewindow inner rect problem
Replies: 6
Views: 6333

[Solved] Framewindow inner rect problem

I'm experiencing a problem with frame windows that appears to be inner rect related. When the window is first show, it does not appear to account for the titlebar when calculating the inner rect. If the window is moved and then deactivated the area is closer to correct. Resizing it results in the ex...

Go to advanced search