- Home /
Webcam Support in Unity (iSight or USB Camera)
I'm looking for something that can acquire video input from a builtin video camera (iSight on an iMac) or USB webcam.
Are there any free drivers/plugins out there that bring video input into Unity3d?
For andriod it's possible to use the Qualcomm AR package but that only enables a video camera on an Andriod device (as far as I know). What to use for $$anonymous$$ac or Windows with an iSight or general USB camera?
Answer by ikriz · Dec 26, 2011 at 11:05 AM
I've solved it myself now using the built-in WebCamTexture checkout my post on my site showing how to implement it http://www.ikriz.nl/2011/12/23/unity-video-remake/
any chance you can rehost the script? The link is down now. Your time is much appreciated!
@ikriz: First, thanks a lot for your work. I am trying to download the script from http://www.ikriz.nl/download/Webcam0.2.txt but that link seems to be broken. Could you let me know the exact url please? Also would your script work with unity4.3? I can't seem to find webcamTexture anywhere in the GUI though. Thanks again.
Can you please post the script as an answer here ins$$anonymous$$d of an external website which has a broken link?
Answer by PatHightree · Jul 29, 2010 at 10:33 AM
Jon Martin has got communication of flash video data via sockets to Unity working ! He's working on cleaning up the code and will release it sometime in the future.
Answer by rooch84.du · Feb 18, 2011 at 03:39 PM
You can try this. It uses an Air application (Flash) to get the cam feed and send it to unity via a socket connection...
Answer by peko · Jul 14, 2010 at 10:21 AM
In this case Unity application work with web cam, but I can't understand how. I can't find a word about webcam in docs.
this is indeed exactly what i'm trying to do.. problem is this is a custom made version of the Unity Web Player only for this specific project.
Bofswana uses a special version of the Unity webplayer, see this forum thread : http://forum.unity3d.com/viewtopic.php?t=51354☆t=0&postdays=0&postorder=asc.
Answer by michael bricout · Jan 13, 2012 at 10:22 AM
Hi !
This demo http://www.ikriz.nl/2011/12/23/unity-video-remake/
But I think it could better to see the webcam of user that are connecting to the scene.
To see my own webcam is not really useful, don't you think ?