Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Converting image from window to 2D image and adding effects to it. Best way?
Print
Pages: [
1
]
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
Converting image from window to 2D image and adding effects to it. Best way?
«
on:
September 21, 2016, 11:21:39 am »
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
»
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11027
AW: Converting image from window to 2D image and adding effects to it. Best way?
«
Reply #1 on:
September 21, 2016, 11:27:15 am »
Render to a render texture, apply effects and draw the render texture (or extract the resulting texture).
Logged
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
Re: Converting image from window to 2D image and adding effects to it. Best way?
«
Reply #2 on:
September 22, 2016, 12:56:32 am »
Thank you!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Converting image from window to 2D image and adding effects to it. Best way?
anything