x


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

So, the answer is no to cam support on iPhone / Android http://answers.unity3d.com/questions/16811/will-unity-3-support-net-streaming-video-on-the-iphone-android-platforms

But, is it possible to render or overlay Unity on top of an iPhone / Android video feed?

more ▼

asked Aug 11 '10 at 05:24 PM

ina gravatar image

ina
3.3k 492 550 602

wondering if that'd be too much for mobile processors. live video + unity render, complete with specular textures and all - any examples?

Aug 11 '10 at 05:25 PM ina

There is a large performance hit on iOS for making the EAGllayer transparent.

Apr 25 '11 at 01:26 AM Peter G
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

The docs say that iPhone and Android can have plugins (not web browser though). If a plugin can be written to access the camera, they why not? It would be akin to the one that's already available (ARToolkit).

As to how well it would perform, that's caveat scriptor. If you want heavy duty graphics on top of video, good luck. But if it's something fairly modest, I think so.

So while that would not technically be what you are asking for (3d on top of video), conceivably you could get video into 3D (as a background texture or whatever).

Now we just need someone to take up the challenge and write those plugins.

See http://unity3d.com/support/documentation/Manual/Plugins.html

more ▼

answered Oct 08 '10 at 10:58 PM

DaveA gravatar image

DaveA
26.5k 151 171 256

(comments are locked)
10|3000 characters needed characters left

it's really heavy for current devices. maybe later droid phones with great tegra 2 GPUs can do it or some of the windows phnes but currently it's not a possibility for applications that they are more complex than a moving sphere or cube. :)

more ▼

answered Aug 11 '10 at 06:03 PM

Ashkan_gc gravatar image

Ashkan_gc
9.1k 33 56 117

well, it's possible to import collada files into various Flash-based augmented reality kits - but then those don't let you have neat effects like specularity and transparency - say rendering a glass of water for example. just flat solid-texture meshes

Aug 11 '10 at 07:40 PM ina
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2482
x2000
x57
x52

asked: Aug 11 '10 at 05:24 PM

Seen: 2107 times

Last Updated: Aug 11 '10 at 05:24 PM