Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do I make a live feed camera? [SOLVED]

Discussion in 'Scripting' started by DarkEcho, Jan 27, 2015.

  1. DarkEcho

    DarkEcho

    Joined:
    Jul 7, 2014
    Posts:
    233
    How do I make a live feed camera?

    I wish to make a ingame monitor that gets the feed from a ingame camera.

    Obviously I would need a camera (gameobject) and a canvas...
    Thats all I know.

    So how would I go about this?

    I do not have Unity Pro
     
    Last edited: Jan 28, 2015
  2. starsky135

    starsky135

    Joined:
    Jan 5, 2015
    Posts:
    9
    This is something I've wanted to do for a while.
     
  3. QuinnWinters

    QuinnWinters

    Joined:
    Dec 31, 2013
    Posts:
    494
  4. DarkEcho

    DarkEcho

    Joined:
    Jul 7, 2014
    Posts:
    233
    Ah yes I forgot to mention I do not have unity pro, so this script is unable to work.

    Thanks tho

    Any other suggestions?
     
  5. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Get pro? This ultimately relies on using a render texture. Those are pro only.

    There are other ways, with GetPixel or projectors. But performance is horrible.
     
    cmcpasserby likes this.
  6. Cpt Chuckles

    Cpt Chuckles

    Joined:
    Dec 31, 2012
    Posts:
    86
    this is usually done with render to texture. in fact, to my knowledge, the only way to get a real camera's output displayed on a surface in a 3D scene is to use a render to texture. so this sounds like something that is only really feasible in pro.
     
  7. DarkEcho

    DarkEcho

    Joined:
    Jul 7, 2014
    Posts:
    233
    I understand.

    Thank you for the effort guys. :)

    BoardMormon, I will see if I can give your suggestion a try.

    Again, thanks guys..