Search found 42 matches

by Montred
Mon Jan 21, 2013 02:07
Forum: Modifications / Integrations / Customisations
Topic: Geometry buffers usage to draw custom geometry?
Replies: 2
Views: 8828

Geometry buffers usage to draw custom geometry?

I want to draw custom geometry. I have to draw a lot of textured rectangles on screen and their positions may change in every frame. Using a cegui window for each is overkill. I want to send them to the GPU in the same batch. (in case it matters, I'm on 0.7.9, using Ogre3D 1.8.1 with D3D9.) I've sea...
by Montred
Sun Jan 20, 2013 17:41
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [CLOSED] Performance problem: Font loading & resizing
Replies: 31
Views: 21336

Re: [CLOSED] Performance problem: Font loading & resizing

Also, I will add that fonts do (or may) use video memory - the glyphs are eventually all rendered to textures, so if the textures containing those glyphs are in video memory, then exhausting video memory is theoretically possible. But only those that are used in text right? What I'm concerned here ...
by Montred
Fri Jan 18, 2013 19:48
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

Well, here's the contribution: https://bitbucket.org/montred/cegui/commits/350bac4c65be8514946f21308e22a9e0 The wiki said to contact you at this point. I did also read that you are now happy to accept pull requests, but for some reason Bitbucket doesn't let me do a pull request to your project (only...
by Montred
Fri Jan 18, 2013 18:39
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

So I'm done with this and I realized the following. It's impossible to have an infinite cycle of fallbacks because the loading sequence will fail. The way I did it (I think the logical way, correct me if you disagree) you need to load the fallback font before loading a font that uses that font as fa...
by Montred
Fri Jan 18, 2013 16:28
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [CLOSED] Performance problem: Font loading & resizing
Replies: 31
Views: 21336

Re: [CLOSED] Performance problem: Font loading & resizing

Ok, just wondering if there was a general problem with fonts that needed addressing while I was at it :) The only problem I see right now with the way fonts are handled is that in a multiplayer game somebody could craft a 256 characters chat message that would contain a glyph from every page. This c...
by Montred
Wed Jan 16, 2013 12:52
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

Well, that was easier than I thought. This is Neuton, with a CJK font as fallback, in the same StaticText: http://i.imgur.com/FxIEY.png I had to put the lookup in getGlyphData() as opposed to findFontGlyph(). This ensures that the pages are rasterized as needed and also allows us to do the lookup in...
by Montred
Tue Jan 15, 2013 16:08
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [CLOSED] Performance problem: Font loading & resizing
Replies: 31
Views: 21336

Re: [CLOSED] Performance problem: Font loading & resizing

Will try, thanks!

Slightly off-topic, but may I ask what are the expected font changes in 2.0? I didn't find anything on the forum about it.
by Montred
Tue Jan 15, 2013 15:14
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

By the way, any preference on how to handle the infinite recursion? Because it sounds like you want to allow cascading fallbacks. For example you could have a decorative ANSI font, another slightly less ugly font with arabic and cirillic, and then another super ugly font that also has CJK. So maybe ...
by Montred
Tue Jan 15, 2013 14:17
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

Cool! Thanks for the analysis. Will get to it in a few weeks most likely.
by Montred
Tue Jan 15, 2013 14:13
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [CLOSED] Performance problem: Font loading & resizing
Replies: 31
Views: 21336

Re: [CLOSED] Performance problem: Font loading & resizing

CrazyEddie wrote:Some additional testing has shown some issues with this modification - so if you're experiencing those issues, you'll have to bear with me until they get fixed :oops:


Ah. I just tested it and was gonna report that the delay was gone, though I didn't test rendering yet. No hurry :D
by Montred
Tue Jan 15, 2013 14:07
Forum: Official Announcements, Works in Progress, and Future Directions
Topic: CEGUI 0.7.9 is Released!
Replies: 2
Views: 14376

Re: CEGUI 0.7.9 is Released!

Hey, it seems 0.7.9 doesn't build with Ogre if you don't use RTSS. Notice the define below. I build Ogre without RTSS and that isn't defined for me. #ifdef RTSHADER_SYSTEM_BUILD_CORE_SHADERS /** Sets if fixed pipeline rendering is enabled on the system. */ void setFixedPipelineEnabled(bool enabled);...
by Montred
Tue Jan 15, 2013 11:18
Forum: Bug Reports, Suggestions, Feature Requests
Topic: [CLOSED] Performance problem: Font loading & resizing
Replies: 31
Views: 21336

Re: [CLOSED] Performance problem: Font loading & resizing

I looked into what I thought would be the best way to do this mod this morning, and decided that I could implement it easier than I could try to explain it :lol: I've 99% finished that, and later will either commit it, or post a patch here for others to try out first - not decided yet. CE. Awesome,...
by Montred
Fri Jan 11, 2013 21:14
Forum: Help
Topic: Compiling CEGUI all in a dll
Replies: 3
Views: 2249

Re: Compiling CEGUI all in a dll

Check the "C++/code generation/runtime library" value

Should be the same for the static libs than for the dll.
by Montred
Mon Jan 07, 2013 16:38
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Re: Font fallback support

I'll try and post something regarding this (and for the other topic) by/over next weekend (sorry that I'm slow dealing with such things :P) Lol, don't worry. You are actually the most responsive open source maintainer that I've come across, and I've been interacting with open source project for a d...
by Montred
Mon Jan 07, 2013 03:56
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Font fallback support
Replies: 16
Views: 24274

Font fallback support

A feature that would be very useful (i'd say essential) to have is the concept of fallback fonts. Android for example has a fallback font that has all the unicode range that is used whenever a certain font doesn't contain a certain glyph. That way you can use a nice decorative font of your choosing ...

Go to advanced search