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 - Phanoo

Pages: 1 ... 3 4 [5] 6
61
Feature requests / Re: Fill method for Image ?
« on: August 24, 2016, 02:30:49 pm »
SFML is inefficient because lot of parts of it are bloated with getters/setters and other high-overhead boilerplate...
Directly accessing arrays/members is so much cleaner and faster !

62
Feature requests / Re: Vulkan Support
« on: August 12, 2016, 09:46:24 am »
Despite the new versions, it seems that technically, SFML is stuck in 2005.

63
Feature requests / Re: scale(float factor)
« on: August 11, 2016, 04:49:17 pm »
nah. Overloads are what makes a library convenient and easy to use. Imagine in CSS if we had to specify all margins every time ? we would get bloatings everywhere :

.myclass{margin: 10px 10px 10px 10px}

instead of that, they were smart and overloaded this attribute to make clean shortcuts possible :

.myclass{margin: 10px}   = 10px for all directions
.myclass{margin: 10px 20px}   = 10px for top & bottom, 20px for left & right

imo, SFML should follow this practice : making life easy and clean for the developer who uses it. I liked SFML, but too much bad choices are made

64
Feature requests / Re: File drop
« on: August 11, 2016, 04:39:42 pm »
I suggest adding this functionnality, it's really needed for modern apps where you can drag-n-drop files instead of choosing them from the file explorer. But no problem it's probably too much work :)

65
Window / Re: resized window: how to smooth graphics ? (resampling)
« on: November 04, 2014, 09:10:33 pm »
You can draw to a fixed-size sf::RenderTexture and draw it to the window smoothed with a sprite.

Thank you that did the job perfectly

66
Window / Re: resized window: how to smooth graphics ? (resampling)
« on: October 31, 2014, 06:05:43 pm »
i'd like the whole screen to be anti-aliased when i maximize the window. just like when you resize a picture in photoshop/gimp.

Texture smoothing seems to do the job but the problem is that it breaks transparent color in textures (displays some artifacts...a bit of the transp color is displayed). I'd like to use the texture without smoothing, but to smooth the renderer (all render to the screen normally then resize and anti-alias the whole thing). Is it possible ?

I tried AA with contextSettings (value to 8 ) but it doesn't smooth, it seems it justs add some artifacts

67
Window / resized window: how to smooth graphics ? (resampling)
« on: October 31, 2014, 01:04:20 pm »
Hi

I have a SFML window, when i maximize it, the graphics are scaled to fit the screen with the nearest neighbor algorithm, which looks very bad when desktop resolution isnt a multiple of the window's native size.

Is there a way to force a better quality resampling? (like the one used for textures with smooth enabled?)

68
It just makes the code looks clearer, i think we need to have both like it's already the case for some methods (setPosition ? i'm not sure i can't verify now, but for some class i can pass either a Vector2f or two floats x and y)

69
Feature requests / Re: Enhanced Music Control
« on: October 30, 2014, 02:29:36 pm »
still no loop points available?

70
Feature requests / Re: Collision detection integration
« on: October 30, 2014, 02:27:30 pm »
Collision detection is useful even for multimedia.
Multimedia application can have animated effects that requires collisions, or even something as simple as a click on a button (collision between a box and a point - the mouse coordinates)

71
Feature requests / Set an object's color without creating a color object
« on: October 30, 2014, 02:09:31 pm »
A small wish for me:

Allow to set color to sprites/shapes without having to create a Color object.

example:
Sprite s;
s.setColor(200,200,200,100);

instead of
s.setColor(Color(200,200,200,100));

same with the RectangleShape constructor. Set directly its size, without having to create a vector2f object:  RectangleShape rect(10,10) instead of RectangleShape rect(Vector2f(10,10))

The small things that makes life easier :)

I like SFML's Oriented Object style , but sometimes it's a bit too heavy

72
Feature requests / Re: sf::Text::setTracking(int)
« on: October 11, 2014, 11:23:50 pm »
of course it's really useful. Why do you think all serious font libraries and languages (like CSS) or programs like GIMP or Photoshop does implement it?. same for a line-spacing function (line height). A pity that it's not already implemented. Same as text-formatting tags (italic, bold, underline, color...)

73
General discussions / Re: SFML 3 - What is your vision?
« on: October 07, 2014, 08:07:15 am »
My vision of SFML is a SFML that follows developer's needs ;D

74
Audio / Re: Audio crashes of exit
« on: May 10, 2014, 12:25:01 am »
windows XP is fine for my 1ghz cpu. fortunately it's not my main computer ;D

75
Audio / Re: Audio crashes of exit
« on: May 09, 2014, 08:24:36 pm »
Bump. I have the same problem

Pages: 1 ... 3 4 [5] 6