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

Author Topic: Image skewing and perspective  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Rivon

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger - 336415299
    • View Profile
Image skewing and perspective
« on: May 03, 2011, 05:11:05 pm »
Is it somehow possible in SFML to skew images/textures (preferably with perspective correction) like in these images?


I think that it's probably possible using OpenGL or shaders but I don't know how to use them. Any help will be much appreciated :)
Jabber: rivon@isgeek.info

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Image skewing and perspective
« Reply #1 on: May 03, 2011, 08:16:25 pm »
Quote
Is it somehow possible in SFML to skew images/textures (preferably with perspective correction) like in these images?

Nop.
Laurent Gomila - SFML developer

Rivon

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger - 336415299
    • View Profile
Image skewing and perspective
« Reply #2 on: May 03, 2011, 08:18:11 pm »
Not even using shaders or something?
Jabber: rivon@isgeek.info

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Image skewing and perspective
« Reply #3 on: May 03, 2011, 08:23:02 pm »
No, because SFML doesn't implement vertex shaders (only fragment shaders).
Laurent Gomila - SFML developer