Log in or register to post comments

How can I access "assets" folder in Imagetargets during operation in the phone?

March 31, 2011 - 8:56am #1

Title:How can I access "assets" folder in Imagetargets during operation in the phone?

Hi. I want to make an AR-appication using QCAR SDK.
Basiclly, I will use client-server networking.

Client(phone user) take a current picture and that image will send to web server that I made.
Then, Server will search the correct image and 3D-object. And server send to client files.
These files that client(smart phone) received are [.dat, .xml, .png, .h].

I don't wanna change QCAR sample code as possible as I can.
As a result, client have to be received four files.
These files are ".dat"(having information for trackable image), ".xml"(having information for tackable image name and size),
".png"(image for texture mapping), "[name].h" (having vertex for 3D object)instead of "teapot.h" in Imagetargets folder.

And then Application be re-started.
So, I guess that new target image and another new 3D-object are renewed.

How can I access "assets" folder in Imagetargets during operation?
And How can I make server-client AR application using QCAR SDK as possible as I don't change example codes?
Is it possible am I thinking?

I can't see to solve this problem anywhere.
Thank you for your attention.

Re: How can I access "assets" folder in Imagetargets during oper

April 4, 2011 - 5:10am #5

That's right, there is no way to replace this data at runtime.

- Kim

Re: How can I access "assets" folder in Imagetargets during oper

April 1, 2011 - 1:32am #4

I'm pretty sure those files are accessed from the pre-compiled closed source java classes so there's no way to replace these values at runtime.

Re: How can I access "assets" folder in Imagetargets during oper

March 31, 2011 - 10:58pm #3

Thanks to your reply Kim!
So, Can you tell me where are stored information of trackable?
I mean that the config.xml and qcar-resources.dat files information have to be stored some arrays.

If you tell me where are stored trackables information,
I am going to replace these values by new values(information of image)that I want to track.

Re: How can I access "assets" folder in Imagetargets during oper

March 31, 2011 - 1:13pm #2

This isn't currently possible, the config.xml and qcar-resources.dat files have to be present in the assets folder at compile time. There is no way to replace these files at runtime.

- Kim

Log in or register to post comments