By binspaul
on Wed, 06/26/2013 - 12:46
Hi,
Is it possible to fetch the .dat and .xml files from a web url? What files should be worked with?
Thanks,
Binu Paul
Hi,
Is it possible to fetch the .dat and .xml files from a web url? What files should be worked with?
Thanks,
Binu Paul
DAT and XML files from web server
Hi, you cannot load them directly into Vuforia from a web |URL,
however, what you could do is:
- first download the .dat and.xml from the web and store them into your device esternal storage (i.e. the SD card)
DAT and XML files from web server
Hi,
I got a code for doing this from the url: http://stackoverflow.com/questions/3551821/android-write-to-sd-card-folder
DAT and XML files from web server
Nothing special, just use the QCAR::DataSet::load() method with the QCAR::DataSet::STORAGE_ABSOLUTE flag, somehtinglike:
dataset->load("mnt/sdcard/my_dataset.xml", QCAR::DataSet::STORAGE_ABSOLUTE);
DAT and XML files from web server
Hi,
I was able to pull the xml file from SD card. But, how can I pull the code and files for the 3D object from web? Is it possible to dynamically update the 3D object from web by setting new .h files and the value arrays?
Thanks,
Binu Paul
DAT and XML files from web server
Yes, you can download the files (3D model or other files ) to the SD card (how to dowload to SD card is not relevant to Vuforia SDK);
DAT and XML files from web server
Hello Al,
1. Will the 3D video work if I export to OBJ format? Or will have to use the video player if I need to show a 3D animation?
2. Also, what all files should I get from the 3D designer for using my own 3D model instead of teapot model?
Thanks,
Binu Paul
DAT and XML files from web server
3D animations need to be rendered with some OpenGL-base code that supports animations; note that the Vuforia samples rely on OpenGL but there
DAT and XML files from web server
Hello Al,
Thanks for confirming. So, if a simple 3D object is required, we can go for the image target concept and when a complex 3D animation.movie is required, we will have to go for Unity based implementation.
DAT and XML files from web server
One note: you mention "3D animation" and "movie" as if they were the same thing;
actually, a 3D animation is a rendered 3D model which is animated in 3D space, while a movie is something that can be played on a flat surface (like a video);
DAT and XML files from web server
Hello Al,
I was able to create some 3D models using Unity quickly. This is much faster and easy than with native coding. But, I think the native one will be more powerful and efficient.
Thanks,
Binu Paul