x


QualcommAR and RenderTextures / ImageEffects

Hello everybody,

the Qualcomm AR Unity Extension is quite popular right now. I would really like to use the camera image on a RenderTexture for further processing (think reflection maps, diffuse lighting, ...). But everytime I use a RenderTexture on the AR camera, I only get a black screen. This also happens when using any of the ImageEffects.

I think that the QualcommAR maybe does strange things to the underlying graphics buffers.

Has anyone managed to get ImageEffects or RenderTextures to work? That would be really great!

Best regards Felix

more ▼

asked Aug 12 '11 at 01:11 PM

felix. gravatar image

felix.
1.9k 18 23 47

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

1 answer: sort newest

Just to close this: Qualcomm AR (now called Vuforia) now supports using the camera image as a Texture and thus using ImageEffects and Shaders on it.

Also, if one doesn't want the AR, but only the camera image, Unity 3.5 also supports using the camera image as texture.

more ▼

answered Mar 21 '12 at 03:36 PM

felix. gravatar image

felix.
1.9k 18 23 47

Hi,

I work under Unity 3.5, with QCAR 1.5 (Vuforia). I have an ARCamera with the QCARBehaviour, CameraDeviceMenu and DataSetLoadBehaviour. I get the VideoBackground texture and assign it on a plane (my application works on a tv, so i need a mirror effect).

The problem is i have to modify the comportement of my AR objects instatiated : they don't rotate in the same direction as the marker. (dur to the mirror effect)

So, I've created another camera, with ARCamera as parent (to get the same transform), and that cam films only the arobjects. I want to set a gui.DrawTexture with the RenderTexture of that cam... but in game, my render texture appears black.

Have you any idea to help me?

Best regards, Yann

Mar 26 '12 at 02:55 PM yannID3C
(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:

x2493
x194
x56
x52
x33

asked: Aug 12 '11 at 01:11 PM

Seen: 1506 times

Last Updated: Mar 26 '12 at 02:56 PM