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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Pedro Bacchini

Pages: [1]
1
General discussions / Re: Multi Monitor Setup
« on: January 06, 2015, 09:41:45 am »
This is true for Windows but what about other platforms? Linux? Mac?. I have no experience in development in either of the latter and no experience with WinAPI to this degree. For Windows, perhaps a preliminary implementation could be made as a proof-of-existence type of thing, although I'm pretty sure everyone knows that its possible, it might be a good stepping stone for SFML.

The same goes for me we would have to evaluate this proposal to other platforms but already doing something for windows already is a first step as you said, I do not know how things here. The solution has to be complete for all platforms in this investigation phase?

Also, while Windows might track the order of the displays, how would you go about getting the relative positions between screens? You would need to have some sort of  center (0 0 0) (Which I'm guessing would be the primary display) and each display's position would be relative to that?

For example, let's say I make a game that uses this configuration:
Screen 1 the main left and right screen 2 hoping that this will be the configuration of the user, if it changes and puts the screen 1 from the right main screen and 2 on the left (because he can do it) the game is simply reversed . Because you supposes one configuration of the screens in the development and lets the user to course correct organization always leaving the observations correctly. Each window has a display and each has its point (0.0). Do not understand the question of the relative positions you could give an example.



2
General discussions / Re: Multi Monitor Setup
« on: January 06, 2015, 09:15:23 am »
What I suggested was a pattern to be followed in the implementation of the Display class to put 0 as the primary monitor regardless of screen organization, the organization of question are you discussing I'm not getting the message because the OS abstracts all this for us. Follow the OS.


3
General discussions / Re: Multi Monitor Setup
« on: January 06, 2015, 04:59:28 am »
Well if you have two monitors, where's the position (0, 0)? On monitor 1 or on monitor 2? ;)
(0, 0) is the top-left corner of the leftmost monitor on your standard Linux extended desktop setup. If you have 2 1080p monitors, the top-left of the right monitor would be (1920, 0).
I think so and not the clearest way, you first specify the monitor and then your position, each monitor has its (0,0).

Believe which monitor will be used must be passed by parameter for the creation of the window if it is not past is created in the default monitor. After this things already resolve themselves as the question of (0.0) that is would be a window for each monitor, I think so and simpler to extend the platform without compromising anything.

RenderWindow(VideoMode mode, const String& title,
         Uint32 style = Style::Default,
         const ContextSettings& settings = ContextSettings()
         Display display = getDisplay(0));

for example in case the mouse remains the same positions for returning positive if the mouse is in the right window that you want to verify and negative for others.

sf::Mouse::getPosition(window).x;

I think the sf::Display::getPrimary() method is redundant and can be created only as a friendly interface to getDisplay (0);

Quote
sf::Display::getResolution()
perhaps to maintain compatibility get resolutions that way

static VideoMode getDesktopMode(Display display = getDisplay(0));

4
General discussions / Re: Multi Monitor Setup
« on: January 04, 2015, 11:29:14 pm »
Excelent issues  :)

Quote
What exactly does "Multi Monitor Support" mean?

I believe it is support create windows in more than one motinor, and have control over what is drawn on each of them.

Quote
How should the API be designed or redesign to support this feature?

To this question as I have not much experience with API will have to investigate further so have a interesting solution will present it.

Quote
Do all three major platforms (Windows, OS X, Linux) support this to the fullest extend?

Yes believe this and a feature that extends to all operating table systems.

Quote
Does it apply to mobile platforms in the same way or can it be used for some similar functionality?

For mobile platforms I do not have idea of how it would be applied.

As there is minimal interest in this feature for the next day was more experience with the API and follow the discussions here.

It would be interesting also you guys get hold of this platform, which offers great potential.

https://sprout.hp.com/

5
General discussions / Re: Multi Monitor Setup
« on: January 04, 2015, 10:16:53 pm »
thank you, I had already seen and one of the recommendations and discuss its possible contribution to the forum and why I took this post.

6
General discussions / Re: Multi Monitor Setup
« on: January 04, 2015, 10:16:49 am »
I just start to use SFML, I have some experience in C ++ and I'm following the game development book, I have a game design that would look great in the new HP platform called Sprout using two screens, I would like to know how to contribute to SFML support for the multi-monitors.

Pages: [1]
anything