Log in or register to post comments

Image instead of object??

May 11, 2013 - 8:21pm #1

Hi.

IS there a way where I can augment an image into the imagetarget instead of a 3d object.

i.e for example can I replace the teapot with a photo.

Image instead of object??

June 12, 2013 - 1:45am #15

thanks Al..

regards,

 

me

Image instead of object??

June 11, 2013 - 11:35pm #14

Well, in this case, displaying PDF can probably be done by creating an Intent and starting an activity by specifying that you want to read a PDFF file;

but you will also need to have some PDF reader/viewer installed on your device; this is however not related to Vuforia, so I would recommend to search the solution in Android-specific forums; 

for instance, here is one discussing the subject:

http://stackoverflow.com/questions/7894212/pdf-viewer-library-for-android

 

Image instead of object??

June 11, 2013 - 9:20pm #13

Hi Al, Thanks for your suggest.

but i'm thingking for another way, instead of using android web view that need internet, can you tell me how to open file (PDF  file) using pdf reader,

so when i click an objek such as a book/page, AR automaticly open pdf reader.

 

thanks,

 

regards,

 

me

Image instead of object??

June 11, 2013 - 3:30am #12

That is shown in the Cloud Recognition sample as well, in the iOS version. I recommend to have a look there.

If you get lost, I would then suggest to post your iOS specific question in the iOS section of our Forum:

https://developer.vuforia.com/forum/ar-technical-discussion/ios

 

Image instead of object??

June 11, 2013 - 12:31am #11

How can I do the same thing using iOS SDK? Replacing Image instead of object

Thanks.

Image instead of object??

June 10, 2013 - 11:15pm #10

Hi, you cannot use a PDF as an image for texture; you would need to convert to JPG or PNG first.

Alternatively, you could use a technique like:

- first create a Web View (using Android Web View) and try to display the PDF there

- then, render the Web View into a bitmap (this technique is shown in the Cloud Recognition sample, if you want to have a look)

- finally, update your texture from the bitmap above

 

Image instead of object??

June 10, 2013 - 6:57pm #9

the goal is to show an e-book version of augmented printed book.

if possible it will be shown as PDF instead of jpg. or you have a better solution for me.

Image instead of object??

June 10, 2013 - 2:40am #8

Hi, what is your goal with using a PDF file ? do you want to show the PDF as an image ? or something else ?

 

Image instead of object??

June 10, 2013 - 1:24am #7

i have same question with different object, how if the object is file with .PDF file

Image instead of object??

June 5, 2013 - 5:16am #6

You need to create a material in Unity, set the shader for the material so that it supports textures (e.g. you could use the Shader called "Unlit/texture"), and then assign the image that you want to use as texture (note, the image must be located somewhere in your Assets folder).

Note that this is a genuinely Unity-specific issue, not related to Vuforia; I would recommend to read a tutorial about creating textured objects from the Unity website.

 

Image instead of object??

June 5, 2013 - 3:40am #5

Hi.

Doing so(making quad a child) is only augmenting the quad onto the image target instead of teapot.

I want to augment a .png or .jpeg image.

How can this be done?

Image instead of object??

June 4, 2013 - 7:03am #4

A quad is just a polygonal surface with 4 vertices; for instance, a rectangle, a square, or any other quadrilateral shape.

 

Image instead of object??

June 4, 2013 - 6:58am #3

 Hi.

I dont know what a quad is. Can you please suggest me a link or a source from where I can learn this.

 

Thank You.

 

Image instead of object??

May 11, 2013 - 11:35pm #2

Hi,

surely you can;

this is for instance a small tutorial about how to achieve that (OpenGL + Android, but you can basically reuse much of it on iOS too);

https://developer.vuforia.com/forum/faq/android-how-do-i-render-2d-image-target

If you are working from Unity, that's just a matter of creating a quad and attaching it under the target, replacng the teapot.

 

Log in or register to post comments