x


Use "Texture2D.ReadPixels" with QualComm ARCamera(Vuforia)

Hello, I am building a project with QualComm ARCamera(Vuforia) on Unity-Android.

Vuforia is a package for free on the asset store, put its camera into Heiarchy will show the webcam view directly.

I added a 3D model into the scene, then made a GUI.Button to photograph, use "Texture2D.ReadPixels" function. But finally I got an image that shows all webcam view --- there's no 3D model there!

I try another way. To create a renderTexture for "Texture2D.ReadPixels" reading. The result is "Only 3D model", all where webcam view is black.

I am confused in this sitiuation. Doesn't "Texture2D.ReadPixels" read the finally pixels which was projected on the screen? What can I do to solve this problem?

Thanks for any opinion.

more ▼

asked Jun 08 '12 at 01:47 PM

randytoryan gravatar image

randytoryan
2 1 2 4

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

0 answers: sort voted first
Be the first one to answer this question
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:

x33
x4

asked: Jun 08 '12 at 01:47 PM

Seen: 654 times

Last Updated: Jun 08 '12 at 01:47 PM