Split Screen

Home Forums AR Sandbox Forum Split Screen

This topic contains 1 reply, has 2 voices, and was last updated by  Oliver Kreylos 3 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100711

    Rob Reynolds
    Participant

    I bought an hdmi splitter for about $25 and now can project the image on the wall as well. It is really a cool feature and great for class presentations/discussions. It actually increases the effectiveness of the teaching capability of the sandbox. Also neat that your hands don’t appear on the wall screen, so changes look like magic.

    #100716

    Oliver Kreylos
    Keymaster

    That’s a neat idea.

    There is also a software way to achieve the same effect. It takes some configuration, but is more flexible, and will work better with the upcoming SARndbox 2.0 software.

    Plug the secondary display into the same graphics card as the main display. The graphics driver should recognize it as a second monitor, and the Nvidia control panel (nvidia-settings from a terminal, or somewhere in the start menu) will show the two displays as two partial screens positioned next to each other. Ensure that both screens are set to the native resolution of their respective displays (1024×768 for the projector, probably 1920×1080 for the secondary), and jot down the absolute pixel positions of both screens.

    In a typical default setup, the main screen would start at (0, 0) with a size of (1024, 768), and the secondary would start at (1024, 0) with a size of (1920, 1080).

    Then create a new configuration file DualScreen.cfg in the Vrui package’s configuration directory (~/Vrui-3.1/etc by default) and put in the following:

    section Vrui
      section Desktop
        windowNames (MainWindow, SecondaryWindow)
    
        section MainWindow
          windowPos (0, 0), (1024, 768)
          decorate false
          windowType Mono
          screenName Screen
          viewerName Viewer
        endsection
    
        section SecondaryWindow
          windowPos (1024, 0), (1920, 1080)
          decorate false
          windowType Mono
          screenName Screen
          viewerName Viewer
        endsection
      endsection
    endsection
    

    Afterwards, add another command line argument to the SARndbox executable:

    $ SARndbox <other options> -mergeConfig DualScreen.cfg
    

    And the same image will show on both displays, at their native resolutions. If either of the two windows does not entirely cover its respective display, i.e., if menu bars etc. still show, add a line “windowFullscreen true” to the respective configuration file section.

    If the two displays have different aspect ratios, e.g., main projector 4:3 and secondary display 16:9, then the topography will appear stretched on the secondary display. To fix this, adjust the size and position of the secondary window. For example, to create a 4:3 window on a 1920×1080 display using the same screen layout as above, use

    windowPos (1264, 0), (1440, 1080)
    

    In the upcoming SARndbox 2.0, the two displays will be able to use individual display settings. This means the topography can be shown in calibrated mode on the main display, and in regular 3D viewing mode on the secondary.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.