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

Author Topic: Converting image from window to 2D image and adding effects to it. Best way?  (Read 715 times)

0 Members and 1 Guest are viewing this topic.

Putarda

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Which is the best way converting image from the window and then adding effects to it, and again render it to the window? I saw this technic from https://www.youtube.com/user/ThinMatrix/featured (video https://www.youtube.com/watch?v=uZlwbWqQKpc)

My idea is to convert image and resize it to the nearest available resolution and adding some effects to it  :).
« Last Edit: September 21, 2016, 11:23:16 am by Putarda »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10274
    • View Profile
    • development blog
    • Email
Render to a render texture, apply effects and draw the render texture (or extract the resulting texture).
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Putarda

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Thank you!