Well personally I have never been a fan of Viewport or split screen but sometimes it has its merits.
How ever Multiple windows I do not find that an issue in the least bit its a bit troublesome but very doable
to make two windows here is how I did it in a test.
sf::RenderWindow window1(sf::VideoMode(640, 480), "Top down view", sf::Style::Titlebar | sf::Style::Close);
sf::RenderWindow window2(sf::VideoMode(320, 240), "First person view", sf::Style::Titlebar | sf::Style::Close);
std::cout << "Hello World!\n";
window1.clear(sf::Color::White);
window2.clear(sf::Color::Black);
window1.display();
window2.display();
sf::Event ev;
while (window1.isOpen())
{
while (window2.pollEvent(ev))
{
switch (ev.type)
{
case sf::Event::Closed:
window1.close();
break;
case sf::Event::KeyPressed:
if (ev.key.code == sf::Keyboard::Escape)
window1.close();
break;
default:
break;
}
}
}
Now I would have loved to show a picture but if you copy this code into your main window and have the #includes incorporated in the code you will see a Hello world in the back, and two windows named as described in the code.
Happy trails my friends.