Gunnar,
Texture was being correctly generated aside of positioning problem of the font
drawing. The problem was on vertex and texture coordinates. I was not taking
correctly into account left and right bearing of the fonts.
Thanks,
Regards,
Nuno
On 06 Nov 2014, at 12:15, Nuno Santos wrote:
Gunnar,
I will run your debugging suggestions.
Thanks,
Regards,
Nuno
On 05 Nov 2014, at 17:39, Gunnar Sletta wrote:
>
> On 04 Nov 2014, at 23:20, Nuno Santos wrote:
>
>> Gunnar,
>>
>> I have implemented a really basic node for text rendering on scene graph
>> based on my previous approa
On 04 Nov 2014, at 23:20, Nuno Santos wrote:
> Gunnar,
>
> I have implemented a really basic node for text rendering on scene graph
> based on my previous approach but adapter to Qt API. The setup code is below.
> I can already draw a string on OpenGL but the characters are not smooth at
> s
Gunnar,
I have implemented a really basic node for text rendering on scene graph based
on my previous approach but adapter to Qt API. The setup code is below. I can
already draw a string on OpenGL but the characters are not smooth at small
sizes with a pixel font. With a non pixel font, even at
On 03 Nov 2014, at 17:15, Nuno Santos wrote:
> Hi,
>
> I’m trying to render text on scene graph. My strategy consists in creating a
> texture with all the glyphs and then draw a specific subset of the texture
> for each glyph. I have already done this for iOS and Android native API’s but
> n
Hi,
I’m trying to render text on scene graph. My strategy consists in creating a
texture with all the glyphs and then draw a specific subset of the texture for
each glyph. I have already done this for iOS and Android native API’s but now,
i’m porting my app to Qt/Qml and need to do it on scene