Search found 11 matches

by HyperIris
Thu Sep 21, 2006 14:45
Forum: Modifications / Integrations / Customisations
Topic: CEGUI east language display optimized arithmetic
Replies: 5
Views: 4696

Due to some reason I decided delete the implement code.
I feel shame, but I have not choice.

Forgive me, I have no choice.
by HyperIris
Wed Sep 20, 2006 08:38
Forum: Modifications / Integrations / Customisations
Topic: nCEGUI bug fix
Replies: 0
Views: 2265

nCEGUI bug fix

Nebula2 is a nice OpenSource 3D engine and nCEGUI is a adapter to join CEGUI with Nebula2. But nCEGUI has some bug in it, here are the fixes: 1 In nceguiserver_main.cc add: void nCEGUIServer::Render() { nGfxServer2::Instance()->Clear(nGfxServer2::DepthBuffer, 0,0,0,0, 1, 0&#...
by HyperIris
Wed Sep 20, 2006 08:29
Forum: Modifications / Integrations / Customisations
Topic: CEGUI east language display optimized arithmetic
Replies: 5
Views: 4696

5 The MRU class. We are nearly the end point, but here is the mru table problem. MRU records all commited codepoints and the their priorities For example, when codepoint A commit to that MRU table, MRU tries find whether it already in table, if so, codepoint's priorities--, or find space in table an...
by HyperIris
Wed Sep 20, 2006 07:59
Forum: Modifications / Integrations / Customisations
Topic: CEGUI east language display optimized arithmetic
Replies: 5
Views: 4696

4. In CEGUIFreeTypeFont.h add:

Code: Select all

public:
   virtual void rasterize (utf32 codepoint);


In CEGUIFreeTypeFont.cpp, we need implemen this override rasterize function.

when rasterize, we use MRU help us to update the texture.
by HyperIris
Wed Sep 20, 2006 07:51
Forum: Modifications / Integrations / Customisations
Topic: CEGUI east language display optimized arithmetic
Replies: 5
Views: 4696

3. Modify Font classes.

We need a 512x512 cache texture, and we init it at Font class.
by HyperIris
Wed Sep 20, 2006 07:33
Forum: Modifications / Integrations / Customisations
Topic: CEGUI east language display optimized arithmetic
Replies: 5
Views: 4696

CEGUI east language display optimized arithmetic

I'm sorry, make you long wait and my poor English. Here is the CEGUI east language display optimized arithmetic. I don't know why I cann't access Mantis tracker (http://mantis.cegui.org.uk/), so I decided post it here. 1. In class Texture (CEGUITexture.h) add: public: virtual void updateFromMemory&#...
by HyperIris
Fri Aug 11, 2006 09:59
Forum: Modifications / Integrations / Customisations
Topic: 0.5.0 Chinese Font Demo
Replies: 3
Views: 4379

I didn't run the demo yet, but the screenies look great :) @HyperIris: Please feel free to submit a patch against the code (in unified diff form please - no complete files), and we'll review it for possible inclusion. You can submit patches on the Mantis tracker CE OK, I'll submit the patch when I ...
by HyperIris
Fri Aug 11, 2006 05:10
Forum: Modifications / Integrations / Customisations
Topic: 0.5.0 Chinese Font Demo
Replies: 3
Views: 4379

:D

I had alreay fix the slow and memory usage problem, and I wish I could submit modified code to svn depository later if administrator accept it.

But these days I 'm so busy with my job, please wait me some more time, may be two weeks.
by HyperIris
Thu Aug 10, 2006 08:59
Forum: Modifications / Integrations / Customisations
Topic: So Crazy Memory Used, plz Help.
Replies: 4
Views: 5057

I had almost finish it.

But still some bug in dynamic font sizing, I'll fix it.

Only one 512x512 texture being used.

Image
by HyperIris
Mon Aug 07, 2006 07:21
Forum: Modifications / Integrations / Customisations
Topic: So Crazy Memory Used, plz Help.
Replies: 4
Views: 5057

:shock:

I'm trying to optimize the arithmetic.

May be only need a 512x512 or a 1024 x 1024 texture in general font size.

Give me some time and wait my result.

:D
by HyperIris
Fri Aug 04, 2006 02:53
Forum: Modifications / Integrations / Customisations
Topic: So Crazy Memory Used, plz Help.
Replies: 4
Views: 5057

So Crazy Memory Used, plz Help.

I'm using 0.5 svn head, and I'm trying East language display. When I use few characters, it seems OK, but if I display some more different characters(about 300 ~ 500 chinese characters), it's very slow and so crazy memory used ( about 70MB+). I had add a debug trace at void FreeTypeFont::rasterize (...

Go to advanced search