Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 user-1509 (google) · Mar 05, 2010 at 03:19 AM · webplayeraugmented-realitywebcam

WebCam on Web Player

I have a plan about making AR soft based Web Player. ARToolKit is based on C++, so if make by called DLL, they are disabled when building a Web Player. So I'll write script refer to NyARToolKit that based C#, critical error in the process to get Capture Device will occured. NyARToolKit using a DirectShow image processing, so I write script by DirectShow Plugin. But I could not determine the exact cause because of Critical Error.(attached a screenshot)

Is there a way to resolve these issues? Or Is there a way to run a WebCam based Web Player?

alt text

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Ashkan_gc · Mar 05, 2010 at 08:27 AM

you can not call p/invoke in your web players and you can not use assemblies that call p/invoke. so you can not use a feature like webcam usage in this way. you can create a java aplet or an activex control to do that and communicate with unity web player using .net sockets or in another way.

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 peko · Jul 14, 2010 at 11:16 AM

It was made here, but I don't know how. Seems like usage of undocumented features, because I can't find java / flash stuff in html code.

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 Mike 3 · Jul 14, 2010 at 11:25 AM 0
Share

No undocumented features at all. Flash grabs webcam data, pushes it through through javascript to unity, which renders it. The javascript Send$$anonymous$$essage function is documented in the unity manual

avatar image
0

Answer by baha 7 · Feb 25, 2011 at 08:17 AM

You need to take the input from another source like flash or silverlight for the meantime until unity implements it within the webplayer but in case you are interested we have created a new product in the asset store named MXDEye, with it you can take the flash webcam input easily http://u3d.as/content/mixed-dimensions/mxd-eye-webcam-input-on-web/1Ab

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 ikriz · Dec 26, 2011 at 11:03 AM

WebCams are now supported in Unity 3.5 also for the webplayer check out: http://www.ikriz.nl/2011/12/23/unity-video-remake/

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

1 Person is following this question.

avatar image

Related Questions

Augmented reality on Web player 1 Answer

Switching to two different cameras with Vuforia ARCamera 0 Answers

Is it possible to render Unity graphics elements on top of iPhone / Android video feed? 2 Answers

texture2D wont render in webplayer 0 Answers

EasyAR 3.1.0 - webcam black screen after updating to Unity 2021.1.18f1 0 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