I want to create an app similar to quiver for Android. That is i need to recognize the sketch from a color book and place a 3d model with simple animation on top of it. I was planing to use ARCore but most of the tutorials use scenefoam which is now deprecated and saw some suggestions that I should use Filament directly. I would like to be pointed to resources and tutorials that i need to go over in order to be able implement the basic features of the app (recognize a 2d image and place a 3d animated model on it without using scenefoam).
Related
I am a complete beginner with ARCore and I would like to ask if it is possible to display 3D objects using 3D coordinates and having the user as the origin? For example, having (x,y,z) values of (0,3,0) will display the 3D object to the right of the user.
First of all: There is no native implementation in ARCore for that!.
But you're not completely lost. There are some very useful libraries in Android like appoly. I've used this fork from Eric Neidhardt.
For iOS I only know this library based on ARKit.
You can also make a Unity3D app in C# and use AR Foundation and Vuforia Plug-in. This way is platform-independent, but imho testing is a pain.
You see, there are a few options out there, but be careful that none is really accurate!
I am currently trying to make a Drawing app for Android. I have already got the basic things up and running. Now I want to add 3d models to it so that users can select the models and paint on them and they can even make models in the app itself. I found Sceneform but it is primarily used for AR and I don't want to use AR. I would like to know if there is a way through which I may be able to achieve this or should I use some other framework for doing it. Any help would be welcome!
Sceneform supports 3D assets in the following formats:
OBJ
glTF (animations not supported)
FBX, with or without animations.
Please Reading.
https://developers.google.com/sceneform/develop/getting-started#import-sceneform-plugin
Sample Project
https://github.com/the3deers/android-3D-model-viewer
I'm building an android app in Android Studio and Kotlin that implements ARCore to render 3D models of bar charts. I need to render these models based on real time data obtained from an API, but I don't know if there is a way to modify a 3D model struture at runtime in order to make the bar chart reflect the real time data.
I'm aware of the possibility to render 3D models at runtime using Sceneform, as well as changing texture, but this doesn't seem to help me with my problem.
It may be worth considering whether you can use the animation functionality available for renderables to meet your needs - i.e. design your bar graph so that the changes you want are part of the animation design.
This will allow you use Sceneform's built in animationm support: https://developers.google.com/ar/develop/java/sceneform/animation/overview-enable-animations
Like 3D models the animations are created in advance and imported into the project when you are building it.
If your models are going to be relatively simple, you can also create simple renderables at runtime using ViewRenderable.builder() - this allows you refer to a layout or to a view created programatically where you can set the height for a bar in a graph for example. More info here: https://developers.google.com/ar/develop/java/sceneform/create-renderables
I need to implement location based app with augmented reality. I draw a model with simple interaction with it (that's why I've chosen LibGDX) and I need to place this model on some point at the real world.
My small research gave me some solutions (like this or this). But all of them use marker-based drawing, but I need to draw model on surface.
Could anyone help me?
Person from Google has made some effort with ARCore using Libgdx, and had created a blog:
Investigating ARCore with LibGDX
Take a look at BaseARCoreActivity, which we can use to show some 3D Modle defined in Libgdx.
I'm looking for a 'basic' AR SDK that allows me to draw images and 3D shapes around the user (no matter where he is). It would be even better if the SDK includes a simple way to detect interaction with the shapes (something like onClick).
I made a project from scratch on Android but there's still a lot of work to do and I'll need to do the same on iOS after... So that's why I'm looking for an SDK or a similar project (no matter what platform).
I tested Metaio but it's quite expensive and maybe overkill for my purpose because it uses LLA coordinates.
I tested DroidAR on Android but it's only for Android and it looks heavy too (don't need the GPS).
How about Qualcomm's Vuforia? I was able to quickly get a sample project running on it.
EDIT Looks like I was wrong about what it could do. According to this (which is slightly dated, so who knows) Metaio might be your only choice.
i really don't sure what you really want to do ..but if you simply show images or 3d models on camera without any detection you can achieve this very easily i am explaining for Android and you can extend it to ios on same logic.
first approach:
you have to use custom camera of Android in your app,then use any game engine as per your need..i will suggest Jpct-ae or Rajawali
they are very simple to integrate and can be used for 2d images and 3d models.
this tutorial will explains a lot
keep the gl-surafce transparent and you can have model floating in space ...
second approach :
to add some more effect to your AR app you can use sensor values to move model in 3d space as per movement of device..it gives a cool effect.
use first approach and additionally collect sensor values and apply that matrix to gl camera of your game engine..for sensor values follow here
good tutorial here..
i hope this may help you..i done these a long time ago but try to help if you want..