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
1
Question by DFLY · Sep 18, 2012 at 04:03 PM · displayvirtualmonitor

Can I put a virtual monitor in Unity

Hi, Can I put a virtual monitor (display) in unity which shows the output of another program? Is it possible in free or pro Unity?

I want to put someones experimental data onto a monitor in a virtual lab and hopefully be able to toggle that monitor to full screen in the game.

I don't even know where to start.

all Ideas and suggestions welcome.

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
2

Answer by Eric5h5 · Sep 18, 2012 at 04:08 PM

You would use rendertextures in Unity Pro for the monitor graphics. As for the output, that depends. If the output is in the form of a file, you can use System.IO.File functions to load the file, then you can parse the data in Unity and use that to create the graphics you'll use for the rendertexture.

Comment
Add comment · Show 3 · 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 DFLY · Sep 19, 2012 at 01:21 AM 0
Share

Thanks Eric5h5. I know nothing about System.IO and have been searching the scirpt reference and answers to learn more. But I really need a book or tutorial on this stuff as it is very new to me and I'm going to need it lots in the near future. Can you recommend a book or tutorial on system.IO and www?

Thanks for any direction you can give...

avatar image DFLY · Sep 19, 2012 at 01:24 AM 0
Share

sorry about putting "http://System.IO" I don't know what it means. $$anonymous$$y mac did that when I wasn't looking. I just meant "system.IO".

avatar image Eric5h5 · Sep 19, 2012 at 01:40 AM 0
Share

No, it's this website that does that...it's trying to be "helpful". (Amongst many other bugs....) Anyway, http://msdn.microsoft.com/en-us/library/system.io.aspx

avatar image
0

Answer by DaveA · Sep 19, 2012 at 01:40 AM

If you mean the arbitrary output of some arbitrary program being piped into Unity, the answer is: maybe sorta, not easy. You could manage some screen grabs of the area and socket them in via WWW (local server) or socket programming, or a DLL.

If you mean some data that can be put into a file, and that file then displayed in some way, the answer it probably, may be hard. If it's just some numbers, you can format them onto a texture or something. If it's a web page, you'd want a web browser that can render to a texture like that (someone did it for mac, don't know about PC).

So, what kind of data do you want to show?

Comment
Add comment · Show 1 · 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 DFLY · Sep 19, 2012 at 11:45 AM 0
Share

Thanks Dave A. The input comes from (or has been pre-recorded from) analytical equipment and then goes through a package to produce a graphical interface. So I can take the data from anywhere along that process. eg. csv or gpu output. I deally I think I'd prefer to use the screen output as it saves the work of reproducing what a package has already produced.

So really I need to be able input video realtime from a program. I suppose a bit like virtual youtube. But I may end up using simulated data in the form of csv.

Sorry to be so vague. I'm still considering the best way to proceed.

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

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Monitor or screen output onto a game object. 1 Answer

Multimonitor display in Unity3D 4.1 and above... 2 Answers

Display.displays returns 1 1 Answer

Find which display game is on 0 Answers

a way to monitor data and functions being called? 2 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