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

Author Topic: Flood fill  (Read 3288 times)

0 Members and 1 Guest are viewing this topic.

Recruit0

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Flood fill
« on: August 23, 2010, 02:15:40 am »
Topic:

http://www.sfml-dev.org/forum/viewtopic.php?t=3037

Is support for this planned for SFML 2?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Flood fill
« Reply #1 on: August 23, 2010, 02:21:54 pm »
No :)
Laurent Gomila - SFML developer

Recruit0

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Flood fill
« Reply #2 on: August 23, 2010, 03:10:58 pm »
Care to expand on that? Why not? We're provided functions to draw basic shapes yet not for flood filling?

Spidyy

  • Sr. Member
  • ****
  • Posts: 493
    • View Profile
Flood fill
« Reply #3 on: August 23, 2010, 03:20:50 pm »
Because basic shapes are usefull for everyone, but flood filling will enjoy only a bunch of users like you.

Also, flood filling isn't that hard to implement yourself. You got the tools to do it. (render image, shaders or simple image traitment)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Flood fill
« Reply #4 on: August 23, 2010, 06:44:13 pm »
Flood filling and shapes are two totally different things. A shape is a geometric primitive that can be drawn, while flood filling is an off-screen image algorithm.

SFML doesn't provide any image algorithm, instead it provides low-level access to the pixels so that you can implement them easily.
Laurent Gomila - SFML developer

 

anything