vuforia

Vuforia: it is possible play a Movie texture with alpha in iOS?

一曲冷凌霜 提交于 2019-12-02 09:07:50
问题 I'm trying to use a video with alpha channel, but all I get is the alpha channel as color black. I'm using the Vuforia video playback example. I hope I'm not missing any relevant info. Thanks in advance, any help will be appreciated :) 回答1: Vuforia plays video by using the built-in system video players (on iOS and Android) by setting them to output to a render texture. The system players do not support alpha channel video. You need to apply a chroma-key shader on the render texture to remove

How to keep tracked Image Target model object after tracking lost?

瘦欲@ 提交于 2019-12-02 04:32:44
I am developing AR application with Unity3d and Vuforia. I want to keep ImageTarget object that tracked found when It was lost. How to keep tracked Image Target model object after tracking lost? The script that handles what happens when tracking is lost is called DefaultTrackableEventHandler.cs and is found in Assets > Vuforia > Scripts. In that file you will find a function OnTrackingLost() This function disables all the renderComponents and colliderComponents for each of the children of the ImageTarget. If you want your object to stay visible comment out the following foreach loops like so:

Unity (Vuforia) project integrated in Android project shows a black screen on startup

喜你入骨 提交于 2019-11-30 10:54:18
My situation: I created an Android app and an AR Unity app that makes use of Vuforia 7.0.47. The Android app has lots of features, one of the features is the augmented reality made with Unity and Vuforia. In order to easily include and later on replace the Unity project in the Android project, I exported the Unity app to an Android Studio project and made it a library. After that I added the .aar file inside my Android project. All of this seems to be working as my Android project is able to detect the UnityPlayerActivity and is able to start an Intent. I now use the following code (a normal

How to convert Blender blend (or obj) file to Qualcom Vuforia .h file

末鹿安然 提交于 2019-11-30 06:32:48
问题 I'm developing an iOS app with augmented reality using Qualcomm Vuforia and I have difficulty in understanding how to create 3D models from Blender (or other softwares). All the examples use .h files with the coordinates of the vertices to generate i.e. a teapot. I can not find documentation useful for me. Is there a tool to convert .blend or .obj files to .h (OpenGL ES)? thanks 回答1: I developed a script called mtl2opengl that does exactly what you need, based on the project obj2opengl. The

ARKit and Vuforia - marker recognition

不羁岁月 提交于 2019-11-30 05:23:10
I'm working on an iOS app, I need to recognize a marker (most likely it will be QR code) and place some 3D content over it using ARKit. I was thinking about a combination of Vuforia and ARKit. Is it possible to use Vuforia only to recognize the marker and get its position, and then "pass" this data to ARKit? I need to recognize the marker in order to select corresponding 3D content. I need to get the position of the marker only ones, in order to place 3D content there, after that I want to use ARKit for tracking. Is it possible? Is there another solution for marker recognition which can be

Unity (Vuforia) project integrated in Android project shows a black screen on startup

一个人想着一个人 提交于 2019-11-29 15:46:57
问题 My situation: I created an Android app and an AR Unity app that makes use of Vuforia 7.0.47. The Android app has lots of features, one of the features is the augmented reality made with Unity and Vuforia. In order to easily include and later on replace the Unity project in the Android project, I exported the Unity app to an Android Studio project and made it a library. After that I added the .aar file inside my Android project. All of this seems to be working as my Android project is able to

Load AR-model through button tap in Android

早过忘川 提交于 2019-11-29 08:08:31
I have made a basic AR-app using Unity & Vuforia and exported it to Android, so I can add some activities there. When I scan the image with the AR-camera in the app, a model pops up. Nothing new there. What I want to achieve, is that when a user taps a button in some activity, lets say the text on the button is "Elephant", the AR-camera in the app opens, scans the image and loads a model of an Elephant. My question is: is this possible? Is it possible to load a model depending on the user-input? And if this is possible, what would be the best place to search for some documentation about it? I

ARKit and Vuforia - marker recognition

落花浮王杯 提交于 2019-11-29 03:40:11
问题 I'm working on an iOS app, I need to recognize a marker (most likely it will be QR code) and place some 3D content over it using ARKit. I was thinking about a combination of Vuforia and ARKit. Is it possible to use Vuforia only to recognize the marker and get its position, and then "pass" this data to ARKit? I need to recognize the marker in order to select corresponding 3D content. I need to get the position of the marker only ones, in order to place 3D content there, after that I want to

How to convert Blender blend (or obj) file to Qualcom Vuforia .h file

China☆狼群 提交于 2019-11-28 19:58:26
I'm developing an iOS app with augmented reality using Qualcomm Vuforia and I have difficulty in understanding how to create 3D models from Blender (or other softwares). All the examples use .h files with the coordinates of the vertices to generate i.e. a teapot. I can not find documentation useful for me. Is there a tool to convert .blend or .obj files to .h (OpenGL ES)? thanks I developed a script called mtl2opengl that does exactly what you need, based on the project obj2opengl . The script works with .obj and .mtl files, which I think can be exported straight from Blender, and produces .h

How do I create an AR marker for Vuforia / Unity?

白昼怎懂夜的黑 提交于 2019-11-28 11:42:24
This is a horribly basic question I know (!) but how do I create and import an AR marker into Unity? I know I am meant to do it through the Vuforia Marker Manager page. I have created a Target Database and I have downloaded the database, but how do I get the marker to display in Unity? Also: what exactly is a Target Database? Is that another name for 'marker'? To answer your question specifically, yes your Marker is your Target. So what you need to do is: Go to License Manager . Add a License Key choosing None as your License plan. Now go to Target Manager . Create a Database and add the