Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 6-Nov-2014 04:26:32

zhangxiaomin
Member
Registered: 29-Oct-2014
Posts: 7

split the 3D view of OS3D into three views and display them

I have a virtual wandering demo, now I want to split the view of my demo into three views, and display them on three different monitors. I set three cameras in my scene, and set their orientations in order that the view of three cameras can be spliced together. I used three viewports for my cameras, but the view of each camera disply on the 3D view of my demo. How do I send the view to three different monitors?

Offline

#2 6-Nov-2014 09:27:29

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: split the 3D view of OS3D into three views and display them

hmm for now OS3D only manage a main 3D buffer.
I'll see how to do that. maybe more options in the viewport plugIT ... (TODO LIST)

Offline

#3 6-Nov-2014 14:25:48

zhangxiaomin
Member
Registered: 29-Oct-2014
Posts: 7

Re: split the 3D view of OS3D into three views and display them

arkeon wrote:

hmm for now OS3D only manage a main 3D buffer.
I'll see how to do that. maybe more options in the viewport plugIT ... (TODO LIST)

There are three cameras in my scene, can I output the views of the three cameras to different windows? If I can do that, I want to display the windows on different monitors, just like we using two monitors on one PC.

Offline

#4 6-Nov-2014 14:31:38

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: split the 3D view of OS3D into three views and display them

I'm trying to enable that.
no success for now

Offline

#5 8-Nov-2014 00:43:34

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: split the 3D view of OS3D into three views and display them

Ok finally got this working smile

Some question about the way I could implement it correctly.

DirectX can't manage several fullscreen windows, so we need to create windows without border at the monitor size.
The mouse and HUD (overlays) will only works on the main 3D buffer.

Monitor index are not necessary in a good order. so do you think we should better use left / right monitor and detect the correct monitor index ? or just let set the monitor index. since the first solution will be restrictive for more than 2 monitors.

The other thing is about the main 3D buffer, since we can create the other buffers full screen without border how can we manage the main 3D buffer to be set the same (not the real fullscreen)

there is a plugit mainWindow that allow to setup this window on player to look the same, but maybe just a monitor matrix plugIT should be better.
A plugIT where you add several monitors by it's index and select the camera on it ?

Offline

#6 9-Nov-2014 02:28:28

zhangxiaomin
Member
Registered: 29-Oct-2014
Posts: 7

Re: split the 3D view of OS3D into three views and display them

arkeon wrote:

Ok finally got this working smile

Some question about the way I could implement it correctly.

DirectX can't manage several fullscreen windows, so we need to create windows without border at the monitor size.
The mouse and HUD (overlays) will only works on the main 3D buffer.

Monitor index are not necessary in a good order. so do you think we should better use left / right monitor and detect the correct monitor index ? or just let set the monitor index. since the first solution will be restrictive for more than 2 monitors.

The other thing is about the main 3D buffer, since we can create the other buffers full screen without border how can we manage the main 3D buffer to be set the same (not the real fullscreen)

there is a plugit mainWindow that allow to setup this window on player to look the same, but maybe just a monitor matrix plugIT should be better.
A plugIT where you add several monitors by it's index and select the camera on it ?

Awesome, If it was convenience, I would like a plugIT where I can select the camera on it.

Offline

#7 9-Nov-2014 23:52:07

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: split the 3D view of OS3D into three views and display them

finally I added functions to the language to get screens positions and size.

so I've change the fullscreen plugIT and added a "windowed mode" this take the current window screen and set a false fullscreen mode with a window without border.
the viewport plugIT now have "create as window" and "monitor index" option.
so you can set it to 100% width and height and check the window mode and choose the monitor index.
you can add several ones.

you can download the new beta here :
first : https://www.arkeon.be/svn-scol/trunk/se … plugin.exe
then : https://www.arkeon.be/svn-scol/trunk/se … _setup.exe

Offline

Board footer

Powered by FluxBB