arcore

How to render objects in Just A Line AR App?

吃可爱长大的小学妹 提交于 2020-06-27 01:10:05
问题 I have to render objects over lines drawn in Just a Line AR App .But when i am trying to include arfragment, " app is not able to find a place to draw line ".Also when i am trying to include view renderable class for showing 2d texts into 3d scene,i am getting this error: "No implementation found for long com.google.android.filament.Stream.CreateBuilder()". Any idea on how to resolve this issue? 来源: https://stackoverflow.com/questions/62592904/how-to-render-objects-in-just-a-line-ar-app

Does ARCore supports SLAM and AreaLearning?

≯℡__Kan透↙ 提交于 2020-06-25 07:14:05
问题 I'm trying to achieve Indoor Navigation system in shopping mall or an office ? Is that possible using existing ARCore ? 回答1: Take a look at this, looks like you want to achieve something similar https://community.arm.com/graphics/b/blog/posts/indoor-real-time-navigation-with-slam-on-your-mobile 来源: https://stackoverflow.com/questions/50829218/does-arcore-supports-slam-and-arealearning

Changing Textures of Object in AR core in runtime

狂风中的少年 提交于 2020-06-25 05:37:27
问题 I am creating an app where I need to change textures(pattern) of my 3d object. I am using AR Core SDK and android. I have used the below code but it is not working. Texture.builder() .setSource(this,R.drawable.fabric3) .build() .thenAccept(t -> { BaseTransformableNode node = arFragment.getTransformationSystem().getSelectedNode(); if(node!=null){ node.getRenderable().getMaterial().setTexture("baseColorMap",t); } }); Documentation is also not helping me much. This is my SFA file { animations: [

Changing Textures of Object in AR core in runtime

南楼画角 提交于 2020-06-25 05:37:10
问题 I am creating an app where I need to change textures(pattern) of my 3d object. I am using AR Core SDK and android. I have used the below code but it is not working. Texture.builder() .setSource(this,R.drawable.fabric3) .build() .thenAccept(t -> { BaseTransformableNode node = arFragment.getTransformationSystem().getSelectedNode(); if(node!=null){ node.getRenderable().getMaterial().setTexture("baseColorMap",t); } }); Documentation is also not helping me much. This is my SFA file { animations: [

Error when importing Sceneform Asset for obj and gltf file

一曲冷凌霜 提交于 2020-05-29 11:58:08
问题 I get this error while importing Sceneform Asset: Gradle build failed with new import rules. Would you like to revert the changes? and the options are Revert and Keepbroken gradle changes. A error messege also pops up: Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V 回答1: I think it is a problem with Android studio 3.6, I reverted to 3.5.1 and the import worked fine. With 3.6 I got the

Error while importing FBX with Import Sceneform Asset in Android Studio 3.6

坚强是说给别人听的谎言 提交于 2020-05-23 08:55:06
问题 Im using a sceneform android sdk animation example project and am trying to import my own FBX for test. I add my fbx to sampledata/models and click on Import Sceneform Asset. Im getting an error ... "Gradle build failed with new import rules. Would you like to revert the changes?" In the event log window I get Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V Im using Android Studio 3.6

Error while importing FBX with Import Sceneform Asset in Android Studio 3.6

这一生的挚爱 提交于 2020-05-23 08:54:24
问题 Im using a sceneform android sdk animation example project and am trying to import my own FBX for test. I add my fbx to sampledata/models and click on Import Sceneform Asset. Im getting an error ... "Gradle build failed with new import rules. Would you like to revert the changes?" In the event log window I get Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V Im using Android Studio 3.6

Sceneform generates sfb files without colors

徘徊边缘 提交于 2020-04-30 08:47:20
问题 I have problem with the objects generated from Google Sceneform Tools ​(Beta)​ v1.13.0 in Android Studio. I downloaded the object ( .obj file ) from poly and imported to Blender to change the dimensions. After that exported again as .obj file . When I use it to generate .sfb file in Android Studio with Sceneform tools, the .sfb object that is generated is only black. Left is object ( .obj and .mtl ) imported in Blender , and right is generated .sfb file in AndroidStudio. Thanks in advance.

How to monitor my current position in ARCore and Sceneform?

自古美人都是妖i 提交于 2020-03-26 03:17:09
问题 In application with ARCore and Sceneform I need somehow monitor my (device, really) movement in ARCore space? As result I want to draw a ray from selected point ( Anchor / AnchorNode ) through my current position, or to calculate distance from selected point to here, and update them during movement. I have ideas, how to calculate or draw, but how to get updates? 回答1: First setup an On Update listener fragment.getArSceneView().getScene().addOnUpdateListener(frameTime -> { fragment.onUpdate

Tracking face mesh vertices of Augmented Faces (ARCore) regardless of rotation

╄→гoц情女王★ 提交于 2020-01-24 20:48:06
问题 I'm trying to track facial expressions such as eyebrow raise, smile, wink, etc. In ARKit I could use blendShapes (https://developer.apple.com/documentation/arkit/arfaceanchor/2928251-blendshapes) to detect the movement of the different parts of the face but in ARCore it doesn't exist yet. I've tried to access the mesh vertices which are relative to the center transform of the face but these change significantly with the rotation of the face. Is there a way to normalize the face landmark