Log in or register to post comments

Sample android project recognizes object but doesn't render anything on it

May 24, 2018 - 2:03am #1

Hello ,

I am testing out vuforia samples on android studio. Image recognition works perfect, but I am particularly interested in object recognition. I have added the custom scanned object data in the project and I get the debug when the object is detected. But no virtual content is rendered . Is it supposed to function like this or have I missed out any other details to be specified other than the key and the object data.? Thanks in advance. 

Sample android project recognizes object but doesn't render anything on it

May 31, 2018 - 1:30am #4

Hi, 

*IT WORKS*

Changing the nearPlane to 0.01f and farPlane to 5f while creating the instance of SampleAppRenderer in the ObjectTargetRender class does the job and you can see a translucent black cube being rendered on the detected object.

Thanks , 

Kewal

Sample android project recognizes object but doesn't render anything on it

May 28, 2018 - 5:22am #3

Hello ,

I am testing the sample project from vuforia. I believe object recognition has a cube being rendered on the recognized object .(Sorry I have no experience with opengl this is what I was able to figure out)  . I added the object data reference but I dont see any augmentation happening . Am I missing out any other detail ?

Thanks,

Kewal

Sample android project recognizes object but doesn't render anything on it

May 24, 2018 - 9:47am #2

Hello kewal,

You'll need to define yourself what you wanted augmented on your object upon its detection. If you have defined nothing, then only a detection will happen and no augmentation. You can reference the sample project for simple examples of adding an augmentation.

Thanks,

Vuforia Support

Log in or register to post comments