using unity 3d models in android application - android

i am working on an android AR application. In this app the user can place 3d model of a furniture and interact with these. i want to design these model in unity 3d. I am using vuforia sdk for app development. i also downloaded the vuforia unity extension for this purpose. But i don't know anything about using unity.
Now the problem is that i'm not sure that i can use the unity model in my application?
If not then which software should i use for designing these 3d models?

Unity is just a Game Engine. You can't use it to design your 3D models. You should use 3D modeling software such as 3Ds Max, Blender, Maya to model your 3D furniture and then import them into Unity.
After this, you may use Vuforia plugin for Unity to create your Augmented Reality app. Using Unity with Vuforia is just drag-and-drop if your application is not that complicated.
Check Vuforia Tutorial Series. It's really easy to follow.

Related

How to add Models in Camera View in Android Studio?

I'm developing Augmented Reality base Application in android.
In which I want to add model or image when camera view open.
How can I do that with Android Studio?
I know there are libraries like vuforia but I don't want to use library.
Do you want image recognition or just to place an image in an AR scene?
ARCore by Google supports augmented reality and allows you to orient the device in the world, but does not yet support image recognition, so no detecting an image. To do image recognition, you'll need to use an external library/service (like Vuforia which you mentioned above).
If you want to use iOS, ARKit 1.5 (coming out in iOS 11.3) will support Image Detection.
If you want to build cross platform, check out my company's product Viro React which enables you to build a cross-platform AR/VR application. We'll support both ARKit and ARCore features as they come out. It's free and easy to use!

How I can use unity render 3D model and native android?

I try to develop an app on AR, so the command way for developing app on AR is:
Unity and Vuforia.
Native android app and Vuforia.
The first way: I lose android App UI.
The second way: I lose unity render special in a complex model.
I fond another way to use android UI and unity render model by the export jar from unity app to the android studio but this way is slow and I need to export unity project in each time my list change.
I try WebGL but WebGL is not worked with Vuforia, and I can't find enough info about it.
How I can use unity render 3d model and native android without export data in each time data changed from unity to the android studio.

Is it possible to develop 2D games in Android Studio?

I have searched in the web and found very few material on this question. I've heard of Unity 3D and know that there are other tools. But I would like to know if it is possible to develop games in Android Studio? I'm learning Android development and Java, therefore don't want to jump into other language and platforms. However, if it is not efficient way then which one you would advice? Where to start?
Yes it's possible. You can make your own game by using game engine that freely available for Android.
You can use LibGDX. For the tutorial with Android Studio, you can read here.
Visit Sample 2D game with LibGDX
Yes of course it is possible. But there are some things you should know. Games made without a game engine are usually not as good as you might expect. You define the interaction of the objects in the game with each other with simple codes, but there are collider structures developed for this in game engines. In addition, while adding effects to the game is easy with the game engine, doing this without the game engine is more difficult and does not show a stable working performance.
here are some 2D game tutorials you can do without using a game engine
game-1
game-2

Google Cardboard simple App

I have created 3d models of some objects and see them correctly using cardboard through sketchfab.com without any difficulty.
I can see them as a VR model exactly what I wanted.
But I dont know how to create a standalone android app using my 3d model.
I am just looking for a template mobile application where I will place my model and see them as a mobile app through cardboard.
Any recommendation for an early start?
After lots of research, I found out the best solution is using Unity3D application. There are plugins to assist with cardboard app development. I created my first app very easily within minutes of using a demo carboard application. Now I am enjoying and learning Unity3D
The cardboard example? Might be a bit of hacking to chop out their block model and replace it with your art but it shouldn't be a mountain of work
https://github.com/googlesamples/cardboard-java

Computer Vision and AR libraries availabe for Android?

I am starting out as an Android Developer, and I would like to know if there are any Computer vision libraries or Augmented Reality libraries for the Android SDK, as I am planning to use these libraries for a mobile app.
I have read that if I download the NDK, I might be able to "import/use" the C openCV, and ARtoolkit libraries, but I am wondering if this is possible, or if there is a better and easier way of using these tools.
Android apps are programmed in Java, yet OpenCV & ARtoolkit use C/C++. Is there any way to use these libraries?
There are a number of wrappers for OpenCV available. For Java you might check JavaCV out.
To my knowledge, there is GSoC activity on AR with OpenCV on Android, but they seem to use C++.
Qualcomm is working on an Augmented Library for Android. As was mentioned opencv is also an option.
I would like to know if there are any
Computer vision libraries or Augmented
Reality libraries for the Android SDK
In the SDK? No. There are existing AR applications for Android (Layar, WIKITUDE) that you may wish to use as your foundation.
Is there any way to use these
libraries?
A quick search via Google turns up this and this.
Layar has made Layar Vision available to developers:
Layar Vision uses detection, tracking and computer vision techniques
to augment objects in the physical world. We can tell which objects in
the real world are augmented because the fingerprints of the object
are preloaded into the application based upon the user’s layer
selection. When a user aims their device at an object that matches the
fingerprint, we can quickly return the associated AR experience.
[...]
Layar Vision will be applied to the following Layar products:
6.0 version of Layar Reality browser on Android and iPhone iOS platforms.
iPhone Layar Player SDK v2.0.
The first release of an Android Layar Player SDK.
Layar Connect v2.0.
The simplest solution is to create a Vision layer, then use launcher creator for Android to create a layer launching app.
You can code in Java using OpenCV4Android, the official Android port of OpenCV. If you want to use native C++ OpenCV code, check out the Android NDK instead.
There's a new option for CV on Android, the Google Mobile Vision API. The API is exposed through com.google.android.gms.vision and lets you detect various types of objects (faces, barcodes, and facial features) given an arbitrary image bitmap.
In addition, Google provides the Cardboard VR library and a Unity plugin to make it easier for you to develop VR applications - such applications could include AR based on Mobile Vision if you integrated the phone's camera.
Now Google offers us 2 powerful SDKs: ARCore and ML Kit.
ARCore API has such important features as Augmented Images, Augmented Faces and Cloud Anchors. It supports Kotlin/Java languages, debugging apps on Emulator (AVD) and physically based rendering (PBR) with a help of Sceneform.
ML Kit API brings Google’s machine learning expertise to mobile developers in a powerful and easy-to-use package. Although ML Kit is still in beta stage it allows you to work with such important features as: Image Labelling, Text Recognition, Face Detection, Barcode Scanning, and Landmark Detection.

Categories

Resources