By freedom667
on Thu, 05/03/2018 - 08:09
I'm developing an AR Book(s) application at Unity. I want to ask a question about it. Can i make the downloadable content for books? Because, there will be a lot of books in my AR app. If I make it as complete, then my app's size will be more than 500MB-1GB. I don't want it. So I want it like this; When the "Choose AR Book" Scene is come, I will choose any book and the book which chosen will download to app and phone cam will open, then I can hold the camera at downloaded Book. After that, the book's animations will play. How can i do this?
Sorry for my english. because my english not advanced. But I hope you get it.
Thanks.
Hello freedom667,
Hello freedom667,
You can store the datasets for each individual book on your own server and then download them to your app when the associated book has been selected in the app. You can then use the following code to load and activate the dataset:
user shoul download at once.
user should download at once. is this not always downloading, right? use will download at once and user can use offline.
Strasza wrote:
[quote=Strasza]
Hello freedom667,
You can store the datasets for each individual book on your own server and then download them to your app when the associated book has been selected in the app. You can then use the following code to load and activate the dataset:
My sample code does not
My sample code does not require a Cloud License as it does not interact with our Cloud Database. If you'd like to set up your own content delivery network you can use my example code to load and activate datasets you've downloaded.
Thanks,
Vuforia Support
Strasza wrote:
[quote=Strasza]
My sample code does not require a Cloud License as it does not interact with our Cloud Database. If you'd like to set up your own content delivery network you can use my example code to load and activate datasets you've downloaded.
Thanks,
Vuforia Support
The code sample I shared is
The code sample I shared is meant only as a small demonstration on how to load and activate a Vuforia dataset that you have in your project. You'll need to write your own code for downloading this from where you plan on storing it into your app.
Thanks,
Vuforia Support
hmm. actually I think you
hmm. actually I think you misunderstanded me. I want to store my Sprite, Animations, Sounds and maybe Scenes folders at Internet. when i click the button it will download at once and I can use the app as offline. I don't want to store dataset. Just these folders will store
This sort of functionality
This sort of functionality can be done within Unity, but is not an offering of the Vuforia SDK. I'd recommend reading their documentation and tutorials for doing this. Once you've downloaded this information you can associate it with Vuforia targets at run time as needed.
Thanks,