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 1413 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 )

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: 11027
    • 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
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Putarda

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

 

anything