Hello,
I am not an expert in programming and I have a problem. I installed Vuforia SDK Android 2.8.7. Everything on Eclipse works good and I can create an App for Android using the Vuforia Samples 2.8.8. Now I'd like to replace the model "Buildings" with a customized model, in order to see a different 3d model with the "Extended Tracking" feature.
I am not good in programming, so I tried to look for all files named "Buildings" in the Vuforia folder, in order to overwrite them. I found these files:
Buildings.h
Buildings.jpeg
Buildings.txt
I have created an *.h file using Perl with Obj2OpenGL, so I overwrote Buildings.h and its texture Buildings.jpeg. The problem is:
1) What is Buildings.txt? What kind of information are written there?
2) When I tested my App, even if Buildings.h was overwritten, it was shown the old 3d model and not the new one I created. Why?
3) Is there another easy way to reach the same result?
Thanks a lot in advance!
Roocs.
Extended Tracking
Buildings.txt is a simple text file which contains a list of vertex and texture coordinates; it does not correspond to any specific 3D format (such as OBJ or other well-known formats), but is is simply a plain list of coordinates.
Extended Tracking
Thanks a lot for your kind reply.
Extended Tracking
To do this, you will need to implement an OBJ parser and extract the vertex arrays out of it, then save them to the txt file; however, writing an OBJ parser may be not so trivial to do, unless you have some familiarity with 3D formats and format parsing.
Extended Tracking
Unfortunally I do not have particular familiarity with 3d parsing.
Extended Tracking
The Image Target sample in the "Vuforia Samples" already show how to enable Extended Tracking, please have a look there.
Also, the developer guide contains the relevant information (you don't need to search for this on the Forums):