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

Author Topic: Black outline when rendering sprite  (Read 10037 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Black outline when rendering sprite
« Reply #15 on: March 18, 2010, 08:10:07 am »
No. But you can easily wrap it into your own loading function or manager.
Laurent Gomila - SFML developer

gontai

  • Newbie
  • *
  • Posts: 8
    • View Profile
I have a problem like this.
« Reply #16 on: April 20, 2010, 10:42:40 am »
First of all, sorry to my ugly English.

When I use "SFML-1.5", SetSmoth(true), it is fine to rendering. But "SFML-1.6" and "SFML-2.0" are Black outline like this (Win32 sample Project).

Look at the rotated Image.

<SFML-2.0>


<SFML-1.6>


<SFML-1.5>




"SFML-1.6" and "SFML-2.0" are Ok that "SetSmooth(false)". But I wanna smooth Image.

Why this happen?  :roll:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Black outline when rendering sprite
« Reply #17 on: April 20, 2010, 01:10:14 pm »
It should be ok now in SFML 2.
Laurent Gomila - SFML developer