Log in or register to post comments

Display 2D image instead of 3D model

May 29, 2011 - 11:28pm #1

Hi,

I want to render a 2D image (jpg, png, gif, etc) on the target, instead of a 3D model. Can you please advice me on how to do it?

Thanks :)

Re: Display 2D image instead of 3D model

May 31, 2011 - 12:16am #5

Thanks... Could do it as specified in the threads. :)

Re: Display 2D image instead of 3D model

May 30, 2011 - 7:21am #4

and here, with a good walk-through ..
http://ar.qualcomm.at/node/2000357

Re: Display 2D image instead of 3D model

May 30, 2011 - 6:44am #3

There's some sample code in this thread as well:

http://ar.qualcomm.at/node/2000302

- Kim

Re: Display 2D image instead of 3D model

May 30, 2011 - 4:20am #2

What do you mean?
a) Displaying an image that covers and object?
b) Going to the gallery and display an image?

For a) you can make a simple box and add a new texture (the 2D image you want to be displayed)

For b) you can modify renderFrame in C++ (for example, returning a value), build the shared library and then in your Java code (ImageTargetsRenderer Class, onDrawFrame method) call an intent to the gallery.

Regards

Log in or register to post comments