Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - NaCl

Pages: [1]
1
System / Program Crash on toAnsiString
« on: November 04, 2014, 12:11:50 am »
Hi! I use the actual commit which seems to crahs randomly in function toAnsiString. I'm on Debian Testing btw.
It also has many "Invalid readsize 8" and brought my system near to crash after trying to inspect it further with valgrind.
Please infor me about the information that might missing.

2
General / GWEN Text gets cut off
« on: November 03, 2014, 01:30:40 am »
Hi!
I use GWEN for GUI rendering because it's the only library I somehow like to use, (I'm not used to code in html and css in a C++ app, thats kindof really ugly) but I really don't like how it is internally. :-\
The problem is, that text gets cut off for specific fonts at some point. For me its now the bottom and all letters which go down, like 'y' or 'g', get the under part cut off.
To render text it does this:
Code: [Select]
sf::Text sfStr(text, *pSFFont, pFont->realsize);
sfStr.move( pos.x, pos.y );
sfStr.setColor( m_Color );
m_Target.draw( sfStr );
So I think that it's Label class uses some kind of buffer to render the text into, as this code is totally fine with the same font just without GWEN.
Does somebody now a fix? I'm searching inside its source but its really hard to get through.

3
Graphics / FadeIn
« on: July 05, 2013, 09:26:55 pm »
Hi!
I'm asking for a fadeIn and for a fadeOut effect, of course how I could do that.
The problem is, that my background isn't regular and in some cases it is regular, but the alpha value is <255 so that a simple sprite wouldn't work.
It wouldn't be soooo hard*, if I wouldn't want to make it like this. A smooth fading from left->right and vice versa.

*I would code a class which inherits from sf::xyz and which would give me access to the letters, if possible. It was just an idea, I didn't checked if it would work or not.

Please give me suggestions!  :-\
Thanks! :)

Salt

4
Window / Fullscreen-Errors with sf::RenderTexture/sf::RenderWindow ?
« on: June 23, 2013, 01:29:09 am »
Hi!
I wonder why, but if I create a sf::RenderWindow(sf::VideoMode::getFullscreenModes()[0], "blabla", sf::Style::Fullscreen) together with a sf::Rendertexture, I get a 800 by 600 resolution, not a 1600 by 900 resolution. (sf::VideoMode::getFullScreenModules()[0] width: 1600 height: 900)
No scaling! I have no idea why it is 800x600 and not 1600x900... I mean, I have the Hardware to use such a sf::VideoMode! ._.
Some Information:
Code: [Select]
General Information :
Manufacturer : NVIDIA Co
Version : 4.3.0
Renderer : GeForce GT 44
Shading Language : 4.30
Acceleration : Yes, Hard

Texture Information :
Maximum Texture Size : 1
Maximum Texture Size Cub
Maximum Texture Size 3D
Draw Buffers : 8

Supported Resolutions:  http://pastebin.com/cyurwYXn

Thanks for help,
Salt

Pages: [1]
anything