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

Author Topic: Multiple Renderwindow support.  (Read 2698 times)

0 Members and 1 Guest are viewing this topic.

man'O'war

  • Newbie
  • *
  • Posts: 46
  • What needs to be done is done by those capable.
    • View Profile
Multiple Renderwindow support.
« on: August 22, 2016, 11:14:34 pm »
Hi.

I dug a little about this and i found a non answered topic .

Knowing that we can set multiple viewport using sf::View
I was wondering if it is possible to create several non static objects of RenderWindow simultaneously. Is it safe ?

Regarding the refresh of the windows. round-robin policy can be used as starting policy.

thanks.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: Multiple Renderwindow support.
« Reply #1 on: August 23, 2016, 11:25:04 am »
Not exactly sure what you're asking, but yes you can create and use multiple (render) windows.

Maybe describe what you're trying to achieve?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

man'O'war

  • Newbie
  • *
  • Posts: 46
  • What needs to be done is done by those capable.
    • View Profile
Re: Multiple Renderwindow support.
« Reply #2 on: August 24, 2016, 07:25:47 am »
Nothing very special, i was thinking about providing the application with a secondary window.

For example: Having Two displays ( windows simultaneously) :
One shows normal object of the scene, and the second shows boosted one of the same scene. ( Like in Box2D testbed, where you can display the AABB, hitpoint, velocity, force array etc .)


Now i'm aware that it is possible, i can consider using it.
Thank you.