Log in or register to post comments

Help change 3d model and pic.

August 3, 2012 - 10:00pm #1

Hi all!

I am newbie. I just setup vuforia for android.

Now i want change 3d model to view, or change picture target.

I don't know how to do that.

Can you help me?

Sorry for me English.

 

Help change 3d model and pic.

August 14, 2012 - 8:19am #4

Please see our responses to your other post on this question.

Help change 3d model and pic.

August 14, 2012 - 5:08am #3

 

I have been stuck on the same thing for last 1 and half days, I try compiling Heinko's script obj2opengl with my triangulated 3dmodel which I exported for mac but I get this error:

Illegal division by zero at ./obj2opengl.pl line 294.

So I hard coded scalefac = 1 and commented out line 294. Then I tried ndk-build in ImageTarget folder after making changes in ImageTarget.cpp I get following in Terminal:

Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup : libs/armeabi-v7a/gdb.setup
Install : libImageTargets.so => libs/armeabi/libImageTargets.so
Install : libQCAR.so => libs/armeabi/libQCAR.so
Compile++ arm : ImageTargets <= ImageTargets.cpp
In file included from jni/ImageTargets.cpp:45:0:
jni/./posefour.h:33941:9: error: "vertices" is not a valid filename
jni/./posefour.h:67851:9: error: "vertex" is not a valid filename
jni/./posefour.h:135608:9: error: "faces" is not a valid filename
jni/./posefour.h:169532:9: error: "vertices" is not a valid filename
jni/./posefour.h:203442:9: error: "vertex" is not a valid filename
jni/./posefour.h:271199:9: error: "faces" is not a valid filename
In file included from jni/ImageTargets.cpp:15:0:
/Users/harshvardhan/Documents/Work/app/android-ndk-r8b/platforms/android-14/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4
In file included from jni/ImageTargets.cpp:45:0:
jni/./posefour.h:27:1: error: 'mtllib' was not declared in this scope
jni/./posefour.h:27:8: error: expected '}' before 'posefour'
jni/./posefour.h:27:8: error: expected ',' or ';' before 'posefour'
jni/./posefour.h:135613:1: error: expected declaration before '}' token
make: *** [obj/local/armeabi-v7a/objs-debug/ImageTargets/ImageTargets.o] Error 1

Here link to my 3dModel Files:
https://www.dropbox.com/sh/mz2ac79wnormm6d/zTHAem-y2W

Can you please suggest me how to get over these errors..??

Thanks for the help.

 

Help change 3d model and pic.

August 7, 2012 - 10:06am #2

Hello,

Please see this post for more information on replacing the teapot model https://ar.qualcomm.at/content/replace-3d-model-different-3d-model .

Please see this article in the dev guide for information on using the target management system to create your own trackables. https://ar.qualcomm.at/developer_guide/Target%20Management%20System

Thank you,

-Peter

Log in or register to post comments