Log in or register to post comments

Add scaling & rotation buttons in user defined targets

January 8, 2014 - 3:53am #1

Hello all ,

I am new to vuforia. I am developing one of my application where i am using the reference from user defined target sample. Now , i need two buttons i.e. for scaling and rotation of the object. When i click on respective button i would like to scale and rotate my 3D object respectively. Can anyone help me with some code snippet or other guidelines that i can follow.

Thanks in advance.

- Jay

Add scaling & rotation buttons in user defined targets

January 9, 2014 - 9:12am #3

Thanks ! So still we need to use the perl script to convert our obj files to get the vertices , normals and coords as in teapot ? and the change is instead of header files the code is in native java files , right ?

 

Add scaling & rotation buttons in user defined targets

January 9, 2014 - 7:50am #2

Check this:

https://developer.vuforia.com/forum/faq/android-how-do-i-replace-teapot

This still refers to the samples in prior versions (prior to 2.8.7), but the general procdure and the relevant OpenGL code is basically the same (you just need to adapt it to Java). 

Note: in the new samples, the relevant rendering code is located in ImageTargetsRenderer.java.

 

Log in or register to post comments