├── Assets ├── Editor.meta ├── Editor │ ├── PostProcessBuildPlayer.meta │ ├── QCAR.meta │ └── QCAR │ │ ├── ImageTargetTextures.meta │ │ └── ImageTargetTextures │ │ ├── LizMobile.meta │ │ └── LizMobile │ │ ├── DrawPicture_Blank_scaled.jpg │ │ ├── DrawPicture_Blank_scaled.jpg.meta │ │ ├── DrawPicture_scaled.jpg │ │ └── DrawPicture_scaled.jpg.meta ├── Materials.meta ├── Materials │ ├── PaintingMat.mat │ ├── PaintingMat.mat.meta │ ├── ShowTextureMat.mat │ └── ShowTextureMat.mat.meta ├── Plugins.meta ├── Plugins │ ├── Android.meta │ ├── Android │ │ ├── AndroidManifest.xml │ │ ├── AndroidManifest.xml.meta │ │ ├── QCARUnityPlayer.jar │ │ ├── QCARUnityPlayer.jar.meta │ │ ├── Vuforia.jar │ │ ├── Vuforia.jar.meta │ │ ├── libs.meta │ │ ├── libs │ │ │ ├── armeabi-v7a.meta │ │ │ └── armeabi-v7a │ │ │ │ ├── libQCARUnityPlayer.so │ │ │ │ ├── libQCARUnityPlayer.so.meta │ │ │ │ ├── libQCARWrapper.so │ │ │ │ ├── libQCARWrapper.so.meta │ │ │ │ ├── libVuforia.so │ │ │ │ └── libVuforia.so.meta │ │ ├── src.meta │ │ └── src │ │ │ ├── com.meta │ │ │ └── com │ │ │ ├── qualcomm.meta │ │ │ └── qualcomm │ │ │ ├── QCARUnityPlayer.meta │ │ │ └── QCARUnityPlayer │ │ │ ├── DebugLog.java │ │ │ ├── DebugLog.java.meta │ │ │ ├── OrientationUtility.java │ │ │ ├── OrientationUtility.java.meta │ │ │ ├── QCARInitializer.java │ │ │ └── QCARInitializer.java.meta │ ├── Editor.meta │ ├── Editor │ │ ├── Unzip.js │ │ └── Unzip.js.meta │ ├── QCARWrapper.bundle.meta │ ├── QCARWrapper.bundle │ │ ├── Contents.meta │ │ └── Contents │ │ │ ├── Info.plist │ │ │ ├── Info.plist.meta │ │ │ ├── MacOS.meta │ │ │ ├── MacOS │ │ │ ├── QCARWrapper │ │ │ ├── QCARWrapper.meta │ │ │ ├── QCARWrapper.signature │ │ │ └── QCARWrapper.signature.meta │ │ │ ├── Resources.meta │ │ │ └── Resources │ │ │ ├── en.lproj.meta │ │ │ └── en.lproj │ │ │ ├── InfoPlist.strings │ │ │ └── InfoPlist.strings.meta │ ├── QCARWrapper.dll │ ├── QCARWrapper.dll.meta │ ├── QCARWrapper.dll.signature │ ├── QCARWrapper.dll.signature.meta │ ├── QCARWrapper.exp │ ├── QCARWrapper.exp.meta │ ├── QCARWrapper.lib │ ├── QCARWrapper.lib.meta │ ├── iOS.meta │ └── iOS │ │ ├── QCARUnityPlayer.h │ │ ├── QCARUnityPlayer.h.meta │ │ ├── VuforiaNativeRendererController.mm │ │ ├── VuforiaNativeRendererController.mm.meta │ │ ├── VuforiaRenderDelegate.h │ │ ├── VuforiaRenderDelegate.h.meta │ │ ├── VuforiaRenderDelegate.mm │ │ ├── VuforiaRenderDelegate.mm.meta │ │ ├── libQCARUnityPlayer.a │ │ ├── libQCARUnityPlayer.a.meta │ │ ├── libVuforia.a │ │ └── libVuforia.a.meta ├── Scenes.meta ├── Scenes │ ├── recognization_scene.unity │ ├── recognization_scene.unity.meta │ ├── scene.unity │ └── scene.unity.meta ├── Scripts.meta ├── Scripts │ ├── DrawModelScript.cs │ ├── DrawModelScript.cs.meta │ ├── RecognizerScript.cs │ └── RecognizerScript.cs.meta ├── Shaders.meta ├── Shaders │ ├── PaintingShader.shader │ ├── PaintingShader.shader.meta │ ├── ShowTextureShader.shader │ └── ShowTextureShader.shader.meta ├── StreamingAssets.meta ├── StreamingAssets │ ├── QCAR.meta │ └── QCAR │ │ ├── LizMobile.dat │ │ ├── LizMobile.dat.meta │ │ ├── LizMobile.xml │ │ └── LizMobile.xml.meta ├── Textures.meta ├── Textures │ ├── DrawPicture.jpg │ └── DrawPicture.jpg.meta ├── Vuforia.meta ├── Vuforia │ ├── Editor.meta │ ├── Editor │ │ ├── FrameMarkerTextures.meta │ │ ├── FrameMarkerTextures │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── framemarker_sample.mat │ │ │ │ └── framemarker_sample.mat.meta │ │ │ ├── frame-markers-transparent.zip │ │ │ ├── frame-markers-transparent.zip.meta │ │ │ ├── frameMarker_Sample.png │ │ │ └── frameMarker_Sample.png.meta │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── ComponentFactoryStarter.meta │ │ │ ├── ComponentFactoryStarter │ │ │ │ ├── ComponentFactoryStarter.cs │ │ │ │ └── ComponentFactoryStarter.cs.meta │ │ │ ├── ExtensionImport.cs │ │ │ ├── ExtensionImport.cs.meta │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.Editor.XML │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.Editor.XML.meta │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.Editor.dll │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.Editor.dll.meta │ │ │ ├── Unzipper.meta │ │ │ └── Unzipper │ │ │ │ ├── SharpZipLibUnzipper.cs │ │ │ │ └── SharpZipLibUnzipper.cs.meta │ │ ├── VirtualButtonTextures.meta │ │ ├── VirtualButtonTextures │ │ │ ├── VirtualButtonPreview.png │ │ │ ├── VirtualButtonPreview.png.meta │ │ │ ├── VirtualButtonPreviewMaterial.mat │ │ │ └── VirtualButtonPreviewMaterial.mat.meta │ │ ├── WebcamProfiles.meta │ │ └── WebcamProfiles │ │ │ ├── profiles.xml │ │ │ └── profiles.xml.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── SourceSansPro.ttf │ │ └── SourceSansPro.ttf.meta │ ├── Materials.meta │ ├── Materials │ │ ├── CloudRecoTarget.mat │ │ ├── CloudRecoTarget.mat.meta │ │ ├── DefaultTarget.mat │ │ ├── DefaultTarget.mat.meta │ │ ├── DepthMask.mat │ │ ├── DepthMask.mat.meta │ │ ├── EmulatorVideoBackground.mat │ │ ├── EmulatorVideoBackground.mat.meta │ │ ├── UserDefinedTarget.mat │ │ ├── UserDefinedTarget.mat.meta │ │ ├── VideoMaterial.mat │ │ └── VideoMaterial.mat.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── ARCamera.prefab │ │ ├── ARCamera.prefab.meta │ │ ├── CloudRecognition.prefab │ │ ├── CloudRecognition.prefab.meta │ │ ├── CylinderTarget.prefab │ │ ├── CylinderTarget.prefab.meta │ │ ├── FrameMarker.prefab │ │ ├── FrameMarker.prefab.meta │ │ ├── ImageTarget.prefab │ │ ├── ImageTarget.prefab.meta │ │ ├── MultiTarget.prefab │ │ ├── MultiTarget.prefab.meta │ │ ├── ObjectTarget.prefab │ │ ├── ObjectTarget.prefab.meta │ │ ├── SmartTerrain.meta │ │ ├── SmartTerrain │ │ │ ├── Prop.prefab │ │ │ ├── Prop.prefab.meta │ │ │ ├── SmartTerrain.prefab │ │ │ └── SmartTerrain.prefab.meta │ │ ├── TextRecognition.prefab │ │ ├── TextRecognition.prefab.meta │ │ ├── UserDefinedTargetBuilder.prefab │ │ ├── UserDefinedTargetBuilder.prefab.meta │ │ ├── VirtualButton.prefab │ │ ├── VirtualButton.prefab.meta │ │ ├── Word.prefab │ │ └── Word.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── BackgroundPlaneBehaviour.cs │ │ ├── BackgroundPlaneBehaviour.cs.meta │ │ ├── Cardboard.meta │ │ ├── CloudRecoBehaviour.cs │ │ ├── CloudRecoBehaviour.cs.meta │ │ ├── CylinderTargetBehaviour.cs │ │ ├── CylinderTargetBehaviour.cs.meta │ │ ├── DatabaseLoadBehaviour.cs │ │ ├── DatabaseLoadBehaviour.cs.meta │ │ ├── DefaultInitializationErrorHandler.cs │ │ ├── DefaultInitializationErrorHandler.cs.meta │ │ ├── DefaultSmartTerrainEventHandler.cs │ │ ├── DefaultSmartTerrainEventHandler.cs.meta │ │ ├── DefaultTrackableEventHandler.cs │ │ ├── DefaultTrackableEventHandler.cs.meta │ │ ├── GLErrorHandler.cs │ │ ├── GLErrorHandler.cs.meta │ │ ├── HideExcessAreaBehaviour.cs │ │ ├── HideExcessAreaBehaviour.cs.meta │ │ ├── ImageTargetBehaviour.cs │ │ ├── ImageTargetBehaviour.cs.meta │ │ ├── Internal.meta │ │ ├── Internal │ │ │ ├── AndroidUnityPlayer.cs │ │ │ ├── AndroidUnityPlayer.cs.meta │ │ │ ├── ComponentFactoryStarterBehaviour.cs │ │ │ ├── ComponentFactoryStarterBehaviour.cs.meta │ │ │ ├── IOSUnityPlayer.cs │ │ │ ├── IOSUnityPlayer.cs.meta │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.XML │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.XML.meta │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.dll │ │ │ ├── Qualcomm.Vuforia.UnityExtensions.dll.meta │ │ │ ├── VuforiaBehaviourComponentFactory.cs │ │ │ └── VuforiaBehaviourComponentFactory.cs.meta │ │ ├── KeepAliveBehaviour.cs │ │ ├── KeepAliveBehaviour.cs.meta │ │ ├── MarkerBehaviour.cs │ │ ├── MarkerBehaviour.cs.meta │ │ ├── MaskOutBehaviour.cs │ │ ├── MaskOutBehaviour.cs.meta │ │ ├── MultiTargetBehaviour.cs │ │ ├── MultiTargetBehaviour.cs.meta │ │ ├── ObjectTargetBehaviour.cs │ │ ├── ObjectTargetBehaviour.cs.meta │ │ ├── PropBehaviour.cs │ │ ├── PropBehaviour.cs.meta │ │ ├── ReconstructionBehaviour.cs │ │ ├── ReconstructionBehaviour.cs.meta │ │ ├── ReconstructionFromTargetBehaviour.cs │ │ ├── ReconstructionFromTargetBehaviour.cs.meta │ │ ├── SmartTerrainTrackerBehaviour.cs │ │ ├── SmartTerrainTrackerBehaviour.cs.meta │ │ ├── SurfaceBehaviour.cs │ │ ├── SurfaceBehaviour.cs.meta │ │ ├── TextRecoBehaviour.cs │ │ ├── TextRecoBehaviour.cs.meta │ │ ├── TurnOffBehaviour.cs │ │ ├── TurnOffBehaviour.cs.meta │ │ ├── TurnOffWordBehaviour.cs │ │ ├── TurnOffWordBehaviour.cs.meta │ │ ├── UserDefinedTargetBuildingBehaviour.cs │ │ ├── UserDefinedTargetBuildingBehaviour.cs.meta │ │ ├── VideoBackgroundBehaviour.cs │ │ ├── VideoBackgroundBehaviour.cs.meta │ │ ├── VideoTextureRenderer.cs │ │ ├── VideoTextureRenderer.cs.meta │ │ ├── VirtualButtonBehaviour.cs │ │ ├── VirtualButtonBehaviour.cs.meta │ │ ├── VuforiaBehaviour.cs │ │ ├── VuforiaBehaviour.cs.meta │ │ ├── WebCamBehaviour.cs │ │ ├── WebCamBehaviour.cs.meta │ │ ├── WireframeBehaviour.cs │ │ ├── WireframeBehaviour.cs.meta │ │ ├── WireframeTrackableEventHandler.cs │ │ ├── WireframeTrackableEventHandler.cs.meta │ │ ├── WordBehaviour.cs │ │ └── WordBehaviour.cs.meta │ ├── Shaders.meta │ ├── Shaders │ │ ├── BrightTexture.shader │ │ ├── BrightTexture.shader.meta │ │ ├── DepthMask.shader │ │ ├── DepthMask.shader.meta │ │ ├── RenderVideoBackground.shader │ │ ├── RenderVideoBackground.shader.meta │ │ ├── Text3D.shader │ │ ├── Text3D.shader.meta │ │ ├── VertexLitWithZ.shader │ │ ├── VertexLitWithZ.shader.meta │ │ ├── VideoBackground.shader │ │ └── VideoBackground.shader.meta │ ├── Textures.meta │ └── Textures │ │ ├── CloudRecoTarget.png │ │ ├── CloudRecoTarget.png.meta │ │ ├── UserDefinedTarget.png │ │ ├── UserDefinedTarget.png.meta │ │ ├── VideoBackground.png │ │ └── VideoBackground.png.meta ├── license_3rdpartynotice.txt ├── license_3rdpartynotice.txt.meta ├── link.xml ├── link.xml.meta ├── readme_SDK.txt └── readme_SDK.txt.meta ├── PaintModel.v12.suo ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset └── UnityAnalyticsManager.asset └── README.md /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c95c077408719644cbd06c86d0968e08 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/PostProcessBuildPlayer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 657f36336a7caa04cb812844dbecffcd 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Editor/QCAR.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e885faee643e2b540989f4d261b71025 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef9e51dc220150e4986a007c16c748f9 3 | folderAsset: yes 4 | timeCreated: 1447141753 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures/LizMobile.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20d2bbee9b429624f8b8cc5040a55199 3 | folderAsset: yes 4 | timeCreated: 1447141753 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_Blank_scaled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_Blank_scaled.jpg -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_Blank_scaled.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f5ab68d74cf4fb2bd8a6c9450eb5fd5 3 | -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_scaled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_scaled.jpg -------------------------------------------------------------------------------- /Assets/Editor/QCAR/ImageTargetTextures/LizMobile/DrawPicture_scaled.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0b972df700b431696efc8475b8abbf9 3 | -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 199de2785845bf74484551625ce663b4 3 | folderAsset: yes 4 | timeCreated: 1446109580 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/PaintingMat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Materials/PaintingMat.mat -------------------------------------------------------------------------------- /Assets/Materials/PaintingMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a1895655d59e8147bec3cd9f0756fca 3 | timeCreated: 1446110830 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/ShowTextureMat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Materials/ShowTextureMat.mat -------------------------------------------------------------------------------- /Assets/Materials/ShowTextureMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5f8f186a4c6fdb49802c0fd3508fc9c 3 | timeCreated: 1447144616 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 766e87ad40a06454ebc4718d85903a05 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38215db304795844fbd481441b96ab12 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 16 | 17 | 18 | 19 | 20 | 21 | 26 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 39 | 40 | 45 | 46 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d59e4530ec838c4ebe8393eb727fe17 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/QCARUnityPlayer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/Android/QCARUnityPlayer.jar -------------------------------------------------------------------------------- /Assets/Plugins/Android/QCARUnityPlayer.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f70ee142f8a5bf342a4ad27f3de13288 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/Vuforia.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/Android/Vuforia.jar -------------------------------------------------------------------------------- /Assets/Plugins/Android/Vuforia.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d95002d75bbcc2479fa857f6ee574db 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52f91c440183d314bab7f72e9a6f5706 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2812eb4b81814e94cbe4613539d970c3 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libQCARUnityPlayer.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/Android/libs/armeabi-v7a/libQCARUnityPlayer.so -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libQCARUnityPlayer.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a45bcc6a7368b146a851bfbcb7cae92 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libQCARWrapper.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/Android/libs/armeabi-v7a/libQCARWrapper.so -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libQCARWrapper.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67cca9f1c4f5e7946a8c762ed10b24d3 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libVuforia.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/Android/libs/armeabi-v7a/libVuforia.so -------------------------------------------------------------------------------- /Assets/Plugins/Android/libs/armeabi-v7a/libVuforia.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9657259cc58bf54498aade31ad5623a9 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aed68b3e3d40db34eb1195210ace37f3 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | PluginImporter: 7 | serializedVersion: 1 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | userData: 16 | assetBundleName: 17 | assetBundleVariant: 18 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e927090cc2c1eaf40b922be4b71bf3d7 3 | folderAsset: yes 4 | timeCreated: 1446110629 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 680202f9f42be9d449b75f6cb183d3ab 3 | folderAsset: yes 4 | timeCreated: 1446110629 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a8268c3ba526c74180e23b3149d0454 3 | folderAsset: yes 4 | timeCreated: 1446110629 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/DebugLog.java: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2010-2011 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | package com.qualcomm.QCARUnityPlayer; 7 | 8 | import android.util.Log; 9 | 10 | /** DebugLog is a support class for the QCAR samples applications. 11 | * 12 | * Exposes functionality for logging. 13 | * 14 | * */ 15 | public class DebugLog 16 | { 17 | private static final String LOGTAG = "QCAR"; 18 | 19 | /** Logging functions to generate ADB logcat messages. */ 20 | 21 | public static final void LOGE(String nMessage) 22 | { 23 | Log.e(LOGTAG, nMessage); 24 | } 25 | 26 | public static final void LOGW(String nMessage) 27 | { 28 | Log.w(LOGTAG, nMessage); 29 | } 30 | 31 | public static final void LOGD(String nMessage) 32 | { 33 | Log.d(LOGTAG, nMessage); 34 | } 35 | 36 | public static final void LOGI(String nMessage) 37 | { 38 | Log.i(LOGTAG, nMessage); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/DebugLog.java.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66c37da2c16b6d945ac8c73b6575250e 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/OrientationUtility.java: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | 7 | package com.qualcomm.QCARUnityPlayer; 8 | 9 | import android.app.Activity; 10 | import android.content.Context; 11 | import android.content.pm.ActivityInfo; 12 | import android.content.res.Configuration; 13 | import android.os.Build; 14 | import android.util.DisplayMetrics; 15 | import android.view.Display; 16 | import android.view.Surface; 17 | import android.view.WindowManager; 18 | 19 | /* On some devices specific orientations are not supported if "autorotation" is not enabled in the screen settings. 20 | * Unity will still report the unsupported orientation at runtime via Screen.orientation, which will lead to inconsitencies 21 | * in video background rendering. Querying the actual orientation from the Activity resolves the problem. 22 | **/ 23 | public class OrientationUtility 24 | { 25 | // The values here need to match those in Tracker.h 26 | static final int SCREEN_ORIENTATION_UNKNOWN = 0; 27 | static final int SCREEN_ORIENTATION_PORTRAIT = 1; 28 | static final int SCREEN_ORIENTATION_PORTRAITUPSIDEDOWN = 2; 29 | static final int SCREEN_ORIENTATION_LANDSCAPELEFT = 3; 30 | static final int SCREEN_ORIENTATION_LANDSCAPERIGHT = 4; 31 | 32 | public static int getSurfaceOrientation(Activity activity) 33 | { 34 | 35 | // Sanity check: 36 | if (activity == null) 37 | { 38 | return -1; // invalid value 39 | } 40 | 41 | Configuration config = activity.getResources().getConfiguration(); 42 | Display display = ((WindowManager)activity.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); 43 | 44 | int displayRotation; 45 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) 46 | { 47 | displayRotation = display.getRotation(); // only available from Froyo 48 | } 49 | else 50 | { 51 | displayRotation = display.getOrientation(); 52 | } 53 | 54 | int activityOrientation = SCREEN_ORIENTATION_UNKNOWN; 55 | 56 | switch (config.orientation) 57 | { 58 | case Configuration.ORIENTATION_PORTRAIT: 59 | case Configuration.ORIENTATION_SQUARE: 60 | activityOrientation = ( (displayRotation == Surface.ROTATION_0 || displayRotation == Surface.ROTATION_270) ? SCREEN_ORIENTATION_PORTRAIT : SCREEN_ORIENTATION_PORTRAITUPSIDEDOWN ); 61 | break; 62 | 63 | case Configuration.ORIENTATION_LANDSCAPE: 64 | activityOrientation = ( (displayRotation == Surface.ROTATION_0 || displayRotation == Surface.ROTATION_90) ? SCREEN_ORIENTATION_LANDSCAPELEFT : SCREEN_ORIENTATION_LANDSCAPERIGHT); 65 | break; 66 | 67 | case Configuration.ORIENTATION_UNDEFINED: 68 | default: 69 | break; 70 | } 71 | 72 | return activityOrientation; 73 | } 74 | 75 | } 76 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/OrientationUtility.java.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aafdbde4651fac04f9e9c2a027e12329 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/QCARInitializer.java: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | 7 | package com.qualcomm.QCARUnityPlayer; 8 | 9 | import android.app.Activity; 10 | import android.content.Context; 11 | import android.content.pm.ActivityInfo; 12 | import android.content.res.Configuration; 13 | import android.os.Build; 14 | import android.util.DisplayMetrics; 15 | import android.view.Display; 16 | import android.view.Surface; 17 | import android.view.WindowManager; 18 | 19 | import com.qualcomm.QCAR.QCAR; 20 | 21 | /* This class is responsible for initializing and deinitializting QCAR from Java. 22 | * The initQCAR and deinitQCAR methods are invoked from C# 23 | **/ 24 | public class QCARInitializer 25 | { 26 | // Name of the native dynamic libraries to load: 27 | private static final String NATIVE_LIB_UNITYPLAYER = "QCARUnityPlayer"; 28 | private static final String NATIVE_LIB_QCARWRAPPER = "QCARWrapper"; 29 | private static final String NATIVE_LIB_QCAR = "Vuforia"; 30 | 31 | /** Native platform initialization prior to QCAR initialization */ 32 | private static native void initPlatformNative(); 33 | 34 | /** Load native libraries stored in "libs/armeabi*" */ 35 | public static void loadNativeLibraries() 36 | { 37 | loadLibrary(NATIVE_LIB_QCAR); 38 | loadLibrary(NATIVE_LIB_QCARWRAPPER); 39 | loadLibrary(NATIVE_LIB_UNITYPLAYER); 40 | } 41 | 42 | // initializes platform specific aspects of QCAR. 43 | public static void initPlatform() 44 | { 45 | // Carry out native platform initialization: 46 | initPlatformNative(); 47 | } 48 | 49 | 50 | // initializes QCAR. This is a blocking call that is invoked from c# - Unity will prevent an ANR. 51 | public static int initQCAR(Activity activity, String licenseKey) 52 | { 53 | DebugLog.LOGD("Initializing Vuforia..."); 54 | 55 | // Always set GLES 2.0 - GLES 1.x is no longer supported. 56 | QCAR.setInitParameters(activity, QCAR.GL_20, licenseKey); 57 | 58 | int progressValue = -1; 59 | 60 | do 61 | { 62 | // QCAR.init() blocks until an initialization step is complete, 63 | // then it proceeds to the next step and reports progress in 64 | // percents (0 ... 100%) 65 | // If QCAR.init() returns -1, it indicates an error. 66 | // Initialization is done when progress has reached 100%. 67 | progressValue = QCAR.init(); 68 | 69 | // We check whether the task has been canceled in the meantime 70 | // (by calling AsyncTask.cancel(true)) 71 | // and bail out if it has, thus stopping this thread. 72 | // This is necessary as the AsyncTask will run to completion 73 | // regardless of the status of the component that started is. 74 | } while (progressValue >= 0 && progressValue < 100); 75 | 76 | if (progressValue < 0) 77 | { 78 | DebugLog.LOGE("QCAR initialization failed"); 79 | 80 | return progressValue; 81 | } 82 | 83 | return 0; 84 | } 85 | 86 | 87 | /** A helper for loading native libraries stored in "libs/armeabi*". */ 88 | private static boolean loadLibrary(String nLibName) 89 | { 90 | try 91 | { 92 | System.loadLibrary(nLibName); 93 | //DebugLog.LOGI("Native library lib" + nLibName + ".so loaded"); 94 | return true; 95 | } 96 | catch (UnsatisfiedLinkError ulee) 97 | { 98 | DebugLog.LOGE("The library lib" + nLibName + 99 | ".so could not be loaded: " + ulee.toString()); 100 | } 101 | catch (SecurityException se) 102 | { 103 | DebugLog.LOGE("The library lib" + nLibName + 104 | ".so was not allowed to be loaded"); 105 | } 106 | 107 | return false; 108 | } 109 | } -------------------------------------------------------------------------------- /Assets/Plugins/Android/src/com/qualcomm/QCARUnityPlayer/QCARInitializer.java.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49048ba3fbc07414490cd50d20595ca9 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6d35d497812b054a97426280bfc93d9 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/Unzip.js: -------------------------------------------------------------------------------- 1 | import System.IO.File; 2 | import System.IO.Stream; 3 | import ICSharpCode.SharpZipLib.Core; 4 | import ICSharpCode.SharpZipLib.Zip; 5 | 6 | // this script unzips a container at a given path and returns a input stream to a given file in this container 7 | public static function Unzip(path : String, fileName : String) 8 | { 9 | var fileStream = OpenRead(path); 10 | var zipFile = new ZipFile(fileStream); 11 | 12 | for (var zipEntry : ZipEntry in zipFile) 13 | { 14 | if (zipEntry.Name == fileName) 15 | { 16 | return zipFile.GetInputStream(zipEntry); 17 | } 18 | } 19 | 20 | return; 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/Unzip.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f54febfb15e5df64f827c332db70b564 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d73a60698ef9ee14eacfd9a3de6d5d14 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | PluginImporter: 7 | serializedVersion: 1 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | userData: 16 | assetBundleName: 17 | assetBundleVariant: 18 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfc191c7511822749b81f83b4a4a0a15 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 13F34 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | QCARWrapper 11 | CFBundleIdentifier 12 | com.qualcomm.qcar.testapps.QCARWrapper 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | QCARWrapper 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | CFPlugInDynamicRegisterFunction 26 | 27 | CFPlugInDynamicRegistration 28 | NO 29 | CFPlugInFactories 30 | 31 | 00000000-0000-0000-0000-000000000000 32 | MyFactoryFunction 33 | 34 | CFPlugInTypes 35 | 36 | 00000000-0000-0000-0000-000000000000 37 | 38 | 00000000-0000-0000-0000-000000000000 39 | 40 | 41 | CFPlugInUnloadFunction 42 | 43 | DTCompiler 44 | com.apple.compilers.llvm.clang.1_0 45 | DTPlatformBuild 46 | 6A2008a 47 | DTPlatformVersion 48 | GM 49 | DTSDKBuild 50 | 13F26 51 | DTSDKName 52 | macosx10.9 53 | DTXcode 54 | 0611 55 | DTXcodeBuild 56 | 6A2008a 57 | NSHumanReadableCopyright 58 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Proprietary - Qualcomm Connected Experiences, Inc. 59 | 60 | 61 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Info.plist.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2df0806ab39059c4fb52dc8a60f6f1dc 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/MacOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a3d6dcd12bfbe14d85a609b5cf0e0bb 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49976b0fc97f45d49bbe8ae86523bed5 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper.signature -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/MacOS/QCARWrapper.signature.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5f0c72c62e7e304eb8554860505626e 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdc33d76619057649bae21e938b5d0a5 3 | folderAsset: yes 4 | timeCreated: 1446110629 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Resources/en.lproj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a556ba5f30fed54abe84205a12f56b1 3 | folderAsset: yes 4 | timeCreated: 1446110629 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Resources/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.bundle/Contents/Resources/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.bundle/Contents/Resources/en.lproj/InfoPlist.strings.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0113d7d82425310498ac4a87defa9c2c 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.dll -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5488f344ac6c9b84ea7edfc64c64329e 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.dll.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.dll.signature -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.dll.signature.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61b25ea39b399e74db1bb968b0b6fb9f 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.exp -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.exp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46740141f2be913418bdf3c485deb141 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/QCARWrapper.lib -------------------------------------------------------------------------------- /Assets/Plugins/QCARWrapper.lib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 842ad3426c5c4ac4f97be568ff27271d 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28d7c933f243d50478f7ce0b317dfa42 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/QCARUnityPlayer.h: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ============================================================================*/ 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" 10 | { 11 | #endif 12 | 13 | int getRotationFlag(int screenOrientation); 14 | void setPlatFormNative(); 15 | int initQCARiOS(int ScreenOrientation, const char* licenseKey); 16 | void setSurfaceOrientationiOS(int orientation); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif -------------------------------------------------------------------------------- /Assets/Plugins/iOS/QCARUnityPlayer.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02d20cba094a85741a6836c407d1aed9 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaNativeRendererController.mm: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | #import "UnityAppController.h" 7 | #import "VuforiaRenderDelegate.h" 8 | 9 | 10 | // Unity native rendering callback plugin mechanism is only supported 11 | // from version 4.5 onwards 12 | #if UNITY_VERSION>434 13 | 14 | // Exported methods for native rendering callback 15 | extern "C" void VuforiaRenderEvent(int marker); 16 | 17 | #endif 18 | 19 | // Controller to support native rendering callback 20 | @interface VuforiaNativeRendererController : UnityAppController 21 | { 22 | } 23 | - (void)shouldAttachRenderDelegate; 24 | @end 25 | 26 | @implementation VuforiaNativeRendererController 27 | 28 | - (void)shouldAttachRenderDelegate 29 | { 30 | self.renderDelegate = [[VuforiaRenderDelegate alloc] init]; 31 | 32 | // Unity native rendering callback plugin mechanism is only supported 33 | // from version 4.5 onwards 34 | #if UNITY_VERSION>434 35 | UnityRegisterRenderingPlugin(NULL, &VuforiaRenderEvent); 36 | #endif 37 | } 38 | @end 39 | 40 | 41 | IMPL_APP_CONTROLLER_SUBCLASS(VuforiaNativeRendererController) -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaNativeRendererController.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9666a0866d4138645ad0a5924f91e5ee 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaRenderDelegate.h: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | 7 | #import "PluginBase/RenderPluginDelegate.h" 8 | 9 | // Controller to support native rendering callback 10 | @interface VuforiaRenderDelegate : NSObject 11 | @end -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaRenderDelegate.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52beab4a9c70b3144baeb2cd8e52a671 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaRenderDelegate.mm: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | ============================================================================*/ 5 | 6 | 7 | #import "VuforiaRenderDelegate.h" 8 | 9 | // Exported methods for setting surface recreated flag 10 | extern "C" void setSurfaceRecreated(); 11 | 12 | @implementation VuforiaRenderDelegate 13 | 14 | - (void)mainDisplayInited:(struct UnityRenderingSurface*)surface 15 | { 16 | } 17 | 18 | - (void)onAfterMainDisplaySurfaceRecreate 19 | { 20 | setSurfaceRecreated(); 21 | } 22 | @end 23 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/VuforiaRenderDelegate.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a50530df4ce564e4e80d48a1de1e5367 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/libQCARUnityPlayer.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/iOS/libQCARUnityPlayer.a -------------------------------------------------------------------------------- /Assets/Plugins/iOS/libQCARUnityPlayer.a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 175e6339bdfe225499f3e8ffdb7cda93 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/libVuforia.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Plugins/iOS/libVuforia.a -------------------------------------------------------------------------------- /Assets/Plugins/iOS/libVuforia.a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55f71173bbb3ab3459f614468c78afe2 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e133770b5b70ed4abc8a117c2be412f 3 | folderAsset: yes 4 | timeCreated: 1446111481 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/recognization_scene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Scenes/recognization_scene.unity -------------------------------------------------------------------------------- /Assets/Scenes/recognization_scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a54eb22d1e4b534195100d6d0db5974 3 | timeCreated: 1447141561 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Scenes/scene.unity -------------------------------------------------------------------------------- /Assets/Scenes/scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1208fe292912a4d41a1ad9f7a2fadddf 3 | timeCreated: 1446111487 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58381085652ea5a43a9c812dd35c0c07 3 | folderAsset: yes 4 | timeCreated: 1446109539 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/DrawModelScript.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Security.Cryptography.X509Certificates; 4 | 5 | public class DrawModelScript : MonoBehaviour { 6 | public Renderer renderer; 7 | public Material cubeMat; 8 | //懒于计算识别图的四个顶点……所以要用找几个物体来标识这个位置 9 | public Transform[] marks; 10 | 11 | public Camera camera; 12 | private int frameCount; 13 | private bool isFixedTexture; 14 | 15 | 16 | 17 | private Vector2 _webcamTex2ScreenScale; 18 | 19 | // Use this for initialization 20 | void Start() { 21 | frameCount = 0; 22 | isFixedTexture = false; 23 | } 24 | 25 | // Update is called once per frame 26 | void Update() { 27 | if (!isFixedTexture) { 28 | //一开始BackgroundPlane的Texture并非摄像头的图像……等一会儿再设置。 29 | if (frameCount++ <= 30) return; 30 | isFixedTexture = true; 31 | var texture = renderer.material.mainTexture; 32 | cubeMat.mainTexture = texture; 33 | 34 | var maxScale = Mathf.Max((float)Screen.width / texture.width, (float)Screen.height / texture.height); 35 | 36 | var t2sWidth = texture.width * maxScale; 37 | var t2sHeight = texture.height * maxScale; 38 | 39 | _webcamTex2ScreenScale.x = Screen.width / t2sWidth; 40 | _webcamTex2ScreenScale.y = Screen.height / t2sHeight; 41 | } 42 | 43 | UpdateMatrix(); 44 | 45 | } 46 | 47 | void UpdateMatrix() { 48 | var p0 = AdjustUV(camera.WorldToViewportPoint(marks[0].position)); 49 | var p1 = AdjustUV(camera.WorldToViewportPoint(marks[1].position)); 50 | var p2 = AdjustUV(camera.WorldToViewportPoint(marks[2].position)); 51 | var p3 = AdjustUV(camera.WorldToViewportPoint(marks[3].position)); 52 | 53 | cubeMat.SetVector("p0", p0); 54 | cubeMat.SetVector("p1", p1); 55 | cubeMat.SetVector("p2", p2); 56 | cubeMat.SetVector("p3", p3); 57 | } 58 | 59 | Vector3 AdjustUV(Vector3 v) { 60 | var webcamX = FixWebcamTextureToScreenUV(v.x, _webcamTex2ScreenScale.x); 61 | var webcamY = FixWebcamTextureToScreenUV(v.y, _webcamTex2ScreenScale.y); 62 | return new Vector3(webcamX * v.z, (1 - webcamY) * v.z, v.z); 63 | } 64 | 65 | float FixWebcamTextureToScreenUV(float value, float scale) { 66 | return (1.0f - scale) * 0.5f + value * scale; 67 | } 68 | } -------------------------------------------------------------------------------- /Assets/Scripts/DrawModelScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 893cd4daba1207f47a5c1711a4e1e619 3 | timeCreated: 1446109545 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/RecognizerScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b53d40536a6b77f49a7bbcacdf0ed242 3 | timeCreated: 1447141969 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21941d21b7543464885e5daa63b3168f 3 | folderAsset: yes 4 | timeCreated: 1446109539 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/PaintingShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/PaintingShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | } 7 | SubShader 8 | { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 100 11 | 12 | 13 | Pass 14 | { 15 | CGPROGRAM 16 | #pragma vertex vert 17 | #pragma fragment frag 18 | 19 | #include "UnityCG.cginc" 20 | 21 | struct appdata 22 | { 23 | float4 vertex : POSITION; 24 | float2 uv : TEXCOORD0; 25 | }; 26 | 27 | struct v2f 28 | { 29 | float2 uv : TEXCOORD0; 30 | float4 vertex : SV_POSITION; 31 | }; 32 | 33 | sampler2D _MainTex; 34 | float4 p0; 35 | float4 p1; 36 | float4 p2; 37 | float4 p3; 38 | 39 | v2f vert (appdata v) 40 | { 41 | v2f o; 42 | o.vertex = mul(UNITY_MATRIX_MVP, v.vertex); 43 | o.uv.x = v.uv.x * 0.25; 44 | o.uv.y = v.uv.y * 0.25 + 0.75; 45 | return o; 46 | } 47 | 48 | fixed4 frag (v2f i) : SV_Target 49 | { 50 | float2 mid; 51 | float3 newUV; 52 | 53 | if (i.uv.x + i.uv.y >= 1) { 54 | mid = i.uv; 55 | newUV = p0 * (1 - mid.x - mid.y) + p1 * mid.x + p2 * mid.y; 56 | } else { 57 | mid = float2(1 - i.uv.y, i.uv.x + i.uv.y - 1); 58 | newUV = p2 * (1 - mid.x - mid.y) + p1 * mid.x + p3 * mid.y; 59 | } 60 | 61 | return tex2D(_MainTex, newUV.xy / newUV.zz); 62 | } 63 | 64 | ENDCG 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Assets/Shaders/PaintingShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1262493e69e261d4a9a19873ad1c2906 3 | timeCreated: 1446110865 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/ShowTextureShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/ShowTextureShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | } 7 | SubShader 8 | { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 100 11 | 12 | Pass 13 | { 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | #include "UnityCG.cginc" 19 | 20 | struct appdata 21 | { 22 | float4 vertex : POSITION; 23 | float2 uv : TEXCOORD0; 24 | }; 25 | 26 | struct v2f 27 | { 28 | float2 uv : TEXCOORD0; 29 | float4 vertex : SV_POSITION; 30 | }; 31 | 32 | sampler2D _MainTex; 33 | float4 _MainTex_ST; 34 | 35 | v2f vert (appdata v) 36 | { 37 | v2f o; 38 | o.vertex = mul(UNITY_MATRIX_MVP, v.vertex); 39 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 40 | return o; 41 | } 42 | 43 | fixed4 frag (v2f i) : SV_Target 44 | { 45 | fixed4 col = tex2D(_MainTex, i.uv); 46 | 47 | //return float4(i.uv, 0, 1); 48 | #if UNITY_UV_STARTS_AT_TOP 49 | return float4(1, 0, 0, 1); 50 | #else 51 | return float4(0, 1, 0, 1); 52 | #endif 53 | } 54 | ENDCG 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Shaders/ShowTextureShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4319750953d071d48a5003d86eb649af 3 | timeCreated: 1447144609 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/StreamingAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a4d45ec1addc3444b7b8388d8e9207c 3 | folderAsset: yes 4 | timeCreated: 1447141753 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/QCAR.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b6cc940865a67b48903ac72f54c9c5e 3 | folderAsset: yes 4 | timeCreated: 1447141753 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/QCAR/LizMobile.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/StreamingAssets/QCAR/LizMobile.dat -------------------------------------------------------------------------------- /Assets/StreamingAssets/QCAR/LizMobile.dat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74eb97df7c6742a98322c8a5890cb448 3 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/QCAR/LizMobile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/QCAR/LizMobile.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e132d299425f48778dd57276dc137769 3 | -------------------------------------------------------------------------------- /Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8c65bc1a8eaf154dbc9e28dca67690c 3 | folderAsset: yes 4 | timeCreated: 1446109539 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Textures/DrawPicture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Textures/DrawPicture.jpg -------------------------------------------------------------------------------- /Assets/Textures/DrawPicture.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18ea6ef2895816542b0b87cf373db40a 3 | timeCreated: 1446109545 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Vuforia.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e9a5fa6fa33b3d41a824ea81184be75 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad13f0d0e92d64b4492fa254b6d6bc2c 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18962bcfbbf322941bde2563ec173bfe 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dfe78af602a93d4e8fb17797108557b 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/Materials/framemarker_sample.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: framemarker_sample 10 | m_Shader: {fileID: 7, guid: 0000000000000000e000000000000000, type: 0} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 2800000, guid: 576784faa64e74d1582fd26998e51a03, type: 1} 19 | m_Scale: {x: 1, y: 1} 20 | m_Offset: {x: 0, y: 0} 21 | data: 22 | first: 23 | name: _BumpMap 24 | second: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | m_Floats: 29 | data: 30 | first: 31 | name: _Shininess 32 | second: .078125 33 | m_Colors: 34 | data: 35 | first: 36 | name: _Color 37 | second: {r: 1, g: 1, b: 1, a: 1} 38 | data: 39 | first: 40 | name: _SpecColor 41 | second: {r: .5, g: .5, b: .5, a: 1} 42 | --- !u!1002 &2100001 43 | EditorExtensionImpl: 44 | serializedVersion: 6 45 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/Materials/framemarker_sample.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7159c5f5559087c48a2fa99fbdbfd78b 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/frame-markers-transparent.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Editor/FrameMarkerTextures/frame-markers-transparent.zip -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/frame-markers-transparent.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e99da6efd66005e4d997e654bf63cff0 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/frameMarker_Sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Editor/FrameMarkerTextures/frameMarker_Sample.png -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/FrameMarkerTextures/frameMarker_Sample.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 576784faa64e74d1582fd26998e51a03 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 128 29 | textureSettings: 30 | filterMode: 0 31 | aniso: 0 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: 0 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | assetBundleVariant: 55 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 374c2e79a487b4443967463ce0f77b00 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/ComponentFactoryStarter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43d9d8fa81016ff4e882c24426379dbc 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/ComponentFactoryStarter/ComponentFactoryStarter.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ==============================================================================*/ 6 | 7 | using System.IO; 8 | using UnityEditor; 9 | 10 | namespace Vuforia.EditorClasses 11 | { 12 | /// 13 | /// Small utility class to create an instance of the VuforiaBehaviourComponentFactory in the editor before anything is initialized. 14 | /// 15 | [InitializeOnLoad] 16 | public class ComponentFactoryStarter 17 | { 18 | /// 19 | /// register an instance of the VuforiaBehaviourComponentFactory class at the singleton immediately 20 | /// 21 | static ComponentFactoryStarter() 22 | { 23 | BehaviourComponentFactory.Instance = new VuforiaBehaviourComponentFactory(); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/ComponentFactoryStarter/ComponentFactoryStarter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73c5ccd926e83844b9e66ff1ef62c189 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/ExtensionImport.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2015 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | using UnityEditor; 9 | 10 | namespace Vuforia.EditorClasses 11 | { 12 | [InitializeOnLoad] 13 | public static class ExtensionImport 14 | { 15 | private static readonly string VUFORIA_ANDROID_SETTINGS = "VUFORIA_ANDROID_SETTINGS"; 16 | private static readonly string VUFORIA_IOS_SETTINGS = "VUFORIA_IOS_SETTINGS"; 17 | 18 | static ExtensionImport() 19 | { 20 | EditorApplication.update += UpdatePlayerSettings; 21 | } 22 | 23 | static void UpdatePlayerSettings() 24 | { 25 | // Unregister callback (executed only once) 26 | EditorApplication.update -= UpdatePlayerSettings; 27 | 28 | BuildTargetGroup androidBuildTarget = BuildTargetGroup.Android; 29 | 30 | #if (UNITY_5_2 || UNITY_5_1 || UNITY_5_0) 31 | BuildTargetGroup iOSBuildTarget = BuildTargetGroup.iOS; 32 | #else 33 | BuildTargetGroup iOSBuildTarget = BuildTargetGroup.iPhone; 34 | #endif 35 | 36 | string androidSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(androidBuildTarget); 37 | androidSymbols = androidSymbols ?? ""; 38 | if (!androidSymbols.Contains(VUFORIA_ANDROID_SETTINGS)) 39 | { 40 | if (PlayerSettings.Android.targetDevice != AndroidTargetDevice.ARMv7) 41 | { 42 | Debug.Log("Setting Android target device to ARMv7"); 43 | PlayerSettings.Android.targetDevice = AndroidTargetDevice.ARMv7; 44 | } 45 | 46 | #if (UNITY_5_2 || UNITY_5_1 || UNITY_5_0) 47 | if (PlayerSettings.Android.androidTVCompatibility) 48 | { 49 | // Disable Android TV compatibility, as this is not compatible with 50 | // portrait, portrait-upside-down and landscape-right orientations. 51 | Debug.Log("Disabling Android TV compatibility."); 52 | PlayerSettings.Android.androidTVCompatibility = false; 53 | } 54 | #endif 55 | 56 | #if UNITY_5_2 || UNITY_5_1 57 | Debug.Log("Setting Android Graphics API to OpenGL ES 2.0."); 58 | PlayerSettings.SetGraphicsAPIs( 59 | BuildTarget.Android, 60 | new UnityEngine.Rendering.GraphicsDeviceType[]{UnityEngine.Rendering.GraphicsDeviceType.OpenGLES2}); 61 | #endif 62 | 63 | // Here we set the scripting define symbols for Android 64 | // so we can remember that the settings were set once. 65 | PlayerSettings.SetScriptingDefineSymbolsForGroup(BuildTargetGroup.Android, 66 | androidSymbols + ";" + VUFORIA_ANDROID_SETTINGS); 67 | } 68 | 69 | string iOSSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(iOSBuildTarget); 70 | iOSSymbols = iOSSymbols ?? ""; 71 | if (!iOSSymbols.Contains(VUFORIA_IOS_SETTINGS)) 72 | { 73 | #if UNITY_5_0 || UNITY_4_9 || UNITY_4_8 || UNITY_4_7 || (UNITY_4_6 && !UNITY_4_6_1 && !UNITY_4_6_2) 74 | // check if Graphics API for iOS is set to Metal or Automatic 75 | if ((PlayerSettings.targetIOSGraphics == TargetIOSGraphics.Automatic) || 76 | (PlayerSettings.targetIOSGraphics == TargetIOSGraphics.Metal)) 77 | { 78 | Debug.Log("Setting iOS Graphics API to OpenGL ES 2.0."); 79 | PlayerSettings.targetIOSGraphics = TargetIOSGraphics.OpenGLES_2_0; 80 | 81 | if (PlayerSettings.targetIOSGraphics != TargetIOSGraphics.OpenGLES_2_0) 82 | { 83 | Debug.LogWarning("Failed to set iOS Graphics API to OpenGL ES 2.0. Please make sure to set this manually in the "+ 84 | "player settings, Vuforia does not support the Metal graphics API yet."); 85 | } 86 | } 87 | #elif (UNITY_5_1 || UNITY_5_2) 88 | Debug.Log("Setting iOS Graphics API to OpenGL ES 2.0."); 89 | PlayerSettings.SetGraphicsAPIs( 90 | BuildTarget.iOS, 91 | new UnityEngine.Rendering.GraphicsDeviceType[]{UnityEngine.Rendering.GraphicsDeviceType.OpenGLES2}); 92 | #endif 93 | 94 | #if INCLUDE_IL2CPP 95 | int scriptingBackend = PlayerSettings.GetPropertyInt("ScriptingBackend", iOSBuildTarget); 96 | if (scriptingBackend != (int) ScriptingImplementation.IL2CPP) 97 | { 98 | Debug.Log("Setting iOS scripting backend to IL2CPP to enable 64bit support."); 99 | PlayerSettings.SetPropertyInt("ScriptingBackend", (int)ScriptingImplementation.IL2CPP, iOSBuildTarget); 100 | } 101 | #endif 102 | // Here we set the scripting define symbols for IOS 103 | // so we can remember that the settings were set once. 104 | PlayerSettings.SetScriptingDefineSymbolsForGroup(iOSBuildTarget, 105 | iOSSymbols + ";" + VUFORIA_IOS_SETTINGS); 106 | } 107 | } 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/ExtensionImport.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7860a836c0dcafc439d6259ca558557e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Qualcomm.Vuforia.UnityExtensions.Editor.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28c5a22676c807349ab90e9ec375a8e0 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Qualcomm.Vuforia.UnityExtensions.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Editor/Scripts/Qualcomm.Vuforia.UnityExtensions.Editor.dll -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Qualcomm.Vuforia.UnityExtensions.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 573fecba094ef864bb8ef14838aae077 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Any: 10 | enabled: 1 11 | settings: {} 12 | userData: 13 | assetBundleName: 14 | assetBundleVariant: 15 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Unzipper.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d57443d3cda32a04bab1942d3d61c0aa 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Unzipper/SharpZipLibUnzipper.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ==============================================================================*/ 6 | 7 | using System.IO; 8 | using UnityEditor; 9 | 10 | namespace Vuforia.EditorClasses 11 | { 12 | /// 13 | /// class wrapping a JS functionality to unzip a file, registers itself at the Unzipper Singleton to provide the functionality. 14 | /// 15 | [InitializeOnLoad] 16 | public class SharpZipLibUnzipper : IUnzipper 17 | { 18 | /// 19 | /// register an instance of this class at the singleton immediately 20 | /// 21 | static SharpZipLibUnzipper() 22 | { 23 | Unzipper.Instance = new SharpZipLibUnzipper(); 24 | } 25 | 26 | public Stream UnzipFile(string path, string fileNameinZip) 27 | { 28 | #if !EXCLUDE_JAVASCRIPT 29 | return Unzip.Unzip(path, fileNameinZip); 30 | #else 31 | return null; 32 | #endif 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/Scripts/Unzipper/SharpZipLibUnzipper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7096388c1d65e2d449223a219e89027a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/VirtualButtonTextures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63e9c08acaa3cda4fae98bb3c30fea08 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/VirtualButtonTextures/VirtualButtonPreview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Editor/VirtualButtonTextures/VirtualButtonPreview.png -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/VirtualButtonTextures/VirtualButtonPreview.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd8287d41aafb4b4bacd7e0ebf634a0c 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | assetBundleVariant: 55 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/VirtualButtonTextures/VirtualButtonPreviewMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: VirtualButtonPreviewMaterial 10 | m_Shader: {fileID: 30, guid: 0000000000000000e000000000000000, type: 0} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 2800000, guid: dd8287d41aafb4b4bacd7e0ebf634a0c, type: 1} 19 | m_Scale: {x: 1, y: 1} 20 | m_Offset: {x: 0, y: 0} 21 | m_Floats: {} 22 | m_Colors: 23 | data: 24 | first: 25 | name: _Color 26 | second: {r: 1, g: 1, b: 1, a: 1} 27 | --- !u!1002 &2100001 28 | EditorExtensionImpl: 29 | serializedVersion: 6 30 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/VirtualButtonTextures/VirtualButtonPreviewMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a88c225b69241164ab829bccf61d8845 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/WebcamProfiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ef6f2463031fac4d8b83265c42d2278 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Editor/WebcamProfiles/profiles.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 554b5e587bc8b2843945eb77ad72ca46 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f451129dcee74e84694efd05017b1cf4 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Fonts/SourceSansPro.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Fonts/SourceSansPro.ttf -------------------------------------------------------------------------------- /Assets/Vuforia/Fonts/SourceSansPro.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e4a1744cf113994799d3e46a7c45d99 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 36 6 | forceTextureCase: -1 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | fallbackFontReferences: [] 13 | customCharacters: 14 | fontRenderingMode: 0 15 | userData: 16 | assetBundleName: 17 | assetBundleVariant: 18 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b11041ad69bcff45bab7cec0139ab81 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/CloudRecoTarget.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: CloudRecoTarget 10 | m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 2800000, guid: f6153ed43853e4449924f1322300f084, type: 1} 19 | m_Scale: {x: -1, y: -1} 20 | m_Offset: {x: 0, y: 0} 21 | m_Floats: {} 22 | m_Colors: 23 | data: 24 | first: 25 | name: _Color 26 | second: {r: .820895553, g: .820895553, b: .820895553, a: 1} 27 | --- !u!1002 &2100001 28 | EditorExtensionImpl: 29 | serializedVersion: 6 30 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/CloudRecoTarget.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de1593a16346ab045974f1cd34fd831f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/DefaultTarget.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: DefaultTarget 10 | m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: [] 12 | m_SavedProperties: 13 | serializedVersion: 2 14 | m_TexEnvs: 15 | data: 16 | first: 17 | name: _MainTex 18 | second: 19 | m_Texture: {fileID: 2800000, guid: 32e5c267ab824471f91ad3a1876cbc35, type: 3} 20 | m_Scale: {x: -1, y: -1} 21 | m_Offset: {x: 0, y: 0} 22 | m_Floats: {} 23 | m_Colors: 24 | data: 25 | first: 26 | name: _Color 27 | second: {r: .820895553, g: .820895553, b: .820895553, a: 1} 28 | --- !u!1002 &2100001 29 | EditorExtensionImpl: 30 | serializedVersion: 6 31 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/DefaultTarget.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30b97d537113d0441889f1559f555128 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/DepthMask.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: DepthMask 10 | m_Shader: {fileID: 4800000, guid: 1ce7eb78425fb1540838bc9d5d95857a, type: 1} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 0} 19 | m_Scale: {x: 1, y: 1} 20 | m_Offset: {x: 0, y: 0} 21 | m_Floats: {} 22 | m_Colors: 23 | data: 24 | first: 25 | name: _Color 26 | second: {r: 1, g: 1, b: 1, a: 1} 27 | --- !u!1002 &2100001 28 | EditorExtensionImpl: 29 | serializedVersion: 6 30 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/DepthMask.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36b1f386c1720c94889ac11ac9c8c6d1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/EmulatorVideoBackground.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: EmulatorVideoBackground 10 | m_Shader: {fileID: 4800000, guid: 4fc05163cdd47154bb7c41f2db29c165, type: 1} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 0} 19 | m_Scale: {x: 1, y: 1} 20 | m_Offset: {x: 0, y: 0} 21 | m_Floats: {} 22 | m_Colors: 23 | data: 24 | first: 25 | name: _Color 26 | second: {r: 1, g: 1, b: 1, a: 1} 27 | --- !u!1002 &2100001 28 | EditorExtensionImpl: 29 | serializedVersion: 6 30 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/EmulatorVideoBackground.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34ece8d93ce4a9e4fb65683a2a5d0cf9 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/UserDefinedTarget.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: UserDefinedTarget 10 | m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} 11 | m_SavedProperties: 12 | serializedVersion: 2 13 | m_TexEnvs: 14 | data: 15 | first: 16 | name: _MainTex 17 | second: 18 | m_Texture: {fileID: 2800000, guid: fb22b98929f50754ab255ba14de4fa55, type: 1} 19 | m_Scale: {x: -1, y: -1} 20 | m_Offset: {x: 0, y: 0} 21 | m_Floats: {} 22 | m_Colors: 23 | data: 24 | first: 25 | name: _Color 26 | second: {r: .820895553, g: .820895553, b: .820895553, a: 1} 27 | --- !u!1002 &2100001 28 | EditorExtensionImpl: 29 | serializedVersion: 6 30 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/UserDefinedTarget.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b2d001c51171d449b4203bfe281d9bc 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/VideoMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: VideoMaterial 10 | m_Shader: {fileID: 4800000, guid: bf405676451489f468485d28632b63fb, type: 3} 11 | m_ShaderKeywords: [] 12 | m_SavedProperties: 13 | serializedVersion: 2 14 | m_TexEnvs: 15 | data: 16 | first: 17 | name: _MainTex 18 | second: 19 | m_Texture: {fileID: 2800000, guid: d46decd9d3bbf0d46b31a3d4ae0f18ff, type: 3} 20 | m_Scale: {x: 1, y: 1} 21 | m_Offset: {x: 0, y: 0} 22 | m_Floats: {} 23 | m_Colors: 24 | data: 25 | first: 26 | name: _Color 27 | second: {r: 1, g: 1, b: 1, a: 1} 28 | -------------------------------------------------------------------------------- /Assets/Vuforia/Materials/VideoMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6eb16febd64e6b4a8a3f5918233c4da 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6d6a30ded0824f47af4127eab64086d 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/ARCamera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf30d577eead1ef40bcf2b404289daf4 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/CloudRecognition.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400000} 12 | m_Layer: 0 13 | m_Name: CloudRecognition 14 | m_TagString: Untagged 15 | m_Icon: {fileID: 0} 16 | m_NavMeshLayer: 0 17 | m_StaticEditorFlags: 0 18 | m_IsActive: 0 19 | --- !u!4 &400000 20 | Transform: 21 | m_ObjectHideFlags: 1 22 | m_PrefabParentObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 100100000} 24 | m_GameObject: {fileID: 100000} 25 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 26 | m_LocalPosition: {x: 200, y: 0, z: 0} 27 | m_LocalScale: {x: 1, y: 1, z: 1} 28 | m_Children: [] 29 | m_Father: {fileID: 0} 30 | --- !u!114 &11400000 31 | MonoBehaviour: 32 | m_ObjectHideFlags: 1 33 | m_PrefabParentObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 100000} 36 | m_Enabled: 1 37 | m_EditorHideFlags: 0 38 | m_Script: {fileID: 11500000, guid: b7dbadfab14e9164698b09c800ede694, type: 1} 39 | m_Name: 40 | AccessKey: 41 | SecretKey: 42 | ScanlineColor: {r: 1, g: 1, b: 1, a: 1} 43 | FeaturePointColor: {r: .426999986, g: .987999976, b: .286000013, a: 1} 44 | --- !u!1001 &100100000 45 | Prefab: 46 | m_ObjectHideFlags: 1 47 | serializedVersion: 2 48 | m_Modification: 49 | m_TransformParent: {fileID: 0} 50 | m_Modifications: [] 51 | m_RemovedComponents: [] 52 | m_ParentPrefab: {fileID: 0} 53 | m_RootGameObject: {fileID: 100000} 54 | m_IsPrefabParent: 1 55 | m_IsExploded: 1 56 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/CloudRecognition.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72838ed705850a240a8f7e8458608915 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/CylinderTarget.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400002} 12 | - 114: {fileID: 11400000} 13 | m_Layer: 0 14 | m_Name: CylinderTarget 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 0 20 | --- !u!4 &400000 21 | Transform: 22 | m_ObjectHideFlags: 1 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | m_GameObject: {fileID: 100000} 26 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 27 | m_LocalPosition: {x: 0, y: 0, z: 0} 28 | m_LocalScale: {x: 1, y: 1, z: 1} 29 | m_Children: [] 30 | m_Father: {fileID: 0} 31 | --- !u!114 &11400000 32 | MonoBehaviour: 33 | m_ObjectHideFlags: 1 34 | m_PrefabParentObject: {fileID: 0} 35 | m_PrefabInternal: {fileID: 100100000} 36 | m_GameObject: {fileID: 100000} 37 | m_Enabled: 1 38 | m_EditorHideFlags: 0 39 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 1} 40 | m_Name: 41 | --- !u!114 &11400002 42 | MonoBehaviour: 43 | m_ObjectHideFlags: 1 44 | m_PrefabParentObject: {fileID: 0} 45 | m_PrefabInternal: {fileID: 100100000} 46 | m_GameObject: {fileID: 100000} 47 | m_Enabled: 1 48 | m_EditorHideFlags: 0 49 | m_Script: {fileID: 11500000, guid: 5de192e8410404742a17c03135e5ab4b, type: 1} 50 | m_Name: 51 | mTrackableName: '--- EMPTY ---' 52 | mPreviousScale: {x: 1, y: 1, z: 1} 53 | mPreserveChildSize: 0 54 | mInitializedInEditor: 0 55 | mDataSetPath: '--- EMPTY ---' 56 | mTopDiameterRatio: 0 57 | mBottomDiameterRatio: 0 58 | --- !u!1001 &100100000 59 | Prefab: 60 | m_ObjectHideFlags: 1 61 | serializedVersion: 2 62 | m_Modification: 63 | m_TransformParent: {fileID: 0} 64 | m_Modifications: [] 65 | m_RemovedComponents: [] 66 | m_ParentPrefab: {fileID: 0} 67 | m_RootGameObject: {fileID: 100000} 68 | m_IsPrefabParent: 1 69 | m_IsExploded: 1 70 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/CylinderTarget.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d0881303a3f5094bbb6f271c67ba6fa 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/FrameMarker.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400002} 12 | - 114: {fileID: 11400004} 13 | - 33: {fileID: 3300000} 14 | - 23: {fileID: 2300000} 15 | - 114: {fileID: 11400000} 16 | m_Layer: 0 17 | m_Name: FrameMarker 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!1002 &100001 24 | EditorExtensionImpl: 25 | serializedVersion: 6 26 | --- !u!4 &400000 27 | Transform: 28 | m_ObjectHideFlags: 1 29 | m_PrefabParentObject: {fileID: 0} 30 | m_PrefabInternal: {fileID: 100100000} 31 | m_GameObject: {fileID: 100000} 32 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 33 | m_LocalPosition: {x: 0, y: 0, z: 0} 34 | m_LocalScale: {x: 60, y: 60, z: 60} 35 | m_Children: [] 36 | m_Father: {fileID: 0} 37 | --- !u!1002 &400001 38 | EditorExtensionImpl: 39 | serializedVersion: 6 40 | --- !u!23 &2300000 41 | Renderer: 42 | m_ObjectHideFlags: 1 43 | m_PrefabParentObject: {fileID: 0} 44 | m_PrefabInternal: {fileID: 100100000} 45 | m_GameObject: {fileID: 100000} 46 | m_Enabled: 1 47 | m_CastShadows: 1 48 | m_ReceiveShadows: 1 49 | m_LightmapIndex: 255 50 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 51 | m_Materials: 52 | - {fileID: 2100000, guid: 7159c5f5559087c48a2fa99fbdbfd78b, type: 2} 53 | m_SubsetIndices: 54 | m_StaticBatchRoot: {fileID: 0} 55 | m_UseLightProbes: 0 56 | m_LightProbeAnchor: {fileID: 0} 57 | m_ScaleInLightmap: 1 58 | --- !u!1002 &2300001 59 | EditorExtensionImpl: 60 | serializedVersion: 6 61 | --- !u!33 &3300000 62 | MeshFilter: 63 | m_ObjectHideFlags: 1 64 | m_PrefabParentObject: {fileID: 0} 65 | m_PrefabInternal: {fileID: 100100000} 66 | m_GameObject: {fileID: 100000} 67 | m_Mesh: {fileID: 0} 68 | --- !u!1002 &3300001 69 | EditorExtensionImpl: 70 | serializedVersion: 6 71 | --- !u!114 &11400000 72 | MonoBehaviour: 73 | m_ObjectHideFlags: 1 74 | m_PrefabParentObject: {fileID: 0} 75 | m_PrefabInternal: {fileID: 100100000} 76 | m_GameObject: {fileID: 100000} 77 | m_Enabled: 1 78 | m_EditorHideFlags: 0 79 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 1} 80 | m_Name: 81 | --- !u!1002 &11400001 82 | EditorExtensionImpl: 83 | serializedVersion: 6 84 | --- !u!114 &11400002 85 | MonoBehaviour: 86 | m_ObjectHideFlags: 1 87 | m_PrefabParentObject: {fileID: 0} 88 | m_PrefabInternal: {fileID: 100100000} 89 | m_GameObject: {fileID: 100000} 90 | m_Enabled: 1 91 | m_EditorHideFlags: 0 92 | m_Script: {fileID: 11500000, guid: e246bd21db86f8346bc66895a661fcc4, type: 1} 93 | m_Name: 94 | --- !u!1002 &11400003 95 | EditorExtensionImpl: 96 | serializedVersion: 6 97 | --- !u!114 &11400004 98 | MonoBehaviour: 99 | m_ObjectHideFlags: 1 100 | m_PrefabParentObject: {fileID: 0} 101 | m_PrefabInternal: {fileID: 100100000} 102 | m_GameObject: {fileID: 100000} 103 | m_Enabled: 1 104 | m_EditorHideFlags: 0 105 | m_Script: {fileID: 11500000, guid: 08e4618365b5df6439e08cd7109174d4, type: 1} 106 | m_Name: 107 | mTrackableName: 108 | mPreviousScale: {x: 1, y: 1, z: 1} 109 | mPreserveChildSize: 0 110 | mInitializedInEditor: 0 111 | mMarkerID: -1 112 | --- !u!1002 &11400005 113 | EditorExtensionImpl: 114 | serializedVersion: 6 115 | --- !u!1001 &100100000 116 | Prefab: 117 | m_ObjectHideFlags: 1 118 | serializedVersion: 2 119 | m_Modification: 120 | m_TransformParent: {fileID: 0} 121 | m_Modifications: [] 122 | m_RemovedComponents: [] 123 | m_ParentPrefab: {fileID: 0} 124 | m_RootGameObject: {fileID: 100000} 125 | m_IsPrefabParent: 1 126 | m_IsExploded: 1 127 | --- !u!1002 &100100001 128 | EditorExtensionImpl: 129 | serializedVersion: 6 130 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/FrameMarker.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a92d471d38b849b3b91c5641d1df91c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/ImageTarget.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 23: {fileID: 2300000} 12 | - 114: {fileID: 11400000} 13 | - 114: {fileID: 11400002} 14 | - 33: {fileID: 3300000} 15 | - 114: {fileID: 11400004} 16 | m_Layer: 0 17 | m_Name: ImageTarget 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 0 23 | --- !u!1002 &100001 24 | EditorExtensionImpl: 25 | serializedVersion: 6 26 | --- !u!4 &400000 27 | Transform: 28 | m_ObjectHideFlags: 1 29 | m_PrefabParentObject: {fileID: 0} 30 | m_PrefabInternal: {fileID: 100100000} 31 | m_GameObject: {fileID: 100000} 32 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 33 | m_LocalPosition: {x: 0, y: 0, z: 0} 34 | m_LocalScale: {x: 200, y: 200, z: 200} 35 | m_Children: [] 36 | m_Father: {fileID: 0} 37 | --- !u!1002 &400001 38 | EditorExtensionImpl: 39 | serializedVersion: 6 40 | --- !u!23 &2300000 41 | Renderer: 42 | m_ObjectHideFlags: 1 43 | m_PrefabParentObject: {fileID: 0} 44 | m_PrefabInternal: {fileID: 100100000} 45 | m_GameObject: {fileID: 100000} 46 | m_Enabled: 1 47 | m_CastShadows: 1 48 | m_ReceiveShadows: 1 49 | m_LightmapIndex: 255 50 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 51 | m_Materials: 52 | - {fileID: 2100000, guid: 30b97d537113d0441889f1559f555128, type: 2} 53 | m_SubsetIndices: 54 | m_StaticBatchRoot: {fileID: 0} 55 | m_UseLightProbes: 0 56 | m_LightProbeAnchor: {fileID: 0} 57 | m_ScaleInLightmap: 1 58 | --- !u!1002 &2300001 59 | EditorExtensionImpl: 60 | serializedVersion: 6 61 | --- !u!33 &3300000 62 | MeshFilter: 63 | m_ObjectHideFlags: 1 64 | m_PrefabParentObject: {fileID: 0} 65 | m_PrefabInternal: {fileID: 100100000} 66 | m_GameObject: {fileID: 100000} 67 | m_Mesh: {fileID: 0} 68 | --- !u!1002 &3300001 69 | EditorExtensionImpl: 70 | serializedVersion: 6 71 | --- !u!114 &11400000 72 | MonoBehaviour: 73 | m_ObjectHideFlags: 1 74 | m_PrefabParentObject: {fileID: 0} 75 | m_PrefabInternal: {fileID: 100100000} 76 | m_GameObject: {fileID: 100000} 77 | m_Enabled: 1 78 | m_EditorHideFlags: 0 79 | m_Script: {fileID: 11500000, guid: cadfb90286c81fd42a6785e4e7cd3024, type: 1} 80 | m_Name: 81 | mTrackableName: 82 | mPreviousScale: {x: 1, y: 1, z: 1} 83 | mPreserveChildSize: 0 84 | mInitializedInEditor: 0 85 | mDataSetPath: 86 | mAspectRatio: 1 87 | mImageTargetType: 0 88 | --- !u!1002 &11400001 89 | EditorExtensionImpl: 90 | serializedVersion: 6 91 | --- !u!114 &11400002 92 | MonoBehaviour: 93 | m_ObjectHideFlags: 1 94 | m_PrefabParentObject: {fileID: 0} 95 | m_PrefabInternal: {fileID: 100100000} 96 | m_GameObject: {fileID: 100000} 97 | m_Enabled: 1 98 | m_EditorHideFlags: 0 99 | m_Script: {fileID: 11500000, guid: e246bd21db86f8346bc66895a661fcc4, type: 1} 100 | m_Name: 101 | --- !u!1002 &11400003 102 | EditorExtensionImpl: 103 | serializedVersion: 6 104 | --- !u!114 &11400004 105 | MonoBehaviour: 106 | m_ObjectHideFlags: 1 107 | m_PrefabParentObject: {fileID: 0} 108 | m_PrefabInternal: {fileID: 100100000} 109 | m_GameObject: {fileID: 100000} 110 | m_Enabled: 1 111 | m_EditorHideFlags: 0 112 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 1} 113 | m_Name: 114 | --- !u!1002 &11400005 115 | EditorExtensionImpl: 116 | serializedVersion: 6 117 | --- !u!1001 &100100000 118 | Prefab: 119 | m_ObjectHideFlags: 1 120 | serializedVersion: 2 121 | m_Modification: 122 | m_TransformParent: {fileID: 0} 123 | m_Modifications: [] 124 | m_RemovedComponents: [] 125 | m_ParentPrefab: {fileID: 0} 126 | m_RootGameObject: {fileID: 100000} 127 | m_IsPrefabParent: 1 128 | m_IsExploded: 1 129 | --- !u!1002 &100100001 130 | EditorExtensionImpl: 131 | serializedVersion: 6 132 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/ImageTarget.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 384a0d8cc71cef74a873b3353337ea2c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/MultiTarget.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400000} 12 | - 114: {fileID: 11400002} 13 | m_Layer: 0 14 | m_Name: MultiTarget 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 0 20 | --- !u!1002 &100001 21 | EditorExtensionImpl: 22 | serializedVersion: 6 23 | --- !u!4 &400000 24 | Transform: 25 | m_ObjectHideFlags: 1 26 | m_PrefabParentObject: {fileID: 0} 27 | m_PrefabInternal: {fileID: 100100000} 28 | m_GameObject: {fileID: 100000} 29 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 30 | m_LocalPosition: {x: 0, y: 0, z: 0} 31 | m_LocalScale: {x: 1, y: 1, z: 1} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | --- !u!1002 &400001 35 | EditorExtensionImpl: 36 | serializedVersion: 6 37 | --- !u!114 &11400000 38 | MonoBehaviour: 39 | m_ObjectHideFlags: 1 40 | m_PrefabParentObject: {fileID: 0} 41 | m_PrefabInternal: {fileID: 100100000} 42 | m_GameObject: {fileID: 100000} 43 | m_Enabled: 1 44 | m_EditorHideFlags: 0 45 | m_Script: {fileID: 11500000, guid: ee0d7e754f3c24493b1fd2e14fccc885, type: 1} 46 | m_Name: 47 | mTrackableName: 48 | mPreviousScale: {x: 1, y: 1, z: 1} 49 | mPreserveChildSize: 0 50 | mInitializedInEditor: 0 51 | mDataSetPath: 52 | --- !u!1002 &11400001 53 | EditorExtensionImpl: 54 | serializedVersion: 6 55 | --- !u!114 &11400002 56 | MonoBehaviour: 57 | m_ObjectHideFlags: 1 58 | m_PrefabParentObject: {fileID: 0} 59 | m_PrefabInternal: {fileID: 100100000} 60 | m_GameObject: {fileID: 100000} 61 | m_Enabled: 1 62 | m_EditorHideFlags: 0 63 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 1} 64 | m_Name: 65 | --- !u!1002 &11400003 66 | EditorExtensionImpl: 67 | serializedVersion: 6 68 | --- !u!1001 &100100000 69 | Prefab: 70 | m_ObjectHideFlags: 1 71 | serializedVersion: 2 72 | m_Modification: 73 | m_TransformParent: {fileID: 0} 74 | m_Modifications: [] 75 | m_RemovedComponents: [] 76 | m_ParentPrefab: {fileID: 0} 77 | m_RootGameObject: {fileID: 100000} 78 | m_IsPrefabParent: 1 79 | m_IsExploded: 1 80 | --- !u!1002 &100100001 81 | EditorExtensionImpl: 82 | serializedVersion: 6 83 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/MultiTarget.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d60e136a3319c4635bfe72bc71503ea3 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/ObjectTarget.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400002} 12 | - 114: {fileID: 11400000} 13 | m_Layer: 0 14 | m_Name: ObjectTarget 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!4 &400000 21 | Transform: 22 | m_ObjectHideFlags: 1 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | m_GameObject: {fileID: 100000} 26 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 27 | m_LocalPosition: {x: 0, y: 0, z: 0} 28 | m_LocalScale: {x: 142.5, y: 142.5, z: 142.5} 29 | m_Children: [] 30 | m_Father: {fileID: 0} 31 | --- !u!114 &11400000 32 | MonoBehaviour: 33 | m_ObjectHideFlags: 1 34 | m_PrefabParentObject: {fileID: 0} 35 | m_PrefabInternal: {fileID: 100100000} 36 | m_GameObject: {fileID: 100000} 37 | m_Enabled: 1 38 | m_EditorHideFlags: 0 39 | m_Script: {fileID: 11500000, guid: 78eb286b9f5fc534d83236caff079581, type: 3} 40 | m_Name: 41 | m_EditorClassIdentifier: 42 | mTrackableName: 43 | mPreviousScale: {x: 0, y: 0, z: 0} 44 | mPreserveChildSize: 0 45 | mInitializedInEditor: 0 46 | mDataSetPath: 47 | mExtendedTracking: 0 48 | mInitializeSmartTerrain: 0 49 | mSmartTerrainToInitialize: {fileID: 0} 50 | mSmartTerrainOccluderBoundsMin: {x: 0, y: 0, z: 0} 51 | mSmartTerrainOccluderBoundsMax: {x: 0, y: 0, z: 0} 52 | mIsSmartTerrainOccluderOffset: 0 53 | mSmartTerrainOccluderOffset: {x: 0, y: 0, z: 0} 54 | mSmartTerrainOccluderRotation: {x: 0, y: 0, z: 0, w: 0} 55 | mSmartTerrainOccluderLockedInPlace: 0 56 | mSmartTerrainScaleToMM: 0 57 | mAutoSetOccluderFromTargetSize: 0 58 | mAspectRatio: 0 59 | mShowBoundingBox: 1 60 | bboxMin: {x: 0, y: 0, z: 0} 61 | bboxMax: {x: 0, y: 0, z: 0} 62 | --- !u!114 &11400002 63 | MonoBehaviour: 64 | m_ObjectHideFlags: 1 65 | m_PrefabParentObject: {fileID: 0} 66 | m_PrefabInternal: {fileID: 100100000} 67 | m_GameObject: {fileID: 100000} 68 | m_Enabled: 1 69 | m_EditorHideFlags: 0 70 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 3} 71 | m_Name: 72 | m_EditorClassIdentifier: 73 | --- !u!1001 &100100000 74 | Prefab: 75 | m_ObjectHideFlags: 1 76 | serializedVersion: 2 77 | m_Modification: 78 | m_TransformParent: {fileID: 0} 79 | m_Modifications: [] 80 | m_RemovedComponents: [] 81 | m_ParentPrefab: {fileID: 0} 82 | m_RootGameObject: {fileID: 100000} 83 | m_IsPrefabParent: 1 84 | m_IsExploded: 1 85 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/ObjectTarget.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16d0ac561db0caa4ea75bedbc45526bc 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/SmartTerrain.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee7a1940071fea54da1e312f869c36ab 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/SmartTerrain/Prop.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 33: {fileID: 3300000} 12 | - 23: {fileID: 2300000} 13 | - 114: {fileID: 11400000} 14 | - 114: {fileID: 11400004} 15 | - 114: {fileID: 11400002} 16 | m_Layer: 0 17 | m_Name: Prop 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 1 23 | --- !u!1 &100002 24 | GameObject: 25 | m_ObjectHideFlags: 0 26 | m_PrefabParentObject: {fileID: 0} 27 | m_PrefabInternal: {fileID: 100100000} 28 | serializedVersion: 4 29 | m_Component: 30 | - 4: {fileID: 400002} 31 | - 65: {fileID: 6500000} 32 | m_Layer: 0 33 | m_Name: BoundingBoxCollider 34 | m_TagString: Untagged 35 | m_Icon: {fileID: 0} 36 | m_NavMeshLayer: 0 37 | m_StaticEditorFlags: 0 38 | m_IsActive: 1 39 | --- !u!4 &400000 40 | Transform: 41 | m_ObjectHideFlags: 1 42 | m_PrefabParentObject: {fileID: 0} 43 | m_PrefabInternal: {fileID: 100100000} 44 | m_GameObject: {fileID: 100000} 45 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 46 | m_LocalPosition: {x: 0, y: .5, z: 0} 47 | m_LocalScale: {x: 1, y: 1, z: 1} 48 | m_Children: 49 | - {fileID: 400002} 50 | m_Father: {fileID: 0} 51 | --- !u!4 &400002 52 | Transform: 53 | m_ObjectHideFlags: 1 54 | m_PrefabParentObject: {fileID: 0} 55 | m_PrefabInternal: {fileID: 100100000} 56 | m_GameObject: {fileID: 100002} 57 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 58 | m_LocalPosition: {x: 0, y: 0, z: 0} 59 | m_LocalScale: {x: 1, y: 1, z: 1} 60 | m_Children: [] 61 | m_Father: {fileID: 400000} 62 | --- !u!23 &2300000 63 | Renderer: 64 | m_ObjectHideFlags: 1 65 | m_PrefabParentObject: {fileID: 0} 66 | m_PrefabInternal: {fileID: 100100000} 67 | m_GameObject: {fileID: 100000} 68 | m_Enabled: 1 69 | m_CastShadows: 1 70 | m_ReceiveShadows: 1 71 | m_LightmapIndex: 255 72 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 73 | m_Materials: 74 | - {fileID: 2100000, guid: 36b1f386c1720c94889ac11ac9c8c6d1, type: 2} 75 | m_SubsetIndices: 76 | m_StaticBatchRoot: {fileID: 0} 77 | m_UseLightProbes: 0 78 | m_LightProbeAnchor: {fileID: 0} 79 | m_ScaleInLightmap: 1 80 | --- !u!33 &3300000 81 | MeshFilter: 82 | m_ObjectHideFlags: 1 83 | m_PrefabParentObject: {fileID: 0} 84 | m_PrefabInternal: {fileID: 100100000} 85 | m_GameObject: {fileID: 100000} 86 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 87 | --- !u!65 &6500000 88 | BoxCollider: 89 | m_ObjectHideFlags: 1 90 | m_PrefabParentObject: {fileID: 0} 91 | m_PrefabInternal: {fileID: 100100000} 92 | m_GameObject: {fileID: 100002} 93 | m_Material: {fileID: 0} 94 | m_IsTrigger: 0 95 | m_Enabled: 1 96 | serializedVersion: 2 97 | m_Size: {x: 1, y: 1, z: 1} 98 | m_Center: {x: 0, y: 0, z: 0} 99 | --- !u!114 &11400000 100 | MonoBehaviour: 101 | m_ObjectHideFlags: 1 102 | m_PrefabParentObject: {fileID: 0} 103 | m_PrefabInternal: {fileID: 100100000} 104 | m_GameObject: {fileID: 100000} 105 | m_Enabled: 1 106 | m_EditorHideFlags: 0 107 | m_Script: {fileID: 11500000, guid: 5b4c71e10382a5341a9ccba4814e6b01, type: 3} 108 | m_Name: 109 | mTrackableName: 110 | mPreviousScale: {x: 1.5, y: 1.5, z: 1.5} 111 | mPreserveChildSize: 0 112 | mInitializedInEditor: 1 113 | mMeshFilterToUpdate: {fileID: 3300000} 114 | mMeshColliderToUpdate: {fileID: 0} 115 | mBoxColliderToUpdate: {fileID: 6500000} 116 | --- !u!114 &11400002 117 | MonoBehaviour: 118 | m_ObjectHideFlags: 1 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 100100000} 121 | m_GameObject: {fileID: 100000} 122 | m_Enabled: 1 123 | m_EditorHideFlags: 0 124 | m_Script: {fileID: 11500000, guid: d3b5df557a1c1cd47bf44ce2b4bff733, type: 3} 125 | m_Name: 126 | --- !u!114 &11400004 127 | MonoBehaviour: 128 | m_ObjectHideFlags: 1 129 | m_PrefabParentObject: {fileID: 0} 130 | m_PrefabInternal: {fileID: 100100000} 131 | m_GameObject: {fileID: 100000} 132 | m_Enabled: 1 133 | m_EditorHideFlags: 0 134 | m_Script: {fileID: 11500000, guid: bc1c63b5f53d14449ac6d6fd69730317, type: 3} 135 | m_Name: 136 | ShowLines: 1 137 | LineColor: {r: 0, g: 1, b: 1, a: 1} 138 | --- !u!1001 &100100000 139 | Prefab: 140 | m_ObjectHideFlags: 1 141 | serializedVersion: 2 142 | m_Modification: 143 | m_TransformParent: {fileID: 0} 144 | m_Modifications: [] 145 | m_RemovedComponents: [] 146 | m_ParentPrefab: {fileID: 0} 147 | m_RootGameObject: {fileID: 100000} 148 | m_IsPrefabParent: 1 149 | m_IsExploded: 1 150 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/SmartTerrain/Prop.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08ee5468123d857438245e5c20090fde 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/SmartTerrain/SmartTerrain.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9043eb805603aff41995656e08e053d5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/TextRecognition.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400002} 12 | m_Layer: 0 13 | m_Name: TextRecognition 14 | m_TagString: Untagged 15 | m_Icon: {fileID: 0} 16 | m_NavMeshLayer: 0 17 | m_StaticEditorFlags: 0 18 | m_IsActive: 0 19 | --- !u!4 &400000 20 | Transform: 21 | m_ObjectHideFlags: 1 22 | m_PrefabParentObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 100100000} 24 | m_GameObject: {fileID: 100000} 25 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 26 | m_LocalPosition: {x: -694.496155, y: 0, z: -79.3219604} 27 | m_LocalScale: {x: 1, y: 1, z: 1} 28 | m_Children: [] 29 | m_Father: {fileID: 0} 30 | --- !u!114 &11400002 31 | MonoBehaviour: 32 | m_ObjectHideFlags: 1 33 | m_PrefabParentObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 100000} 36 | m_Enabled: 1 37 | m_EditorHideFlags: 0 38 | m_Script: {fileID: 11500000, guid: 7907f53a45e98014586bb8e0907c8a74, type: 1} 39 | m_Name: 40 | mWordPrefabCreationMode: 0 41 | mMaximumWordInstances: 1 42 | --- !u!1001 &100100000 43 | Prefab: 44 | m_ObjectHideFlags: 1 45 | serializedVersion: 2 46 | m_Modification: 47 | m_TransformParent: {fileID: 0} 48 | m_Modifications: [] 49 | m_RemovedComponents: [] 50 | m_ParentPrefab: {fileID: 0} 51 | m_RootGameObject: {fileID: 100000} 52 | m_IsPrefabParent: 1 53 | m_IsExploded: 1 54 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/TextRecognition.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cc5995dbb25bd24a806545e5ed16d33 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/UserDefinedTargetBuilder.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 114: {fileID: 11400000} 12 | m_Layer: 0 13 | m_Name: UserDefinedTargetBuilder 14 | m_TagString: Untagged 15 | m_Icon: {fileID: 0} 16 | m_NavMeshLayer: 0 17 | m_StaticEditorFlags: 0 18 | m_IsActive: 0 19 | --- !u!4 &400000 20 | Transform: 21 | m_ObjectHideFlags: 1 22 | m_PrefabParentObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 100100000} 24 | m_GameObject: {fileID: 100000} 25 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 26 | m_LocalPosition: {x: 200, y: 0, z: 0} 27 | m_LocalScale: {x: 1, y: 1, z: 1} 28 | m_Children: [] 29 | m_Father: {fileID: 0} 30 | --- !u!114 &11400000 31 | MonoBehaviour: 32 | m_ObjectHideFlags: 1 33 | m_PrefabParentObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 100000} 36 | m_Enabled: 1 37 | m_EditorHideFlags: 0 38 | m_Script: {fileID: 11500000, guid: 4365005e62f5800468678ca0fe86c842, type: 1} 39 | m_Name: 40 | StopTrackerWhileScanning: 0 41 | StartScanningAutomatically: 0 42 | StopScanningWhenFinshedBuilding: 0 43 | --- !u!1001 &100100000 44 | Prefab: 45 | m_ObjectHideFlags: 1 46 | serializedVersion: 2 47 | m_Modification: 48 | m_TransformParent: {fileID: 0} 49 | m_Modifications: [] 50 | m_RemovedComponents: [] 51 | m_ParentPrefab: {fileID: 0} 52 | m_RootGameObject: {fileID: 100000} 53 | m_IsPrefabParent: 1 54 | m_IsExploded: 1 55 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/UserDefinedTargetBuilder.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb41dc4014c0ec44e8f38f898ae99f2b 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/VirtualButton.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 33: {fileID: 3300000} 12 | - 23: {fileID: 2300000} 13 | - 114: {fileID: 11400002} 14 | - 114: {fileID: 11400000} 15 | m_Layer: 0 16 | m_Name: VirtualButton 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 0 22 | --- !u!1002 &100001 23 | EditorExtensionImpl: 24 | serializedVersion: 6 25 | --- !u!4 &400000 26 | Transform: 27 | m_ObjectHideFlags: 1 28 | m_PrefabParentObject: {fileID: 0} 29 | m_PrefabInternal: {fileID: 100100000} 30 | m_GameObject: {fileID: 100000} 31 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 32 | m_LocalPosition: {x: 0, y: .00999999978, z: 0} 33 | m_LocalScale: {x: .100000001, y: .100000001, z: .100000001} 34 | m_Children: [] 35 | m_Father: {fileID: 0} 36 | --- !u!1002 &400001 37 | EditorExtensionImpl: 38 | serializedVersion: 6 39 | --- !u!23 &2300000 40 | Renderer: 41 | m_ObjectHideFlags: 1 42 | m_PrefabParentObject: {fileID: 0} 43 | m_PrefabInternal: {fileID: 100100000} 44 | m_GameObject: {fileID: 100000} 45 | m_Enabled: 1 46 | m_CastShadows: 1 47 | m_ReceiveShadows: 1 48 | m_LightmapIndex: 255 49 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 50 | m_Materials: 51 | - {fileID: 2100000, guid: a88c225b69241164ab829bccf61d8845, type: 2} 52 | m_SubsetIndices: 53 | m_StaticBatchRoot: {fileID: 0} 54 | m_UseLightProbes: 0 55 | m_LightProbeAnchor: {fileID: 0} 56 | m_ScaleInLightmap: 1 57 | --- !u!1002 &2300001 58 | EditorExtensionImpl: 59 | serializedVersion: 6 60 | --- !u!33 &3300000 61 | MeshFilter: 62 | m_ObjectHideFlags: 1 63 | m_PrefabParentObject: {fileID: 0} 64 | m_PrefabInternal: {fileID: 100100000} 65 | m_GameObject: {fileID: 100000} 66 | m_Mesh: {fileID: 0} 67 | --- !u!1002 &3300001 68 | EditorExtensionImpl: 69 | serializedVersion: 6 70 | --- !u!114 &11400000 71 | MonoBehaviour: 72 | m_ObjectHideFlags: 1 73 | m_PrefabParentObject: {fileID: 0} 74 | m_PrefabInternal: {fileID: 100100000} 75 | m_GameObject: {fileID: 100000} 76 | m_Enabled: 1 77 | m_EditorHideFlags: 0 78 | m_Script: {fileID: 11500000, guid: e246bd21db86f8346bc66895a661fcc4, type: 1} 79 | m_Name: 80 | --- !u!1002 &11400001 81 | EditorExtensionImpl: 82 | serializedVersion: 6 83 | --- !u!114 &11400002 84 | MonoBehaviour: 85 | m_ObjectHideFlags: 1 86 | m_PrefabParentObject: {fileID: 0} 87 | m_PrefabInternal: {fileID: 100100000} 88 | m_GameObject: {fileID: 100000} 89 | m_Enabled: 1 90 | m_EditorHideFlags: 0 91 | m_Script: {fileID: 11500000, guid: 6c9fd2a2ab7e57e42a9586305090af87, type: 1} 92 | m_Name: 93 | mName: undefined 94 | mSensitivity: 2 95 | mHasUpdatedPose: 0 96 | mPrevTransform: 97 | e00: 0 98 | e01: 0 99 | e02: 0 100 | e03: 0 101 | e10: 0 102 | e11: 0 103 | e12: 0 104 | e13: 0 105 | e20: 0 106 | e21: 0 107 | e22: 0 108 | e23: 0 109 | e30: 0 110 | e31: 0 111 | e32: 0 112 | e33: 0 113 | mPrevParent: {fileID: 0} 114 | --- !u!1002 &11400003 115 | EditorExtensionImpl: 116 | serializedVersion: 6 117 | --- !u!1001 &100100000 118 | Prefab: 119 | m_ObjectHideFlags: 1 120 | serializedVersion: 2 121 | m_Modification: 122 | m_TransformParent: {fileID: 0} 123 | m_Modifications: [] 124 | m_RemovedComponents: [] 125 | m_ParentPrefab: {fileID: 0} 126 | m_RootGameObject: {fileID: 100000} 127 | m_IsPrefabParent: 1 128 | m_IsExploded: 1 129 | --- !u!1002 &100100001 130 | EditorExtensionImpl: 131 | serializedVersion: 6 132 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/VirtualButton.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a725225d3d981b4182014a2e20b501c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/Word.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 3 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 23: {fileID: 2300000} 12 | - 114: {fileID: 11400000} 13 | - 114: {fileID: 11400002} 14 | - 114: {fileID: 11400004} 15 | m_Layer: 0 16 | m_Name: Word 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 0 22 | --- !u!4 &400000 23 | Transform: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 100000} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 30, y: 30, z: 30} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | --- !u!23 &2300000 34 | Renderer: 35 | m_ObjectHideFlags: 1 36 | m_PrefabParentObject: {fileID: 0} 37 | m_PrefabInternal: {fileID: 100100000} 38 | m_GameObject: {fileID: 100000} 39 | m_Enabled: 1 40 | m_CastShadows: 1 41 | m_ReceiveShadows: 1 42 | m_LightmapIndex: 255 43 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 44 | m_Materials: 45 | - {fileID: 0} 46 | m_SubsetIndices: 47 | m_StaticBatchRoot: {fileID: 0} 48 | m_UseLightProbes: 0 49 | m_LightProbeAnchor: {fileID: 0} 50 | m_ScaleInLightmap: 1 51 | --- !u!114 &11400000 52 | MonoBehaviour: 53 | m_ObjectHideFlags: 1 54 | m_PrefabParentObject: {fileID: 0} 55 | m_PrefabInternal: {fileID: 100100000} 56 | m_GameObject: {fileID: 100000} 57 | m_Enabled: 1 58 | m_EditorHideFlags: 0 59 | m_Script: {fileID: 11500000, guid: e3a0055b9f711b34a87b27e3bc9b906d, type: 1} 60 | m_Name: 61 | mTrackableName: 62 | mPreviousScale: {x: 0, y: 0, z: 0} 63 | mPreserveChildSize: 0 64 | mInitializedInEditor: 0 65 | mMode: 0 66 | mSpecificWord: 67 | --- !u!114 &11400002 68 | MonoBehaviour: 69 | m_ObjectHideFlags: 1 70 | m_PrefabParentObject: {fileID: 0} 71 | m_PrefabInternal: {fileID: 100100000} 72 | m_GameObject: {fileID: 100000} 73 | m_Enabled: 1 74 | m_EditorHideFlags: 0 75 | m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 1} 76 | m_Name: 77 | --- !u!114 &11400004 78 | MonoBehaviour: 79 | m_ObjectHideFlags: 1 80 | m_PrefabParentObject: {fileID: 0} 81 | m_PrefabInternal: {fileID: 100100000} 82 | m_GameObject: {fileID: 100000} 83 | m_Enabled: 1 84 | m_EditorHideFlags: 0 85 | m_Script: {fileID: 11500000, guid: 457f5fd670441e34cbac06927908bc2d, type: 1} 86 | m_Name: 87 | --- !u!1001 &100100000 88 | Prefab: 89 | m_ObjectHideFlags: 1 90 | serializedVersion: 2 91 | m_Modification: 92 | m_TransformParent: {fileID: 0} 93 | m_Modifications: [] 94 | m_RemovedComponents: [] 95 | m_ParentPrefab: {fileID: 0} 96 | m_RootGameObject: {fileID: 100000} 97 | m_IsPrefabParent: 1 98 | m_IsExploded: 1 99 | -------------------------------------------------------------------------------- /Assets/Vuforia/Prefabs/Word.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f418ae3d9e518b24ba2adc17587bb047 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91ee04193e7e0db4290fdfa25d0dfbf6 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/BackgroundPlaneBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. 3 | 4 | Confidential and Proprietary – Qualcomm Connected Experiences, Inc. 5 | Vuforia is a trademark of QUALCOMM Incorporated, registered in the United States 6 | and other countries. Trademarks of QUALCOMM Incorporated are used with permission. 7 | ==============================================================================*/ 8 | 9 | using System; 10 | using UnityEngine; 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// The BackgroundPlaneBehaviour class creates a mesh at the far end 16 | /// of camera frustum over which video background is rendered. 17 | /// 18 | public class BackgroundPlaneBehaviour : BackgroundPlaneAbstractBehaviour 19 | { 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/BackgroundPlaneBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b62dc8c390ae00c41a0ae52d79877662 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Cardboard.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a77a72d3e73f8c4eb04df061ee230b9 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/CloudRecoBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using UnityEngine; 10 | 11 | namespace Vuforia 12 | { 13 | /// 14 | /// This is the main behaviour class that encapsulates cloud recognition behaviour. 15 | /// It just has to be added to a Vuforia-enabled Unity scene and will initialize the target finder and wait for new results. 16 | /// State changes and new results will be sent to registered ICloudRecoEventHandlers 17 | /// 18 | public class CloudRecoBehaviour : CloudRecoAbstractBehaviour 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/CloudRecoBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7dbadfab14e9164698b09c800ede694 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/CylinderTargetBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This class serves both as an augmentation definition for a CylinderTarget in the editor 14 | /// as well as a tracked CylinderTarget result at runtime 15 | /// 16 | public class CylinderTargetBehaviour : CylinderTargetAbstractBehaviour 17 | { 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/CylinderTargetBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5de192e8410404742a17c03135e5ab4b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DatabaseLoadBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System.Collections.Generic; 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This behaviour allows to automatically load and activate one or more DataSet on startup 14 | /// 15 | public class DatabaseLoadBehaviour : DatabaseLoadAbstractBehaviour 16 | { 17 | public override void AddOSSpecificExternalDatasetSearchDirs() 18 | { 19 | #if UNITY_ANDROID 20 | if (Application.platform == RuntimePlatform.Android) 21 | { 22 | // Get the external storage directory 23 | AndroidJavaClass jclassEnvironment = new AndroidJavaClass("android.os.Environment"); 24 | AndroidJavaObject jobjFile = jclassEnvironment.CallStatic("getExternalStorageDirectory"); 25 | string externalStorageDirectory = jobjFile.Call("getAbsolutePath"); 26 | 27 | // Get the package name 28 | AndroidJavaObject jobjActivity = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic("currentActivity"); 29 | string packageName = jobjActivity.Call("getPackageName"); 30 | 31 | // Add some best practice search directories 32 | // 33 | // Assumes just Vufroria datasets extracted to the files directory 34 | AddExternalDatasetSearchDir(externalStorageDirectory + "/Android/data/" + packageName + "/files/"); 35 | 36 | // Assume entire StreamingAssets dir is extracted here and our datasets are in the "Vuforia/DeviceDatabases" directory 37 | AddExternalDatasetSearchDir(externalStorageDirectory + "/Android/data/" + packageName + "/files/Vuforia/DeviceDatabases/"); 38 | 39 | // Assume entire StreamingAssets dir is extracted here and our datasets are in the "QCAR" directory 40 | AddExternalDatasetSearchDir(externalStorageDirectory + "/Android/data/" + packageName + "/files/QCAR/"); 41 | } 42 | #endif //UNITY_ANDROID 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DatabaseLoadBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67cbfb9153674e84d894cc7d53ffe720 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c47f92041efbb4b429a4eafca855ebe3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// A default event handler that handles reconstruction events for a ReconstructionFromTarget 14 | /// It uses a single Prop template that is used for every newly created prop, 15 | /// and a surface template that is used for the primary surface 16 | /// 17 | public class DefaultSmartTerrainEventHandler : MonoBehaviour 18 | { 19 | #region PRIVATE_MEMBERS 20 | 21 | private ReconstructionBehaviour mReconstructionBehaviour; 22 | 23 | #endregion // PRIVATE_MEMBERS 24 | 25 | 26 | #region PUBLIC_MEMBERS 27 | 28 | public PropBehaviour PropTemplate; 29 | public SurfaceBehaviour SurfaceTemplate; 30 | 31 | #endregion // PUBLIC_MEMBERS 32 | 33 | 34 | 35 | #region UNTIY_MONOBEHAVIOUR_METHODS 36 | 37 | void Start() 38 | { 39 | mReconstructionBehaviour = GetComponent(); 40 | if (mReconstructionBehaviour) 41 | { 42 | mReconstructionBehaviour.RegisterPropCreatedCallback(OnPropCreated); 43 | mReconstructionBehaviour.RegisterSurfaceCreatedCallback(OnSurfaceCreated); 44 | } 45 | } 46 | 47 | void OnDestroy() 48 | { 49 | if (mReconstructionBehaviour) 50 | { 51 | mReconstructionBehaviour.UnregisterPropCreatedCallback(OnPropCreated); 52 | mReconstructionBehaviour.UnregisterSurfaceCreatedCallback(OnSurfaceCreated); 53 | } 54 | } 55 | 56 | #endregion // UNTIY_MONOBEHAVIOUR_METHODS 57 | 58 | 59 | 60 | #region RECONSTRUCTION_CALLBACKS 61 | 62 | /// 63 | /// Called when a prop has been created 64 | /// 65 | public void OnPropCreated(Prop prop) 66 | { 67 | if (mReconstructionBehaviour) 68 | mReconstructionBehaviour.AssociateProp(PropTemplate, prop); 69 | } 70 | 71 | /// 72 | /// Called when a surface has been created 73 | /// 74 | public void OnSurfaceCreated(Surface surface) 75 | { 76 | if (mReconstructionBehaviour) 77 | mReconstructionBehaviour.AssociateSurface(SurfaceTemplate, surface); 78 | } 79 | 80 | #endregion // RECONSTRUCTION_CALLBACKS 81 | } 82 | } 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7fa9a1d663b67a48aa1cbf48c980477 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// A custom handler that implements the ITrackableEventHandler interface. 13 | /// 14 | public class DefaultTrackableEventHandler : MonoBehaviour, 15 | ITrackableEventHandler 16 | { 17 | #region PRIVATE_MEMBER_VARIABLES 18 | 19 | private TrackableBehaviour mTrackableBehaviour; 20 | 21 | #endregion // PRIVATE_MEMBER_VARIABLES 22 | 23 | 24 | 25 | #region UNTIY_MONOBEHAVIOUR_METHODS 26 | 27 | void Start() 28 | { 29 | mTrackableBehaviour = GetComponent(); 30 | if (mTrackableBehaviour) 31 | { 32 | mTrackableBehaviour.RegisterTrackableEventHandler(this); 33 | } 34 | } 35 | 36 | #endregion // UNTIY_MONOBEHAVIOUR_METHODS 37 | 38 | 39 | 40 | #region PUBLIC_METHODS 41 | 42 | /// 43 | /// Implementation of the ITrackableEventHandler function called when the 44 | /// tracking state changes. 45 | /// 46 | public void OnTrackableStateChanged( 47 | TrackableBehaviour.Status previousStatus, 48 | TrackableBehaviour.Status newStatus) 49 | { 50 | if (newStatus == TrackableBehaviour.Status.DETECTED || 51 | newStatus == TrackableBehaviour.Status.TRACKED || 52 | newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED) 53 | { 54 | OnTrackingFound(); 55 | } 56 | else 57 | { 58 | OnTrackingLost(); 59 | } 60 | } 61 | 62 | #endregion // PUBLIC_METHODS 63 | 64 | 65 | 66 | #region PRIVATE_METHODS 67 | 68 | 69 | private void OnTrackingFound() 70 | { 71 | Renderer[] rendererComponents = GetComponentsInChildren(true); 72 | Collider[] colliderComponents = GetComponentsInChildren(true); 73 | 74 | // Enable rendering: 75 | foreach (Renderer component in rendererComponents) 76 | { 77 | component.enabled = true; 78 | } 79 | 80 | // Enable colliders: 81 | foreach (Collider component in colliderComponents) 82 | { 83 | component.enabled = true; 84 | } 85 | 86 | Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " found"); 87 | } 88 | 89 | 90 | private void OnTrackingLost() 91 | { 92 | Renderer[] rendererComponents = GetComponentsInChildren(true); 93 | Collider[] colliderComponents = GetComponentsInChildren(true); 94 | 95 | // Disable rendering: 96 | foreach (Renderer component in rendererComponents) 97 | { 98 | component.enabled = false; 99 | } 100 | 101 | // Disable colliders: 102 | foreach (Collider component in colliderComponents) 103 | { 104 | component.enabled = false; 105 | } 106 | 107 | Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " lost"); 108 | } 109 | 110 | #endregion // PRIVATE_METHODS 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a917f0af64a6423093132dab321c15f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/GLErrorHandler.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | using System.Collections; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This Script can be used to set a full screen error message if an error happens on startup. 14 | /// (such as no OpenGL ES 2.0 support that is required for some samples). 15 | /// 16 | public class GLErrorHandler : MonoBehaviour 17 | { 18 | #region PRIVATE_MEMBER_VARIABLES 19 | 20 | private static string mErrorText = ""; 21 | private static bool mErrorOccurred = false; 22 | 23 | private const string WINDOW_TITLE = "Sample Error"; 24 | 25 | #endregion // PRIVATE_MEMBER_VARIABLES 26 | 27 | 28 | 29 | #region PUBLIC_METHODS 30 | 31 | /// 32 | /// Sets an error text that is rendered every frame 33 | /// 34 | public static void SetError(string errorText) 35 | { 36 | mErrorText = errorText; 37 | mErrorOccurred = true; 38 | } 39 | 40 | #endregion // PUBLIC_METHODS 41 | 42 | 43 | 44 | #region UNTIY_MONOBEHAVIOUR_METHODS 45 | 46 | // In this method we draw an error window in case something happened. 47 | void OnGUI() 48 | { 49 | // On error, create a full screen window. 50 | if (mErrorOccurred) 51 | { 52 | GUI.Window(0, new Rect(0, 0, Screen.width, Screen.height), 53 | DrawWindowContent, WINDOW_TITLE); 54 | } 55 | } 56 | 57 | #endregion // UNTIY_MONOBEHAVIOUR_METHODS 58 | 59 | 60 | 61 | #region PRIVATE_METHODS 62 | 63 | // This method draws an error-dialog on the screen. 64 | private void DrawWindowContent(int id) 65 | { 66 | // Create text area with a 10 pixel distance from other controls and 67 | // window border. 68 | GUI.Label(new Rect(10, 25, Screen.width - 20, Screen.height - 95), 69 | mErrorText); 70 | 71 | // Create centered button with 50/50 size and 10 pixel distance from 72 | // other controls and window border. 73 | if (GUI.Button(new Rect(Screen.width / 2 - 75, Screen.height - 60, 74 | 150, 50), "Close")) 75 | Application.Quit(); 76 | } 77 | 78 | #endregion // PRIVATE_METHODS 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/GLErrorHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73b10271faf140b42908767240bd907c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/HideExcessAreaBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | using System.Collections; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This Behaviour creates four planes (mattes) at the near clipping plane of camera frustum 14 | /// to hide the augmentation going off the limit of video background due to scaling 15 | /// 16 | public class HideExcessAreaBehaviour : HideExcessAreaAbstractBehaviour 17 | { 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/HideExcessAreaBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d4add68fcad15844891a06f869084d0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ImageTargetBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System.Collections.Generic; 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This class serves both as an augmentation definition for an ImageTarget in the editor 14 | /// as well as a tracked image target result at runtime 15 | /// 16 | public class ImageTargetBehaviour : ImageTargetAbstractBehaviour 17 | { 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ImageTargetBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cadfb90286c81fd42a6785e4e7cd3024 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a32ea344c437878468bbfaa1b034856e 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/AndroidUnityPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 537b482420e8ea844a776d50a0c04d83 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/ComponentFactoryStarterBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using System.Reflection; 11 | using UnityEngine; 12 | 13 | namespace Vuforia 14 | { 15 | /// 16 | /// Small utility behaviour to create an instance of the VuforiaBehaviourComponentFactory at runtime before anything is initialized. 17 | /// 18 | public partial class ComponentFactoryStarterBehaviour : MonoBehaviour 19 | { 20 | /// 21 | /// call all member methods that have the FactoryStart attribute 22 | /// 23 | void Awake() 24 | { 25 | List methods = this.GetType().GetMethods(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly).ToList(); 26 | methods.AddRange(this.GetType().GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly)); 27 | 28 | foreach (MethodInfo methodInfo in methods) 29 | { 30 | foreach (Attribute attribute in methodInfo.GetCustomAttributes(true)) 31 | { 32 | if (attribute is FactorySetter) 33 | { 34 | Action factorySetMethod = Delegate.CreateDelegate(typeof(Action), this, methodInfo) as Action; 35 | if (factorySetMethod != null) 36 | { 37 | factorySetMethod(); 38 | } 39 | } 40 | } 41 | } 42 | } 43 | 44 | [FactorySetter] 45 | void SetBehaviourComponentFactory() 46 | { 47 | Debug.Log("Setting BehaviourComponentFactory"); 48 | BehaviourComponentFactory.Instance = new VuforiaBehaviourComponentFactory(); 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/ComponentFactoryStarterBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1be4b2a1f8203ec46b83e41b60cfa568 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/IOSUnityPlayer.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Runtime.InteropServices; 9 | using UnityEngine; 10 | 11 | namespace Vuforia 12 | { 13 | /// 14 | /// This class encapsulates functionality to detect various surface events 15 | /// (size, orientation changed) and delegate this to native. 16 | /// These are used by Unity Extension code and should usually not be called by app code. 17 | /// 18 | class IOSUnityPlayer : IUnityPlayer 19 | { 20 | private ScreenOrientation mScreenOrientation = ScreenOrientation.Unknown; 21 | 22 | /// 23 | /// Loads native plugin libraries on platforms where this is explicitly required. 24 | /// 25 | public void LoadNativeLibraries() 26 | { 27 | } 28 | 29 | /// 30 | /// Initialized platform specific settings 31 | /// 32 | public void InitializePlatform() 33 | { 34 | setPlatFormNative(); 35 | } 36 | 37 | /// 38 | /// Initializes Vuforia; called from Start 39 | /// 40 | public VuforiaUnity.InitError Start(string licenseKey) 41 | { 42 | int errorCode = initQCARiOS((int)Screen.orientation, licenseKey); 43 | if (errorCode >= 0) 44 | InitializeSurface(); 45 | return (VuforiaUnity.InitError)errorCode; 46 | } 47 | 48 | /// 49 | /// Called from Update, checks for various life cycle events that need to be forwarded 50 | /// to Vuforia, e.g. orientation changes 51 | /// 52 | public void Update() 53 | { 54 | if (SurfaceUtilities.HasSurfaceBeenRecreated()) 55 | { 56 | InitializeSurface(); 57 | } 58 | else 59 | { 60 | // if Unity reports that the orientation has changed, set it correctly in native 61 | if (Screen.orientation != mScreenOrientation) 62 | SetUnityScreenOrientation(); 63 | } 64 | 65 | } 66 | 67 | public void Dispose() 68 | { 69 | } 70 | 71 | /// 72 | /// Pauses Vuforia 73 | /// 74 | public void OnPause() 75 | { 76 | VuforiaUnity.OnPause(); 77 | } 78 | 79 | /// 80 | /// Resumes Vuforia 81 | /// 82 | public void OnResume() 83 | { 84 | VuforiaUnity.OnResume(); 85 | } 86 | 87 | /// 88 | /// Deinitializes Vuforia 89 | /// 90 | public void OnDestroy() 91 | { 92 | VuforiaUnity.Deinit(); 93 | } 94 | 95 | 96 | private void InitializeSurface() 97 | { 98 | SurfaceUtilities.OnSurfaceCreated(); 99 | 100 | SetUnityScreenOrientation(); 101 | } 102 | 103 | private void SetUnityScreenOrientation() 104 | { 105 | mScreenOrientation = Screen.orientation; 106 | SurfaceUtilities.SetSurfaceOrientation(mScreenOrientation); 107 | // set the native orientation (only required on iOS) 108 | setSurfaceOrientationiOS((int) mScreenOrientation); 109 | } 110 | 111 | [DllImport("__Internal")] 112 | private static extern void setPlatFormNative(); 113 | 114 | [DllImport("__Internal")] 115 | private static extern int initQCARiOS(int screenOrientation, string licenseKey); 116 | 117 | [DllImport("__Internal")] 118 | private static extern void setSurfaceOrientationiOS(int screenOrientation); 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/IOSUnityPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 162ece4b09459ba44b5cc46408a0886c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/Qualcomm.Vuforia.UnityExtensions.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fdba4c966044bf4ea59218d4ab084f3 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/Qualcomm.Vuforia.UnityExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Scripts/Internal/Qualcomm.Vuforia.UnityExtensions.dll -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/Qualcomm.Vuforia.UnityExtensions.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52b91b3ac2950df479e8333106e70b91 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Any: 10 | enabled: 1 11 | settings: {} 12 | userData: 13 | assetBundleName: 14 | assetBundleVariant: 15 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/VuforiaBehaviourComponentFactory.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Qualcomm Confidential and Proprietary 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// Factory class that adds child class Behaviours 13 | /// 14 | public class VuforiaBehaviourComponentFactory : IBehaviourComponentFactory 15 | { 16 | #region PUBLIC_METHODS 17 | 18 | public MaskOutAbstractBehaviour AddMaskOutBehaviour(GameObject gameObject) 19 | { 20 | return gameObject.AddComponent(); 21 | } 22 | 23 | public VirtualButtonAbstractBehaviour AddVirtualButtonBehaviour(GameObject gameObject) 24 | { 25 | return gameObject.AddComponent(); 26 | } 27 | 28 | public TurnOffAbstractBehaviour AddTurnOffBehaviour(GameObject gameObject) 29 | { 30 | return gameObject.AddComponent(); 31 | } 32 | 33 | public ImageTargetAbstractBehaviour AddImageTargetBehaviour(GameObject gameObject) 34 | { 35 | return gameObject.AddComponent(); 36 | } 37 | 38 | public MarkerAbstractBehaviour AddMarkerBehaviour(GameObject gameObject) 39 | { 40 | return gameObject.AddComponent(); 41 | } 42 | 43 | public MultiTargetAbstractBehaviour AddMultiTargetBehaviour(GameObject gameObject) 44 | { 45 | return gameObject.AddComponent(); 46 | } 47 | 48 | public CylinderTargetAbstractBehaviour AddCylinderTargetBehaviour(GameObject gameObject) 49 | { 50 | return gameObject.AddComponent(); 51 | } 52 | 53 | public WordAbstractBehaviour AddWordBehaviour(GameObject gameObject) 54 | { 55 | return gameObject.AddComponent(); 56 | } 57 | 58 | public TextRecoAbstractBehaviour AddTextRecoBehaviour(GameObject gameObject) 59 | { 60 | return gameObject.AddComponent(); 61 | } 62 | 63 | public ObjectTargetAbstractBehaviour AddObjectTargetBehaviour(GameObject gameObject) 64 | { 65 | return gameObject.AddComponent(); 66 | } 67 | 68 | #endregion // PUBLIC_METHODS 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/Internal/VuforiaBehaviourComponentFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a616267a7661f741935ff4b8ab161da 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/KeepAliveBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using UnityEngine; 10 | 11 | namespace Vuforia 12 | { 13 | /// 14 | /// The KeepAliveBehaviour allows Vuforia objects to be reused across multiple 15 | /// scenes. This makes it possible to share datasets and targets between scenes. 16 | /// 17 | [RequireComponent(typeof (VuforiaBehaviour))] 18 | public class KeepAliveBehaviour : KeepAliveAbstractBehaviour 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/KeepAliveBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c07a53e23300ce745946b494bd8c11e6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MarkerBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// This class serves both as an augmentation definition for a Marker in the editor 13 | /// as well as a tracked marker result at runtime 14 | /// 15 | public class MarkerBehaviour : MarkerAbstractBehaviour 16 | { 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MarkerBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08e4618365b5df6439e08cd7109174d4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MaskOutBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// Helper behaviour used to hide augmented objects behind the video background. 13 | /// 14 | public class MaskOutBehaviour : MaskOutAbstractBehaviour 15 | { 16 | #region UNITY_MONOBEHAVIOUR_METHODS 17 | 18 | void Start () 19 | { 20 | if (VuforiaRuntimeUtilities.IsVuforiaEnabled()) 21 | { 22 | Renderer rendererComp = GetComponent(); 23 | int numMaterials = rendererComp.materials.Length; 24 | if (numMaterials == 1) 25 | { 26 | rendererComp.sharedMaterial = maskMaterial; 27 | } 28 | else 29 | { 30 | Material[] maskMaterials = new Material[numMaterials]; 31 | for (int i = 0; i < numMaterials; i++) 32 | maskMaterials[i] = maskMaterial; 33 | 34 | rendererComp.sharedMaterials = maskMaterials; 35 | } 36 | } 37 | } 38 | 39 | #endregion // UNITY_MONOBEHAVIOUR_METHODS 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MaskOutBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4743c19ba6704df09039ca8ba3820dc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MultiTargetBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// This class serves both as an augmentation definition for a MultiTarget in the editor 13 | /// as well as a tracked MultiTarget result at runtime 14 | /// 15 | public class MultiTargetBehaviour : MultiTargetAbstractBehaviour 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/MultiTargetBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee0d7e754f3c24493b1fd2e14fccc885 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ObjectTargetBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System.Collections.Generic; 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// This class serves both as an augmentation definition for an ObjectTarget in the editor 14 | /// as well as a tracked object target result at runtime 15 | /// 16 | public class ObjectTargetBehaviour : ObjectTargetAbstractBehaviour 17 | { 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ObjectTargetBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78eb286b9f5fc534d83236caff079581 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/PropBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | 8 | namespace Vuforia 9 | { 10 | /// 11 | /// This class serves both as an augmentation definition for a Prop in the editor 12 | /// as well as a reconstructed and tracked prop result at runtime 13 | /// 14 | public class PropBehaviour : PropAbstractBehaviour 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/PropBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b4c71e10382a5341a9ccba4814e6b01 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ReconstructionBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | namespace Vuforia 8 | { 9 | /// 10 | /// This is the main behaviour class that encapsulates smart terrain reconstruction behaviour. 11 | /// 12 | public class ReconstructionBehaviour : ReconstructionAbstractBehaviour 13 | { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ReconstructionBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2114ac03614bd04ab4094382f774313 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ReconstructionFromTargetBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | namespace Vuforia 8 | { 9 | /// 10 | /// This Monobehaviour supplements the ReconstructionAbstractBehaviour with target initialization specific functionality 11 | /// 12 | public class ReconstructionFromTargetBehaviour : ReconstructionFromTargetAbstractBehaviour 13 | { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/ReconstructionFromTargetBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0cef8e57ac23a654ba2779e57933cc6f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/SmartTerrainTrackerBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | namespace Vuforia 8 | { 9 | /// 10 | /// This is the main behaviour class that manages the smart terrain tracker 11 | /// It comes as a component of the ARCamera prefab but can be use on any other game object as well 12 | /// It is important that at any given time, only one instance of this script exists in the scene. 13 | /// 14 | public class SmartTerrainTrackerBehaviour : SmartTerrainTrackerAbstractBehaviour 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/SmartTerrainTrackerBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0f29306fbc9e6f44a31463a40747c71 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/SurfaceBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | 8 | namespace Vuforia 9 | { 10 | /// 11 | /// This class serves both as an augmentation definition for a Surface in the editor 12 | /// as well as a reconstructed and tracked surface result at runtime 13 | /// 14 | public class SurfaceBehaviour : SurfaceAbstractBehaviour 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/SurfaceBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53cb8984a933487428458b1a90c0cf1c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TextRecoBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using UnityEngine; 10 | 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// This is the main behaviour class that encapsulates text recognition behaviour. 16 | /// It just has to be added to a Vuforia-enabled Unity scene and will initialize the text tracker with the configured word list. 17 | /// Events for newly recognized or lost words will be called on registered ITextRecoEventHandlers 18 | /// 19 | public class TextRecoBehaviour : TextRecoAbstractBehaviour 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TextRecoBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7907f53a45e98014586bb8e0907c8a74 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TurnOffBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// A utility behaviour to disable rendering of a game object at run time. 13 | /// 14 | public class TurnOffBehaviour : TurnOffAbstractBehaviour 15 | { 16 | 17 | #region UNITY_MONOBEHAVIOUR_METHODS 18 | 19 | void Awake() 20 | { 21 | if (VuforiaRuntimeUtilities.IsVuforiaEnabled()) 22 | { 23 | // We remove the mesh components at run-time only, but keep them for 24 | // visualization when running in the editor: 25 | MeshRenderer targetMeshRenderer = this.GetComponent(); 26 | Destroy(targetMeshRenderer); 27 | MeshFilter targetMesh = this.GetComponent(); 28 | Destroy(targetMesh); 29 | } 30 | } 31 | 32 | #endregion // UNITY_MONOBEHAVIOUR_METHODS 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TurnOffBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e246bd21db86f8346bc66895a661fcc4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TurnOffWordBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// A utility behaviour to disable rendering of a word behaviour at run time. 13 | /// 14 | public class TurnOffWordBehaviour : MonoBehaviour 15 | { 16 | 17 | #region UNITY_MONOBEHAVIOUR_METHODS 18 | 19 | void Awake() 20 | { 21 | if (VuforiaRuntimeUtilities.IsVuforiaEnabled()) 22 | { 23 | // We remove the renderer at run-time only, but keep it for 24 | // visualization when running in the editor 25 | // We keep the MeshFilter for retreiving the size of the Word-prefab 26 | MeshRenderer targetMeshRenderer = this.GetComponent(); 27 | Destroy(targetMeshRenderer); 28 | //The child object for visualizing text is removed at runtime 29 | var text = transform.FindChild("Text"); 30 | if(text != null) 31 | Destroy(text.gameObject); 32 | } 33 | } 34 | 35 | #endregion // UNITY_MONOBEHAVIOUR_METHODS 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/TurnOffWordBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 457f5fd670441e34cbac06927908bc2d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/UserDefinedTargetBuildingBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Runtime.InteropServices; 10 | using UnityEngine; 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// This Component can be used to create new ImageTargets at runtime. It can be configured to start scanning automatically 16 | /// or via a call from an external script. 17 | /// Registered event handlers will be informed of changes in the frame quality as well as new TrackableSources 18 | /// 19 | public class UserDefinedTargetBuildingBehaviour : UserDefinedTargetBuildingAbstractBehaviour 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/UserDefinedTargetBuildingBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4365005e62f5800468678ca0fe86c842 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VideoBackgroundBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Runtime.InteropServices; 10 | using System.Text.RegularExpressions; 11 | using UnityEngine; 12 | 13 | namespace Vuforia 14 | { 15 | /// 16 | /// The VideoBackgroundBehaviour class handles native video background rendering. 17 | /// 18 | [RequireComponent(typeof(Camera))] 19 | public class VideoBackgroundBehaviour : VideoBackgroundAbstractBehaviour 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VideoBackgroundBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a82d9a4bfbaccce4298a2b72f6a03f8c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VideoTextureRenderer.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. 3 | 4 | Confidential and Proprietary – Qualcomm Connected Experiences, Inc. 5 | Vuforia is a trademark of QUALCOMM Incorporated, registered in the United States 6 | and other countries. Trademarks of QUALCOMM Incorporated are used with permission. 7 | ==============================================================================*/ 8 | 9 | using UnityEngine; 10 | using System.Collections; 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// The VideoTextureRenderer class creates a texture which is used to 16 | /// render video background using BTA. 17 | /// 18 | public class VideoTextureRenderer : VideoTextureRendererAbstractBehaviour 19 | { 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VideoTextureRenderer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53da1adc3659e8c45996dbe2fd7113ae 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VirtualButtonBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Runtime.InteropServices; 10 | using UnityEngine; 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// This behaviour associates a Virtual Button with a game object. Use the 16 | /// functionality in ImageTargetBehaviour to create and destroy Virtual Buttons 17 | /// at run-time. 18 | /// 19 | public class VirtualButtonBehaviour : VirtualButtonAbstractBehaviour 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VirtualButtonBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c9fd2a2ab7e57e42a9586305090af87 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VuforiaBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// The VuforiaBehaviour class handles tracking and triggers native video 13 | /// background rendering. The class updates all Trackables in the scene. 14 | /// 15 | public class VuforiaBehaviour : VuforiaAbstractBehaviour 16 | { 17 | protected void Awake() 18 | { 19 | IUnityPlayer unityPlayer = new NullUnityPlayer(); 20 | 21 | // instantiate the correct UnityPlayer for the current platform 22 | if (Application.platform == RuntimePlatform.Android) 23 | unityPlayer = new AndroidUnityPlayer(); 24 | else if (Application.platform == RuntimePlatform.IPhonePlayer) 25 | unityPlayer = new IOSUnityPlayer(); 26 | else if (VuforiaRuntimeUtilities.IsPlayMode()) 27 | unityPlayer = new PlayModeUnityPlayer(); 28 | 29 | SetUnityPlayerImplementation(unityPlayer); 30 | 31 | gameObject.AddComponent(); 32 | } 33 | 34 | private static VuforiaBehaviour mVuforiaBehaviour= null; 35 | 36 | /// 37 | /// A simple static singleton getter to the VuforiaBehaviour (if present in the scene) 38 | /// Will return null if no VuforiaBehaviour has been instanciated in the scene. 39 | /// 40 | public static VuforiaBehaviour Instance 41 | { 42 | get 43 | { 44 | if (mVuforiaBehaviour == null) 45 | mVuforiaBehaviour = FindObjectOfType(); 46 | 47 | return mVuforiaBehaviour; 48 | } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/VuforiaBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4114ca95ba12f394a8ad43abfc86745c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WebCamBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Runtime.InteropServices; 10 | using UnityEngine; 11 | 12 | namespace Vuforia 13 | { 14 | /// 15 | /// This MonoBehaviour manages the usage of a webcam for Play Mode in Windows or Mac. 16 | /// 17 | public class WebCamBehaviour : WebCamAbstractBehaviour 18 | { 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WebCamBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 772bc9e597a4a8849b5ad887b7fef10f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WireframeBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// This script renders the mesh from the MeshFilter as wireframe. 13 | /// This is mainly supposed to be used for visualization/debugging purpoes. It uses GL.LINES to draw the wireframe, 14 | /// which is not very fast for larger meshes. 15 | /// In order to draw large wireframe meshes in an app, it is recommended to use 3rd party libraries such as Vectrosity. 16 | /// 17 | public class WireframeBehaviour : MonoBehaviour 18 | { 19 | #region PRIVATE_MEMBERS 20 | 21 | private Material mLineMaterial; 22 | 23 | #endregion // PRIVATE_MEMBERS 24 | 25 | 26 | #region PUBLIC_MEMBERS 27 | 28 | public bool ShowLines = true; 29 | public Color LineColor = Color.green; 30 | 31 | #endregion // PUBLIC_MEMBERS 32 | 33 | 34 | #region PRIVATE_METHODS 35 | 36 | private void CreateLineMaterial() 37 | { 38 | mLineMaterial = new Material("Shader \"Lines/Colored Blended\" {" + 39 | "SubShader {" + 40 | "Pass { Color (" + LineColor.r + "," + LineColor.g + "," + LineColor.b + "," + LineColor.a + ") }" + 41 | "} }" ); 42 | mLineMaterial.hideFlags = HideFlags.HideAndDontSave; 43 | mLineMaterial.shader.hideFlags = HideFlags.HideAndDontSave; 44 | } 45 | 46 | #endregion // PRIVATE_METHODS 47 | 48 | 49 | #region UNITY_MONOBEHAVIOUR_METHODS 50 | 51 | void OnRenderObject () 52 | { 53 | // avoid lines being rendered in Background-camera 54 | GameObject go = VuforiaManager.Instance.ARCameraTransform.gameObject; 55 | Camera[] cameras = go.GetComponentsInChildren(); 56 | bool valid = false; 57 | foreach (Camera cam in cameras) 58 | { 59 | if(Camera.current == cam) 60 | valid = true; 61 | } 62 | if(!valid) 63 | return; 64 | 65 | if (!ShowLines) return; 66 | 67 | var mf = GetComponent(); 68 | if (!mf) return; 69 | 70 | if (mLineMaterial == null) 71 | CreateLineMaterial(); 72 | 73 | var mesh = mf.sharedMesh; 74 | var vertices = mesh.vertices; 75 | var triangles = mesh.triangles; 76 | 77 | GL.PushMatrix(); 78 | 79 | GL.MultMatrix(transform.localToWorldMatrix); 80 | 81 | mLineMaterial.SetPass(0); 82 | GL.Begin(GL.LINES); 83 | for (int i=0; i(); 107 | if (!mf) return; 108 | 109 | Gizmos.matrix = Matrix4x4.TRS(gameObject.transform.position, gameObject.transform.rotation, gameObject.transform.lossyScale); 110 | Gizmos.color = LineColor; 111 | 112 | var mesh = mf.sharedMesh; 113 | var vertices = mesh.vertices; 114 | var triangles = mesh.triangles; 115 | for (int i = 0; i < triangles.Length; i += 3) 116 | { 117 | 118 | var P0 = (vertices[triangles[i + 0]]); 119 | var P1 = (vertices[triangles[i + 1]]); 120 | var P2 = (vertices[triangles[i + 2]]); 121 | 122 | Gizmos.DrawLine(P0, P1); 123 | Gizmos.DrawLine(P1, P2); 124 | Gizmos.DrawLine(P2, P0); 125 | } 126 | } 127 | } 128 | 129 | #endregion // UNITY_MONOBEHAVIOUR_METHODS 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WireframeBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1c63b5f53d14449ac6d6fd69730317 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WireframeTrackableEventHandler.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | 8 | using UnityEngine; 9 | 10 | namespace Vuforia 11 | { 12 | /// 13 | /// A custom handler that also hides the wireframe-renderer in the smart terrain 14 | /// 15 | public class WireframeTrackableEventHandler : MonoBehaviour, 16 | ITrackableEventHandler 17 | { 18 | #region PRIVATE_MEMBER_VARIABLES 19 | 20 | private TrackableBehaviour mTrackableBehaviour; 21 | 22 | #endregion // PRIVATE_MEMBER_VARIABLES 23 | 24 | 25 | 26 | #region UNTIY_MONOBEHAVIOUR_METHODS 27 | 28 | void Start() 29 | { 30 | mTrackableBehaviour = GetComponent(); 31 | if (mTrackableBehaviour) 32 | { 33 | mTrackableBehaviour.RegisterTrackableEventHandler(this); 34 | } 35 | } 36 | 37 | #endregion // UNTIY_MONOBEHAVIOUR_METHODS 38 | 39 | 40 | 41 | #region PUBLIC_METHODS 42 | 43 | /// 44 | /// Implementation of the ITrackableEventHandler function called when the 45 | /// tracking state changes. 46 | /// 47 | public void OnTrackableStateChanged( 48 | TrackableBehaviour.Status previousStatus, 49 | TrackableBehaviour.Status newStatus) 50 | { 51 | if (newStatus == TrackableBehaviour.Status.DETECTED || 52 | newStatus == TrackableBehaviour.Status.TRACKED) 53 | { 54 | OnTrackingFound(); 55 | } 56 | else 57 | { 58 | OnTrackingLost(); 59 | } 60 | } 61 | 62 | #endregion // PUBLIC_METHODS 63 | 64 | 65 | 66 | #region PRIVATE_METHODS 67 | 68 | 69 | private void OnTrackingFound() 70 | { 71 | Renderer[] rendererComponents = GetComponentsInChildren(true); 72 | Collider[] colliderComponents = GetComponentsInChildren(true); 73 | WireframeBehaviour[] wireframeComponents = GetComponentsInChildren(true); 74 | 75 | // Enable rendering: 76 | foreach (Renderer component in rendererComponents) 77 | { 78 | component.enabled = true; 79 | } 80 | 81 | // Enable colliders: 82 | foreach (Collider component in colliderComponents) 83 | { 84 | component.enabled = true; 85 | } 86 | 87 | // Enable wireframe rendering: 88 | foreach (WireframeBehaviour component in wireframeComponents) 89 | { 90 | component.enabled = true; 91 | } 92 | 93 | Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " found"); 94 | } 95 | 96 | 97 | private void OnTrackingLost() 98 | { 99 | Renderer[] rendererComponents = GetComponentsInChildren(true); 100 | Collider[] colliderComponents = GetComponentsInChildren(true); 101 | WireframeBehaviour[] wireframeComponents = GetComponentsInChildren(true); 102 | 103 | // Disable rendering: 104 | foreach (Renderer component in rendererComponents) 105 | { 106 | component.enabled = false; 107 | } 108 | 109 | // Disable colliders: 110 | foreach (Collider component in colliderComponents) 111 | { 112 | component.enabled = false; 113 | } 114 | 115 | // Disable wireframe rendering: 116 | foreach (WireframeBehaviour component in wireframeComponents) 117 | { 118 | component.enabled = false; 119 | } 120 | Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " lost"); 121 | } 122 | 123 | #endregion // PRIVATE_METHODS 124 | } 125 | } 126 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WireframeTrackableEventHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3b5df557a1c1cd47bf44ce2b4bff733 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WordBehaviour.cs: -------------------------------------------------------------------------------- 1 | /*============================================================================== 2 | Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | All Rights Reserved. 4 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 5 | ==============================================================================*/ 6 | 7 | using UnityEngine; 8 | 9 | namespace Vuforia 10 | { 11 | /// 12 | /// This class serves both as an augmentation definition for a Word in the editor 13 | /// as well as a tracked Word result at runtime 14 | /// 15 | public class WordBehaviour : WordAbstractBehaviour 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Assets/Vuforia/Scripts/WordBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3a0055b9f711b34a87b27e3bc9b906d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df37f1265908b594496963ac83f9b510 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/BrightTexture.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/BrightTexture" { 2 | Properties { 3 | _MainTex ("Base (RGB)", 2D) = "white" {} 4 | } 5 | SubShader { 6 | 7 | Pass{ 8 | 9 | CGPROGRAM 10 | 11 | #pragma vertex vert 12 | #pragma fragment frag 13 | 14 | #include "UnityCG.cginc" 15 | 16 | sampler2D _MainTex; 17 | 18 | struct v2f { 19 | float4 pos : SV_POSITION; 20 | float2 uv : TEXCOORD0; 21 | }; 22 | 23 | float4 _MainTex_ST; 24 | 25 | v2f vert (appdata_base v) 26 | { 27 | v2f o; 28 | o.pos = mul (UNITY_MATRIX_MVP, v.vertex); 29 | o.uv = TRANSFORM_TEX(v.texcoord, _MainTex); 30 | return o; 31 | } 32 | 33 | 34 | half4 frag(v2f i) : COLOR 35 | { 36 | half4 c = tex2D (_MainTex, i.uv); 37 | 38 | float scale = 0.2f; 39 | c.rgb = c.rgb * scale + 1.0f - scale; 40 | 41 | return c; 42 | } 43 | 44 | ENDCG 45 | } 46 | } 47 | 48 | 49 | 50 | 51 | FallBack "Diffuse" 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/BrightTexture.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e6d3c0df88f3ab458512f8282e449af 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/DepthMask.shader: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. 2 | //All Rights Reserved. 3 | //Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 4 | Shader "DepthMask" { 5 | 6 | SubShader { 7 | // Render the mask after regular geometry, but before masked geometry and 8 | // transparent things. 9 | 10 | Tags {"Queue" = "Geometry-10" } 11 | 12 | // Turn off lighting, because it's expensive and the thing is supposed to be 13 | // invisible anyway. 14 | 15 | Lighting Off 16 | 17 | // Draw into the depth buffer in the usual way. This is probably the default, 18 | // but it doesn't hurt to be explicit. 19 | 20 | ZTest LEqual 21 | ZWrite On 22 | 23 | // Don't draw anything into the RGBA channels. This is an undocumented 24 | // argument to ColorMask which lets us avoid writing to anything except 25 | // the depth buffer. 26 | 27 | ColorMask 0 28 | 29 | // Do nothing specific in the pass: 30 | 31 | Pass {} 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/DepthMask.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ce7eb78425fb1540838bc9d5d95857a 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/RenderVideoBackground.shader: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. 2 | //All Rights Reserved. 3 | //Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 4 | Shader "Custom/RenderVideoBackground" { 5 | Properties { 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | } 8 | SubShader { 9 | Tags {"Queue"="overlay+1" "RenderType"="overlay" } 10 | Pass { 11 | // Render the teapot 12 | SetTexture [_MainTex] { 13 | combine texture 14 | } 15 | } 16 | } 17 | FallBack "Diffuse" 18 | } 19 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/RenderVideoBackground.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fc05163cdd47154bb7c41f2db29c165 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/Text3D.shader: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 2 | //All Rights Reserved. 3 | //Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 4 | Shader "Custom/Text3D" { 5 | Properties { 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | _Color ("Text Color", Color) = (1,1,1,1) 8 | } 9 | 10 | SubShader { 11 | Tags { "Queue"="Geometry+1" "IgnoreProjector"="True" } 12 | Lighting Off Offset -1, -1 ZTest LEqual ZWrite On Fog { Mode Off } 13 | Blend SrcAlpha OneMinusSrcAlpha 14 | Pass { 15 | Color [_Color] 16 | SetTexture [_MainTex] { 17 | combine primary, texture * primary 18 | } 19 | } 20 | } 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/Text3D.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1291d28f0c885a84d8c9a67bc6ca0c82 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/VertexLitWithZ.shader: -------------------------------------------------------------------------------- 1 | //============================================================================== 2 | //Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. 3 | //All Rights Reserved. 4 | //============================================================================== 5 | 6 | Shader "Transparent/VertexLit with Z" { 7 | Properties { 8 | _Color ("Main Color", Color) = (1,1,1,1) 9 | _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} 10 | } 11 | 12 | SubShader { 13 | Tags {"RenderType"="Transparent" "Queue"="Transparent"} 14 | // Render into depth buffer only 15 | Pass { 16 | ColorMask 0 17 | } 18 | // Render normally 19 | Pass { 20 | ZWrite On 21 | Blend SrcAlpha OneMinusSrcAlpha 22 | ColorMask RGB 23 | Material { 24 | Diffuse [_Color] 25 | Ambient [_Color] 26 | } 27 | Lighting On 28 | SetTexture [_MainTex] { 29 | Combine texture * primary DOUBLE, texture * primary 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/VertexLitWithZ.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c158ceb104c238944a4daf52327953f9 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/VideoBackground.shader: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2014 Qualcomm Connected Experiences, Inc. 2 | //All Rights Reserved. 3 | //Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 4 | Shader "Custom/VideoBackground" { 5 | Properties { 6 | _MainTex ("Base (RGB)", 2D) = "white" {} 7 | } 8 | SubShader { 9 | Tags {"Queue"="geometry-11" "RenderType"="opaque" } 10 | Pass { 11 | ZWrite Off 12 | Cull Off 13 | Lighting Off 14 | 15 | SetTexture [_MainTex] { 16 | combine texture 17 | } 18 | } 19 | } 20 | FallBack "Diffuse" 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Vuforia/Shaders/VideoBackground.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf405676451489f468485d28632b63fb 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Vuforia/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2bedf588df73de4bbeea8493b6bf5a4 3 | folderAsset: yes 4 | timeCreated: 1446110628 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/CloudRecoTarget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Textures/CloudRecoTarget.png -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/CloudRecoTarget.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6153ed43853e4449924f1322300f084 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: 2 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | assetBundleVariant: 55 | -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/UserDefinedTarget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Textures/UserDefinedTarget.png -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/UserDefinedTarget.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb22b98929f50754ab255ba14de4fa55 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: 2 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | assetBundleVariant: 55 | -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/VideoBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/Assets/Vuforia/Textures/VideoBackground.png -------------------------------------------------------------------------------- /Assets/Vuforia/Textures/VideoBackground.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d46decd9d3bbf0d46b31a3d4ae0f18ff 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: .5, y: .5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | spritePackingTag: 52 | userData: 53 | assetBundleName: 54 | assetBundleVariant: 55 | -------------------------------------------------------------------------------- /Assets/license_3rdpartynotice.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1acdcda0a2eb6374da5dd9997a1c54fb 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/link.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Assets/link.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 688299b18b3aecc4bba61613f5cf576d 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/readme_SDK.txt: -------------------------------------------------------------------------------- 1 | Vuforia Augmented Reality SDK Release Package 2 | ============================================== 3 | 4 | Vuforia supports Unity 4.6.4 or newer. 5 | To learn more about Vuforia, go to https://developer.vuforia.com/library/getting-started 6 | To view the SDK license agreement, go to https://developer.vuforia.com/legal/vuforia-developer-agreement 7 | To view the release notes, go to https://developer.vuforia.com/library/release-notes 8 | 9 | /*============================================================================ 10 | Copyright (c) 2010-2015 Qualcomm Connected Experiences, Inc. 11 | All Rights Reserved. 12 | Confidential and Proprietary - Qualcomm Connected Experiences, Inc. 13 | ============================================================================*/ 14 | -------------------------------------------------------------------------------- /Assets/readme_SDK.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6953460c89130046a00d4c8fef0f4d6 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /PaintModel.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/PaintModel.v12.suo -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.2.1p4 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAnalyticsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tangoyzx/PaintModel/bd5833eb5431be3649a39f133a0f39dc01d89aac/ProjectSettings/UnityAnalyticsManager.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PaintModel 2 | 3 | 模仿涂涂乐,核心就是把屏幕四边形坐标投影到UV空间。基于Vuforia的AR SDK。 4 | 5 | 原理地址:http://www.arvrschool.com/read.php?tid=537&fid=23 6 | 7 | P.S. 非商业项目,只为了提供一个大概思路,如何实现剩余的功能变成一个商业项目请不要问我…… 8 | 9 | 使用方法: 10 | 打开Scenes中的场景,打开scene,把摄像头对准识别的图片,然后对识别图上色,上面的模型也会跟随着上色。 11 | 12 | —————————————2015/11/12更新—————————————— 13 | 14 | 关于移动端显示不正确的问题 15 | 16 | 自己也开始发布到移动端,的确有类似的问题,主要原因好像是因为Vuforia提供的BackgroundPlane的Texture与PC端上的不同,而且还不止是uv方向上的不同(目前情况看起来好像是uv0.75以上的范围都是黑的),所以各种UV映射错误 17 | 18 | 没有想到太好的解决方法…… 19 | --------------------------------------------------------------------------------