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.


Messages - Arch_Shift

Pages: [1]
1
General / Re: Build fails; 'undefined reference to..'
« on: October 21, 2013, 04:02:33 am »
Can you post the command that it's using to compile?

Example:
Code: [Select]
g++ main.o -o main -ilib/sfml/include -Llib/sfml/lib -lsfml-graphics -lsfml-window -lsfml-system
A lot of the time, the order of the build command is very important, especially when linking. All linking flags should go after the rest of the command.

2
Graphics / Re: Using fonts throught SFML in Opengl
« on: September 25, 2013, 02:38:48 am »
A quick note: While GL_QUADS is still enabled in SFML, it (as well as GL_POLYGON) is deprecated in OpenGL 3.1 and has already been removed from the library itself from version 3.2 on. It is probably best to try to move away from using GL_QUADS and instead use triangles.

3
Graphics / Re: Antialiasing of pixel art.
« on: September 21, 2013, 11:17:11 pm »
I was thinking more like "Add support for FXAA / MSAA"  :P

4
Graphics / Re: Antialiasing of pixel art.
« on: September 21, 2013, 10:21:57 pm »
About what?
I was thinking of a feature request for 2.x.

Quote
I have no idea what algorithms exist, and if there is even one that could give you the expected results
I know that Allegro 5 has a multisampling setting that allowed me to antialias blown-up pixel art. I'll try and look into that and find out what I can.

5
Graphics / Re: Antialiasing of pixel art.
« on: September 21, 2013, 07:41:31 pm »
Should I open up an issue on GitHub? (or do you prefer them to be on this forum?)

6
Graphics / Antialiasing of pixel art.
« on: September 21, 2013, 07:09:13 am »
Let's say I have some 8x8 px pixel art, and I want to rotate and scale it. This is fine; I know how to do that. However, since it is pixel art, I can't use setSmooth(true) because it would obviously become a blurry mess. If I don't setSmooth, though, it is not antialiased, which would make it look like crap when rotated (at small sizes).

Is there any way to antialias these pixel art images without manually blowing them up in GIMP and then downscaling them to the size I need in SFML?

Pages: [1]