By dereklan
on Thu, 06/28/2012 - 05:57
Hi All,
As Kim said the post could help me, but I could not open the page, who can help me?
https://ar.qualcomm.at/arforums/showpost.php?p=1596
Hi All,
As Kim said the post could help me, but I could not open the page, who can help me?
https://ar.qualcomm.at/arforums/showpost.php?p=1596
could I use JPG or others 2D-picture to replace 3D object ?
These are the instructions that she was referring to. Basically you are going to define a plane and map your picture to that in the same way that you would map a texture to any other 3D model.
could I use JPG or others 2D-picture to replace 3D object ?
Thanks a lot. I had done it before, but the texture could not be shown, so sad~~~~
could I use JPG or others 2D-picture to replace 3D object ?
Sorry but I don't understan which part from renderFrame I have to replace. Could you add it?
could I use JPG or others 2D-picture to replace 3D object ?
you should mark the source code and replace like this:
quote :-----------------------------------------------------------------------------------------------------------------------
could I use JPG or others 2D-picture to replace 3D object ?
hi thanks for the instruction above and I've tried it in the ImageTargets sample, it does succeed but unfortunately, only shows up a black pic.
however, the teapot shows up too but the sharp is strange and not fully visiable seems been stretched.
could I use JPG or others 2D-picture to replace 3D object ?
Can you post your renderFrame code? Also be sure that you're adding the texture that you want to use.
could I use JPG or others 2D-picture to replace 3D object ?
I'm really appreciated. It works. The problem is the size of the picture.
Anyone who notice what I'm saying please don't make the same mistake as I do.
could I use JPG or others 2D-picture to replace 3D object ?
Hi, I did what you say and I was able to see the teapot png picture in the plane but if the the loadTexture method I change that file for any other .png file the plane looks black.
I only change:
could I use JPG or others 2D-picture to replace 3D object ?
Is this picture in the /assets folder?
And you are using the correct texture index the C++ file?
private void loadTextures()
{
could I use JPG or others 2D-picture to replace 3D object ?
Yes, the picture is in asset folder and I call with the correcto number. I only change what I wrote down.
could I use JPG or others 2D-picture to replace 3D object ?
Can you post the image? And is this occuring w/ all other png's, or just this one?
could I use JPG or others 2D-picture to replace 3D object ?
The other thing to determine is whether your device supports non-power-of-two (NPOT) textures, and if not to ensure that the width and height of the image are both a power of two (ie. 2,4,8,16,32,64,...).
could I use JPG or others 2D-picture to replace 3D object ?
Ok. It's fixed the problem in the sample trackable I could see the image. Now I know that the image have to be 2x in width and height.
could I use JPG or others 2D-picture to replace 3D object ?
What is the rating of your target by the TMS (i.e. how many stars )?
There shouldn't be any difference in the texture rendering by changing the target.
could I use JPG or others 2D-picture to replace 3D object ?
Hi again.
That have 3 of 5 stars. The trackable is recognised with distance but the 3d plane isn't rendered.
Thanks.
could I use JPG or others 2D-picture to replace 3D object ?
I've read my post again and maybe it's confusing. The problem is not that the texture doesn't reder well, what isn't working well is the plane which must be reder over the trackable, the 2d plane which is replacing the 3d object.
could I use JPG or others 2D-picture to replace 3D object ?
Can you post the code that you're using and the texture? - you can PM the texture to me if you would prefer.
could I use JPG or others 2D-picture to replace 3D object ?
OK, I sent you the code and the texture.
could I use JPG or others 2D-picture to replace 3D object ?
Could you help me?
Replacing TeaPot to 3d object
Hello,
I am using ImageTarget example for 3d augmention.
My requirement is to i have to create app like there is structure of house.and by app it shows house 3d view.
i have create .obj file of house. but it will not display currectly.i also have problem with its texture.
Hi Mita, have you followed
Hi Mita,
have you followed the process described in this thread:
https://developer.vuforia.com/forum/faq/android-how-do-i-replace-teapot
?