Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by navparker · Dec 08, 2010 at 06:55 PM · 2duitouchscreenmultiple-monitors

Dual monitors setup. One a touchscreen.

Considering using Unity in a Kiosk environment with a main display screen and separate smaller touchscreen for user interaction. The touchscreen would probably have a static 2D interface.

It seems most games treat additional monitors as one continuous larger canvas (as handled by the host OS). How would I keep the 3D camera from using both monitors? How would I confine the 2D UI elements to the second screen?

Is this doable through Unity? Any tips on how to set that up?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by davedev · Jan 06, 2011 at 03:03 PM

I not done a touch screen multiple monitor setup, but I have been doing a 2 projector and 1 monitor setup so, FWIW, my suggestion would be to get a video card like the ATI Eyefinity series where Windows thinks its outputting to one big monitor. Matrox and Nvdia have cards that do this too. This allows you to run Unity as a "full screen" application filling up your lets say 2048 x 1024 "monitor", but the video card provides two outputs, one for each 1024 x 768 monitor.

Normally, Unity only displays fullscreen on your primary monitor and other monitors display black with typical video cards unless you run Unity in a window which you can then stretch to span multiple displays, but then you have a window border to deal with.

As for combining a 2D and 3D view, you setup two unity cameras each taking up half the display space. Then set one camera to orthographic view to display graphics you place in its view as 2D. I've done this to create an out the cockpit view and an instrument panel view.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by mattirwin · Jan 06, 2011 at 03:41 PM

I agree that a card where Windows thinks you have one big monitor would be ideal.

I'm using a Windows 7 laptop with an RGB output to a secondary desktop monitor. Full screen mode fills the laptop's screen and the secondary desktop monitor shows whatever I had on it before launch (although clicking anything on the secondary monitor defocuses the unity application and makes the primary screen jump out of full-screen mode).

If you end up exploring a "faux full screen" method where you stretch a non-full screen window past the extents, it might be possible to write a Win32 C++ dll plugin (pro Unity only) that can find your unity application's window, hook into it and adjust its position and size to overlap the desktop by a few pixels on each side. We have coded a hook similar to this in order to capture and pass some Windows messages into our app.

If you can work out the display hardware, look for the Normalize View Port Rect options on your cameras to split the screen between two cameras.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Unity UI button does not detect click 2 Answers

UI Image has no sprite definition 0 Answers

2D Animation does not start 1 Answer

Multiple touchscreens: multitouch on multiple input devices 0 Answers

Stretching Background sprite 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges