diff --git a/AR-2/Assets/.DS_Store b/AR-2/Assets/.DS_Store new file mode 100644 index 0000000..083d0bf Binary files /dev/null and b/AR-2/Assets/.DS_Store differ diff --git a/AR-2/Assets/AlignmentScript.cs b/AR-2/Assets/AlignmentScript.cs new file mode 100644 index 0000000..db4a3e6 --- /dev/null +++ b/AR-2/Assets/AlignmentScript.cs @@ -0,0 +1,26 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class AlignmentScript : MonoBehaviour +{ + Transform shuttle; + Transform landing; + GameObject quad; + // Start is called before the first frame update + void Start() { + shuttle = GameObject.Find("ShuttleTarget").transform; + landing = GameObject.Find("LandingTarget").transform; + quad = GameObject.Find("AlignmentQuad"); + } + + // Update is called once per frame + void Update() { + var upDot = Vector3.Dot(shuttle.up, landing.up); + var forwardDot = Vector3.Dot(shuttle.forward, landing.forward); + var ratio = (upDot + forwardDot) / 2; + var color = new Color((1 - ratio)*2, ratio, 0); + quad.GetComponent().material.color = color; + + } +} diff --git a/AR-2/Assets/AlignmentScript.cs.meta b/AR-2/Assets/AlignmentScript.cs.meta new file mode 100644 index 0000000..17a803d --- /dev/null +++ b/AR-2/Assets/AlignmentScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dfb36cee13f0f431f93747fac4a79f1c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/CollideScript.cs b/AR-2/Assets/CollideScript.cs new file mode 100644 index 0000000..c324562 --- /dev/null +++ b/AR-2/Assets/CollideScript.cs @@ -0,0 +1,36 @@ +using System.Collections; +using System; +using System.Collections.Generic; +using UnityEngine; + +public class CollideScript : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + var earth = GameObject.Find("Earth").transform; + var meteor = transform; + + //print($"The earth location: {earth.position}"); + //print($"The meteor location: {meteor.position}"); + + var distance = Vector3.Distance(earth.position, meteor.position); + if (distance < (earth.lossyScale + meteor.lossyScale).magnitude/4) { + print("EXPLOSION!"); + var vector = earth.position - meteor.position; + var relCollisionPoint = vector.normalized * meteor.lossyScale.magnitude/2; + var absCollisionPoint = meteor.position + relCollisionPoint; + + var explosion = GameObject.Find("Explosion").transform; + explosion.position = absCollisionPoint; + explosion.GetComponent().Play(); + + } + } +} diff --git a/AR-2/Assets/CollideScript.cs.meta b/AR-2/Assets/CollideScript.cs.meta new file mode 100644 index 0000000..ceabb5a --- /dev/null +++ b/AR-2/Assets/CollideScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: db438821a04454e0b82c26085f9fec52 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor.meta b/AR-2/Assets/Editor.meta new file mode 100755 index 0000000..982e1db --- /dev/null +++ b/AR-2/Assets/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9102bde7958c14cdab4168322239413a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia.meta b/AR-2/Assets/Editor/Vuforia.meta new file mode 100755 index 0000000..90fc1ec --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 3b318b5996063a14d95c24c308870509 +folderAsset: yes +timeCreated: 1493380881 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures.meta b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures.meta new file mode 100755 index 0000000..6c7651c --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 21c7256dec9132140af63b32f95af6ad +folderAsset: yes +timeCreated: 1502300586 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images.meta b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images.meta new file mode 100755 index 0000000..050f754 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b930a4b8266e83742987b4344dcec5b5 +folderAsset: yes +timeCreated: 1502300586 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg new file mode 100755 index 0000000..ca80827 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg.meta new file mode 100755 index 0000000..f0d9142 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Body_scaled.jpg.meta @@ -0,0 +1,74 @@ +fileFormatVersion: 2 +guid: f930368b2014406d9fc39e0bc4925f04 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg new file mode 100755 index 0000000..779d224 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg.meta new file mode 100755 index 0000000..e64c063 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/RocketBooster.Top_scaled.jpg.meta @@ -0,0 +1,74 @@ +fileFormatVersion: 2 +guid: 88ae6815c2214b71b7e8e53efddf0b22 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml new file mode 100755 index 0000000..8d6650f --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml.meta b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml.meta new file mode 100755 index 0000000..53c6b08 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/CylinderTargetTextures/VuforiaMars_Images/authoringinfo.xml.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6e3ac25fe5c94d7d956f50c7c0df72e3 diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint.meta b/AR-2/Assets/Editor/Vuforia/ForPrint.meta new file mode 100755 index 0000000..222697d --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 44f8302d27a65c3418ec2fc90f4a81dc +folderAsset: yes +timeCreated: 1493380532 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget.meta new file mode 100755 index 0000000..96d3bb6 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 911ea977843f1374ea7ceae64e93156f +folderAsset: yes +timeCreated: 1498652026 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf new file mode 100755 index 0000000..6291be8 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf differ diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf.meta new file mode 100755 index 0000000..0df12a5 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/CylinderTarget/cylinder_booster_USLetter.pdf.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 78eb5653c5b77844196a06006d678259 +timeCreated: 1501795201 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets.meta new file mode 100755 index 0000000..5faa9cb --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 318ac27b67500ea4498f806a3d7df7e6 +folderAsset: yes +timeCreated: 1498652026 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf new file mode 100755 index 0000000..d7d69d2 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf differ diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf.meta new file mode 100755 index 0000000..595d82e --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/ImageTargets/target_images_USLetter.pdf.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e822de06b1e7abf4c9c199de2942c719 +timeCreated: 1501792231 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget.meta new file mode 100755 index 0000000..1db9897 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f114e6025da31c947bc12a0004f00b05 +folderAsset: yes +timeCreated: 1498652026 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf new file mode 100755 index 0000000..8016897 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf differ diff --git a/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf.meta b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf.meta new file mode 100755 index 0000000..e4190c4 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ForPrint/MultiTarget/mars_box_USLetter.pdf.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fc373d9b39a416f438ca99ae10f8d3de +timeCreated: 1501548154 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures.meta new file mode 100755 index 0000000..59b4528 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 6de677bb34a9d444abcbc1265b6475ff +folderAsset: yes +timeCreated: 1502300586 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1.meta new file mode 100644 index 0000000..c12e49d --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e1ad499ee044a485e92fac7aa6719f13 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg new file mode 100644 index 0000000..12ad051 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg.meta new file mode 100644 index 0000000..cd38a0f --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/earth_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 7ac465a6254140f2ae26c523483cf84f +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg new file mode 100644 index 0000000..f453158 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg.meta new file mode 100644 index 0000000..8c57daf --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/falcon_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 007669e0f0254beb9f153612080e02e8 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg new file mode 100644 index 0000000..5a3ae04 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg.meta new file mode 100644 index 0000000..15c1039 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/farge_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 658ea795ec9e43018938dba1c7ab24bd +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg new file mode 100644 index 0000000..70af484 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg.meta new file mode 100644 index 0000000..d4c01a6 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/h-fighter_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: bfb53d273be547fcb0929841c9a4f91b +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg new file mode 100644 index 0000000..25807e9 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg.meta new file mode 100644 index 0000000..fe0c0d3 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/landingsbane_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: c394fad3545e46de9752b3f28d57e5bf +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg new file mode 100644 index 0000000..a922cbe Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg.meta new file mode 100644 index 0000000..7ab2bf5 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther-test_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 16f8ad5bb93e4973869cb8be3c1c3507 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg new file mode 100644 index 0000000..a922cbe Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg.meta new file mode 100644 index 0000000..d4ab1ab --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/AR-1/other-figther_scaled.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 26b1f498f267434a894321bf30760303 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator.meta new file mode 100755 index 0000000..e7d5631 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c60fde2f6d3ec6249bf8090fdb0995e8 +folderAsset: yes +timeCreated: 1510162306 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg new file mode 100755 index 0000000..40494f3 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg.meta new file mode 100755 index 0000000..0c7969f --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaEmulator/emulator_ground_plane_scaled.jpg.meta @@ -0,0 +1,76 @@ +fileFormatVersion: 2 +guid: d28f7a8a9b3dfff44bb6faf80929212b +timeCreated: 1510225274 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images.meta new file mode 100755 index 0000000..b781838 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 4ab1e2e72a52218429d2dc18bab3b618 +folderAsset: yes +timeCreated: 1502300586 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg new file mode 100755 index 0000000..25b35b4 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg.meta new file mode 100755 index 0000000..1b573d4 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Astronaut_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: 77fb44a366db5cb41b8c06649271f8e6 +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg new file mode 100755 index 0000000..8a23eb2 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg.meta new file mode 100755 index 0000000..806cb93 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Drone_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: 3b3cf30ab7479fc45a6362fc4cb5e995 +timeCreated: 1512585223 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg new file mode 100755 index 0000000..c27fe18 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg.meta new file mode 100755 index 0000000..232ac5e --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Fissure_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: a35a2d04e4ca5f643a173fb3a98d5fd1 +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg new file mode 100755 index 0000000..99a73ef Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg.meta new file mode 100755 index 0000000..7b2a5e5 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Back_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: cd759bcce9643934392e470cd9d0d179 +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg new file mode 100755 index 0000000..e87ab66 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg.meta new file mode 100755 index 0000000..bf55981 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Bottom_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: 33aedae9989557c4298ce94822d5745e +timeCreated: 1512585223 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg new file mode 100755 index 0000000..0119958 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg.meta new file mode 100755 index 0000000..cbb44d9 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Front_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: d66032d25cff61c4585c2f395d4f6a3c +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg new file mode 100755 index 0000000..c6bb20e Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg.meta new file mode 100755 index 0000000..ea268d8 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Left_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: 4381073313ab7ea4f905979151a55156 +timeCreated: 1512585223 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg new file mode 100755 index 0000000..caf3a5d Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg.meta new file mode 100755 index 0000000..54c77f1 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Right_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: a39240edce7bd3940867ccf14ba4270b +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg new file mode 100755 index 0000000..ef8d729 Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg.meta new file mode 100755 index 0000000..2b765db --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/MarsBox.Top_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: 2feb120d7f5872f499dfed51deb3d666 +timeCreated: 1512585223 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg new file mode 100755 index 0000000..3f4930e Binary files /dev/null and b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg differ diff --git a/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg.meta b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg.meta new file mode 100755 index 0000000..0bbc742 --- /dev/null +++ b/AR-2/Assets/Editor/Vuforia/ImageTargetTextures/VuforiaMars_Images/Oxygen_scaled.jpg.meta @@ -0,0 +1,77 @@ +fileFormatVersion: 2 +guid: cc6daa766aade3b4cbaeeac788249a2e +timeCreated: 1512585224 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/GPSScript.cs b/AR-2/Assets/GPSScript.cs new file mode 100644 index 0000000..437d0f9 --- /dev/null +++ b/AR-2/Assets/GPSScript.cs @@ -0,0 +1,60 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class GPSScript : MonoBehaviour +{ + private Transform earth; + private Transform nose; + private Transform shuttle; + private Transform positionTest; + private Matrix4x4 earthLocalToWorldInverse; + private string printString; + private Vector3 posOnEarth = new Vector3(); + // Start is called before the first frame update + void Start() + { + earth = GameObject.Find("EarthTarget").transform; + nose = GameObject.Find("NoseQuad").transform; + shuttle = GameObject.Find("ShuttleTarget").transform; + positionTest = GameObject.Find("PositionTest").transform; + } + + // Update is called once per frame + void Update() + { + printString = ""; + + var shuttleLocalToWorld = shuttle.localToWorldMatrix; + var earthWorldToLocal = Matrix4x4.Inverse(Matrix4x4.TRS(earth.position, earth.rotation, Vector3.one)); + + var transMatrix = earthWorldToLocal * shuttleLocalToWorld; + posOnEarth = transMatrix.MultiplyPoint3x4(nose.localPosition); + printString += posOnEarth.ToString("F4") + "\n"; + compareToNose(posOnEarth); + } + + void compareToNose(Vector3 nosePosition) { + var radius = earth.lossyScale.magnitude / 4; + var d = new Vector2(nosePosition.x, nosePosition.z).magnitude; + + if (d <= radius && nosePosition.y <= 4) { + if (nosePosition.z >= 0) { + printString += "North"; + } else { + printString += "South"; + } + } else { + printString += "Outside"; + } + + + } + + void OnGUI() + { + GUI.color = Color.white; + GUI.Box(new Rect(10, 30, 200, 40), printString); + } + +} diff --git a/AR-2/Assets/GPSScript.cs.meta b/AR-2/Assets/GPSScript.cs.meta new file mode 100644 index 0000000..89084f3 --- /dev/null +++ b/AR-2/Assets/GPSScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 62edff4414d3f41bea9065ed09191691 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/MeshScript.cs b/AR-2/Assets/MeshScript.cs new file mode 100644 index 0000000..163ac30 --- /dev/null +++ b/AR-2/Assets/MeshScript.cs @@ -0,0 +1,133 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class MeshScript : MonoBehaviour +{ + + public Material material; + + void Start() { + + + Vector3[] vertices = new Vector3[15]; + Vector2[] uv = new Vector2[15]; + int[] triangles = new int[39]; + + + // top + vertices[0] = new Vector3(1.5f, 6); + vertices[1] = new Vector3(1, 5); + vertices[2] = new Vector3(2, 5); + vertices[3] = new Vector3(1, 4); + vertices[4] = new Vector3(2, 4); + vertices[5] = new Vector3(1, 3); + vertices[6] = new Vector3(2, 3); + vertices[7] = new Vector3(1, 2); + vertices[8] = new Vector3(2, 2); + vertices[9] = new Vector3(1, 1); + vertices[10] = new Vector3(2, 1); + vertices[11] = new Vector3(3, 1); + vertices[12] = new Vector3(3, 0); + vertices[13] = new Vector3(0, 1); + vertices[14] = new Vector3(0, 0); + + + + + + // Right wing points + /* vertices[10] = new Vector3(0,0); + vertices[11] = new Vector3(1,1); + vertices[12] = new Vector3(0,1); + + + + + uv[10] = new Vector2(0,1); + uv[11] = new Vector2(1,1); + uv[12] = new Vector2(0,0);*/ + + // top + triangles[0] = 1; + triangles[1] = 2; + triangles[2] = 0; + + triangles[3] = 1; + triangles[4] = 4; + triangles[5] = 2; + + triangles[6] = 1; + triangles[7] = 3; + triangles[8] = 4; + + triangles[9] = 3; + triangles[10] = 5; + triangles[11] = 4; + + triangles[12] = 5; + triangles[13] = 6; + triangles[14] = 4; + + triangles[15] = 5; + triangles[16] = 8; + triangles[17] = 6; + + triangles[18] = 5; + triangles[19] = 7; + triangles[20] = 8; + + triangles[21] = 7; + triangles[22] = 9; + triangles[23] = 8; + + triangles[24] = 9; + triangles[25] = 10; + triangles[26] = 8; + + triangles[27] = 13; + triangles[28] = 9; + triangles[29] = 7; + + triangles[30] = 13; + triangles[31] = 14; + triangles[32] = 9; + + triangles[33] = 8; + triangles[34] = 10; + triangles[35] = 11; + + triangles[36] = 10; + triangles[37] = 12; + triangles[38] = 11; + + + + + // Right wing + /* triangles[10] = 0; + triangles[11] = 1; + triangles[12] = 2;*/ + + + Mesh mesh = new Mesh(); + + + mesh.vertices = vertices; + mesh.uv = uv; + mesh.triangles = triangles; + + GameObject go = new GameObject("Mesh", typeof(MeshFilter), typeof(MeshRenderer)); + go.transform.localScale = new Vector3(1, 1, 1); + + go.GetComponent().mesh = mesh; + + go.GetComponent().material = new Material(Shader.Find("Unlit/ShitShader")); + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/AR-2/Assets/MeshScript.cs.meta b/AR-2/Assets/MeshScript.cs.meta new file mode 100644 index 0000000..260c8a5 --- /dev/null +++ b/AR-2/Assets/MeshScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4640c9770a75047a3b983f61b71e5ba3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/RayScript.cs b/AR-2/Assets/RayScript.cs new file mode 100644 index 0000000..c538ab7 --- /dev/null +++ b/AR-2/Assets/RayScript.cs @@ -0,0 +1,115 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class RayScript : MonoBehaviour +{ + // Start is called before the first frame update + Transform topCannon; + bool part1 = true; + bool part2 = false; + bool part3 = false; + Material material; + + bool fire = false; + + Vector3 leftCannon = new Vector3((float)0.077, 0, (float)0.450); + Vector3 rightCannon = new Vector3((float)-0.077, 0, (float)0.450); + Vector3 topCannonPoint = new Vector3(0, (float)0.25, (float)-0.09); + + Transform explosion; + Transform target; + + Matrix4x4 falconTrans; + Vector3 partThreeRay; + Quaternion cannonRotation; + + + void Start() + { + topCannon = GameObject.Find("TopCannon").transform; + explosion = GameObject.Find("Explosion").transform; + target = GameObject.Find("FighterTarget").transform; + + } + + // Update is called once per frame + void Update() { + falconTrans = transform.localToWorldMatrix; + partThreeRay = falconTrans.MultiplyPoint3x4(topCannonPoint); + cannonRotation = Quaternion.Euler(0, 30, 0); + + bool hit = false; + + if (Input.GetKeyDown("space")) { + print("Firing ray"); + fire = true; + + if (part1) { + hit = Physics.Raycast(transform.position, transform.TransformDirection(Vector3.forward), Mathf.Infinity); + } else if (part2) { + var trans = transform.localToWorldMatrix; + var transLeft = trans.MultiplyPoint3x4(leftCannon); + var transRight = trans.MultiplyPoint3x4(rightCannon); + hit = (Physics.Raycast(transLeft, transform.TransformDirection(Vector3.forward), Mathf.Infinity) || + Physics.Raycast(transRight, transform.TransformDirection(Vector3.forward), Mathf.Infinity)); + } else if (part3) { + hit = Physics.Raycast(partThreeRay, transform.TransformDirection(cannonRotation * Vector3.forward), Mathf.Infinity); + } + + } else if (Input.GetKeyUp("space")) { + fire = false; + } + + if (hit) { + print("Hit"); + explosion.position = target.position; + explosion.GetComponent().Play(); + } + + } + + void OnRenderObject() + { + + if (!fire) return; + if (material == null) + material = new Material(Shader.Find("Hidden/Internal-Colored")); + material.SetPass(0); + + if (part1) { + + GL.Begin(GL.LINES); + GL.Color(Color.red); + GL.Vertex(transform.position); + GL.Vertex(transform.position + (transform.TransformDirection(Vector3.forward))); + GL.End(); + } else if (part2) { + var trans = transform.localToWorldMatrix; + var transLeft = trans.MultiplyPoint3x4(leftCannon); + var transRight = trans.MultiplyPoint3x4(rightCannon); + + + GL.Begin(GL.LINES); + GL.Color(Color.red); + GL.Vertex(transLeft); + GL.Vertex(transLeft + (transform.TransformDirection(Vector3.forward))); + + GL.Begin(GL.LINES); + GL.Color(Color.red); + GL.Vertex(transRight); + GL.Vertex(transRight + (transform.TransformDirection(Vector3.forward))); + GL.End(); + } else if (part3) { + topCannon.localPosition = topCannonPoint; + + GL.Begin(GL.LINES); + GL.Color(Color.red); + GL.Vertex(partThreeRay); + GL.Vertex((partThreeRay + transform.TransformDirection(cannonRotation * Vector3.forward))); + GL.End(); + + } + + } +} diff --git a/AR-2/Assets/RayScript.cs.meta b/AR-2/Assets/RayScript.cs.meta new file mode 100644 index 0000000..4106b11 --- /dev/null +++ b/AR-2/Assets/RayScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 14441c6468d584104b89978be1897e84 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources.meta b/AR-2/Assets/Resources.meta new file mode 100644 index 0000000..31ca5d8 --- /dev/null +++ b/AR-2/Assets/Resources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 27ec61403d2bd4876bda19f4bf351346 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/Materials.meta b/AR-2/Assets/Resources/Materials.meta new file mode 100644 index 0000000..60e49f5 --- /dev/null +++ b/AR-2/Assets/Resources/Materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 77edb6164bad44d37a39ba4de1849b5f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/Materials/earth-texture.mat b/AR-2/Assets/Resources/Materials/earth-texture.mat new file mode 100644 index 0000000..9d3acd3 --- /dev/null +++ b/AR-2/Assets/Resources/Materials/earth-texture.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: earth-texture + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: de433602e60754359bb52d43735cc6d2, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Resources/Materials/earth-texture.mat.meta b/AR-2/Assets/Resources/Materials/earth-texture.mat.meta new file mode 100644 index 0000000..1556e8c --- /dev/null +++ b/AR-2/Assets/Resources/Materials/earth-texture.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3ecc9265c852942fe9171c54d4e6ce4b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/Materials/meteor-texture.mat b/AR-2/Assets/Resources/Materials/meteor-texture.mat new file mode 100644 index 0000000..95bca78 --- /dev/null +++ b/AR-2/Assets/Resources/Materials/meteor-texture.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: meteor-texture + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 0c8093b2f9d79477b9ce1bae4e767bd1, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Resources/Materials/meteor-texture.mat.meta b/AR-2/Assets/Resources/Materials/meteor-texture.mat.meta new file mode 100644 index 0000000..8cd9f1a --- /dev/null +++ b/AR-2/Assets/Resources/Materials/meteor-texture.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 20f3b94625dd64a12aca2b8bcd874278 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/Materials/moon-texture.mat b/AR-2/Assets/Resources/Materials/moon-texture.mat new file mode 100644 index 0000000..d31d43f --- /dev/null +++ b/AR-2/Assets/Resources/Materials/moon-texture.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: moon-texture + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 9afbfa7d8db71447b884fb195d82dcf3, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Resources/Materials/moon-texture.mat.meta b/AR-2/Assets/Resources/Materials/moon-texture.mat.meta new file mode 100644 index 0000000..dd11449 --- /dev/null +++ b/AR-2/Assets/Resources/Materials/moon-texture.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a802f2e4abe2d44beb3082334e050cb2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/Materials/sun-texture.mat b/AR-2/Assets/Resources/Materials/sun-texture.mat new file mode 100644 index 0000000..ea5c180 --- /dev/null +++ b/AR-2/Assets/Resources/Materials/sun-texture.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: sun-texture + m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _EMISSION + m_LightmapFlags: 2 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 2800000, guid: ba0f8db1e18fb4129a61b8884f9e4192, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: ba0f8db1e18fb4129a61b8884f9e4192, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0.5849056, g: 0.5849056, b: 0.5849056, a: 1} diff --git a/AR-2/Assets/Resources/Materials/sun-texture.mat.meta b/AR-2/Assets/Resources/Materials/sun-texture.mat.meta new file mode 100644 index 0000000..29f6369 --- /dev/null +++ b/AR-2/Assets/Resources/Materials/sun-texture.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4cef0535c1ee24c059ab37407a29d4f7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/VuforiaConfiguration.asset b/AR-2/Assets/Resources/VuforiaConfiguration.asset new file mode 100644 index 0000000..123bfdb --- /dev/null +++ b/AR-2/Assets/Resources/VuforiaConfiguration.asset @@ -0,0 +1,70 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -2067402452, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: VuforiaConfiguration + m_EditorClassIdentifier: + vuforia: + vuforiaLicenseKey: Aa21/k7/////AAABmQwOF4BkUEKqvvdpdACm3+lG2JiMVySaSGhz523Eh7pWp+vZZpNodhD3YGU5301Yz2yq0uswG/l36iTj2nwSaCtnS1bGy+QKXYd/1Xp1wgKrW1GQQM6rvxmBAKn2NN7MVPW9m/LI5PXUMtJPzKqpZKk4thrUeRc38NfOpDVVd6g00szThrU8MuHX+F24JZ0hdpJJlkCM/zPC9TC6CYMHuuEiSbbv0PnQrp7Kab1n/cmvC0/VhxW2qEnEAIu0U1OhjLTEFoCFmjYKNS6InIHrcD4VW9c+wDroC4nKoBhgCdeYc9+sMsCx7d5m4taGJao/xhbHudeZgrmvsRBaDRh5OPkLn6LvfkuufmNYvQxD2XCG + ufoLicenseKey: QVgrdW51ei8vLy8vQUFBQUtJTUxxQXkwc0U3RmxRZVJpTFRhbnBxYngvNGJlMjJ2cCtWcXlDZjN0VnhNVmpHVTF6eXZhbXF4dXRKdDJ4SFl5K0x3N3ozb2hiWUkzMGdNMTFKNkZRUE0xTE5qQU1maTJaNE5relkxZlBLL1JNaGtYZG1tbkZoUHFQMTh3T2I1N0FMYWlSWGZ5bERSNFBJMGZpbHZHVEUvcHJxYWlkaHNVeG5ROUJPdjRIemNYYkQ5MU5FcHFuVkdKdEh1SUZZT3B0cnlFL29NNCtjR3EvakVIa3UxTTFMRk9nOWYva1lodW80a1FQa29ZeVVCOTVONEhpTHVHUEJxOE1HYUpZcXk1RmxPaWFydEJBSHd2OTFYYnZnaHJuaGF2QS9hZ2NHNWRZbXhCR3JCcm9OVEFYRkR2QzRsdU1ucVJnVGFFUCtIMG1NSjhZSlI5cHpla1lsU1Jtd0pqQ2VySWZXNlE3UWlYTXk4TXhlOTBicUc= + delayedInitialization: 0 + cameraDeviceModeSetting: -1 + maxSimultaneousImageTargets: 20 + maxSimultaneousObjectTargets: 20 + useDelayedLoadingObjectTargets: 0 + cameraDirection: 0 + mirrorVideoBackground: 0 + version: 8.0.10 + eulaAcceptedVersions: '{"Values":["0.0","8.0"]}' + digitalEyewear: + cameraOffset: 0.06 + distortionRenderingLayer: 31 + eyewearType: 0 + stereoFramework: 0 + seeThroughConfiguration: 0 + viewerName: + viewerManufacturer: + useCustomViewer: 0 + customViewer: + Version: 0 + Name: + Manufacturer: + ButtonType: 0 + ScreenToLensDistance: 0 + InterLensDistance: 0 + TrayAlignment: 0 + LensCenterToTrayDistance: 0 + DistortionCoefficients: {x: 0, y: 0} + FieldOfView: {x: 0, y: 0, z: 0, w: 0} + ContainsMagnet: 0 + videoBackground: + clippingMode: 0 + numDivisions: 2 + videoBackgroundShader: {fileID: 4800000, guid: f40623b353e2f1943b1b3ba42975db7a, + type: 3} + matteShader: {fileID: 4800000, guid: 66d0d78a3000021448b598bb54a3bfdf, type: 3} + videoBackgroundEnabled: 1 + deviceTracker: + autoInitTracker: 0 + autoStartTracker: 0 + trackingMode: 1 + posePrediction: 0 + modelCorrectionMode: 0 + modelTransformEnabled: 0 + modelTransform: {x: 0, y: 0.1, z: -0.1} + smartTerrain: + autoInitTracker: 0 + autoStartTracker: 0 + webcam: + deviceNameSetInEditor: 'USB Camera #2' + flipHorizontally: 0 + turnOffWebCam: 0 + renderTextureLayer: 30 diff --git a/AR-2/Assets/Resources/VuforiaConfiguration.asset.meta b/AR-2/Assets/Resources/VuforiaConfiguration.asset.meta new file mode 100644 index 0000000..db01e10 --- /dev/null +++ b/AR-2/Assets/Resources/VuforiaConfiguration.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: eb7f212a5840e4d6b8c920166ea3ff1b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/earth-texture.jpg b/AR-2/Assets/Resources/earth-texture.jpg new file mode 100644 index 0000000..611a825 Binary files /dev/null and b/AR-2/Assets/Resources/earth-texture.jpg differ diff --git a/AR-2/Assets/Resources/earth-texture.jpg.meta b/AR-2/Assets/Resources/earth-texture.jpg.meta new file mode 100644 index 0000000..dde3cb2 --- /dev/null +++ b/AR-2/Assets/Resources/earth-texture.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: de433602e60754359bb52d43735cc6d2 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/meteor-texture.jpg b/AR-2/Assets/Resources/meteor-texture.jpg new file mode 100644 index 0000000..3ce1bec Binary files /dev/null and b/AR-2/Assets/Resources/meteor-texture.jpg differ diff --git a/AR-2/Assets/Resources/meteor-texture.jpg.meta b/AR-2/Assets/Resources/meteor-texture.jpg.meta new file mode 100644 index 0000000..a22f6df --- /dev/null +++ b/AR-2/Assets/Resources/meteor-texture.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 0c8093b2f9d79477b9ce1bae4e767bd1 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/moon-texture.jpg b/AR-2/Assets/Resources/moon-texture.jpg new file mode 100644 index 0000000..fb38981 Binary files /dev/null and b/AR-2/Assets/Resources/moon-texture.jpg differ diff --git a/AR-2/Assets/Resources/moon-texture.jpg.meta b/AR-2/Assets/Resources/moon-texture.jpg.meta new file mode 100644 index 0000000..ece28e7 --- /dev/null +++ b/AR-2/Assets/Resources/moon-texture.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: 9afbfa7d8db71447b884fb195d82dcf3 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Resources/sun-texture.jpg b/AR-2/Assets/Resources/sun-texture.jpg new file mode 100644 index 0000000..1af6599 Binary files /dev/null and b/AR-2/Assets/Resources/sun-texture.jpg differ diff --git a/AR-2/Assets/Resources/sun-texture.jpg.meta b/AR-2/Assets/Resources/sun-texture.jpg.meta new file mode 100644 index 0000000..d03b592 --- /dev/null +++ b/AR-2/Assets/Resources/sun-texture.jpg.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: ba0f8db1e18fb4129a61b8884f9e4192 +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 7 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Rotate.cs b/AR-2/Assets/Rotate.cs new file mode 100644 index 0000000..84b752d --- /dev/null +++ b/AR-2/Assets/Rotate.cs @@ -0,0 +1,18 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Rotate : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + transform.Rotate(0,1,0); + } +} diff --git a/AR-2/Assets/Rotate.cs.meta b/AR-2/Assets/Rotate.cs.meta new file mode 100644 index 0000000..5337cad --- /dev/null +++ b/AR-2/Assets/Rotate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aa7979b8c418f4d81b9563fc855ed01f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Scenes.meta b/AR-2/Assets/Scenes.meta new file mode 100644 index 0000000..5ad3b2f --- /dev/null +++ b/AR-2/Assets/Scenes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18e02a47014c443b5a906fc33eb27d1d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Scenes/SampleScene.unity b/AR-2/Assets/Scenes/SampleScene.unity new file mode 100644 index 0000000..ba6062d --- /dev/null +++ b/AR-2/Assets/Scenes/SampleScene.unity @@ -0,0 +1,954 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.3731193, g: 0.38073996, b: 0.3587269, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 10 + m_Resolution: 2 + m_BakeResolution: 10 + m_AtlasSize: 512 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 256 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &212646161 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 212646167} + - component: {fileID: 212646166} + - component: {fileID: 212646165} + - component: {fileID: 212646164} + - component: {fileID: 212646163} + - component: {fileID: 212646162} + m_Layer: 0 + m_Name: LandingTarget + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!33 &212646162 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_Mesh: {fileID: 1302420206} +--- !u!23 &212646163 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 663181358} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!114 &212646164 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1770992566, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &212646165 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &212646166 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1631628248, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: + m_EditorClassIdentifier: + mTrackableName: landingsbane + mPreserveChildSize: 0 + mInitializedInEditor: 1 + mDataSetPath: Vuforia/AR-1.xml + mAspectRatio: 2.7434866 + mImageTargetType: 0 + mWidth: 0.100329995 + mHeight: 0.275254 +--- !u!4 &212646167 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 212646161} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.0173, y: 0, z: 0} + m_LocalScale: {x: 0.275254, y: 0.275254, z: 0.275254} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &663181358 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: 'landingsbaneMaterial + + -1910' + m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _MainTex: + m_Texture: {fileID: 2800000, guid: f212cd602fc4449eb1013671ccca7b76, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: [] + m_Colors: + - _Color: {r: 0.82089555, g: 0.82089555, b: 0.82089555, a: 1} +--- !u!1 &860498374 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 860498380} + - component: {fileID: 860498379} + - component: {fileID: 860498378} + - component: {fileID: 860498377} + - component: {fileID: 860498376} + - component: {fileID: 860498375} + m_Layer: 0 + m_Name: ShuttleTarget + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!33 &860498375 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_Mesh: {fileID: 2053726402} +--- !u!23 &860498376 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 1649016937} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!114 &860498377 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1770992566, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &860498378 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5a917f0af64a6423093132dab321c15f, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &860498379 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1631628248, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: + m_EditorClassIdentifier: + mTrackableName: farge + mPreserveChildSize: 0 + mInitializedInEditor: 1 + mDataSetPath: Vuforia/AR-1.xml + mAspectRatio: 1.7317066 + mImageTargetType: 0 + mWidth: 0.06147 + mHeight: 0.106448 +--- !u!4 &860498380 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 860498374} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.1019, y: 0, z: 0.0082} + m_LocalScale: {x: 0.106448, y: 0.106448, z: 0.106448} + m_Children: + - {fileID: 1593208835} + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &979980161 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 979980166} + - component: {fileID: 979980165} + - component: {fileID: 979980164} + - component: {fileID: 979980163} + - component: {fileID: 979980162} + m_Layer: 0 + m_Name: ARCamera + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &979980162 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 979980161} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c47f92041efbb4b429a4eafca855ebe3, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &979980163 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 979980161} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1826476478, guid: bab6fa851cf5a1a4bba3cec5f191cb8e, type: 3} + m_Name: + m_EditorClassIdentifier: + mWorldCenterMode: 2 + mWorldCenter: {fileID: 0} +--- !u!81 &979980164 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 979980161} + m_Enabled: 1 +--- !u!20 &979980165 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 979980161} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1} + m_projectionMatrixMode: 1 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_GateFitMode: 2 + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.05 + far clip plane: 2000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: 1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &979980166 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 979980161} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.298, y: -0.716, z: -1.615} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!43 &1302420206 +Mesh: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ImageTargetMesh-1906 + serializedVersion: 9 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 6 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 4 + localAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.18224984, y: 0, z: 0.5} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200020001000300 + m_VertexData: + serializedVersion: 2 + m_VertexCount: 4 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 24 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 128 + _typelessdata: b49f3abe00000000000000bf000000000000803f000000000000000000000000b49f3abe000000000000003f000000000000803f00000000000000000000803fb49f3a3e00000000000000bf000000000000803f000000000000803f00000000b49f3a3e000000000000003f000000000000803f000000000000803f0000803f + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.2887325, y: 0, z: 0.5} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimized: 0 + m_StreamData: + offset: 0 + size: 0 + path: +--- !u!1 &1593208834 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1593208835} + - component: {fileID: 1593208839} + - component: {fileID: 1593208838} + - component: {fileID: 1593208837} + - component: {fileID: 1593208836} + m_Layer: 0 + m_Name: AlignmentQuad + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1593208835 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1593208834} + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: -0.01, y: -0, z: 0.24} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: [] + m_Father: {fileID: 860498380} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!114 &1593208836 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1593208834} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dfb36cee13f0f431f93747fac4a79f1c, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!64 &1593208837 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1593208834} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Convex: 0 + m_CookingOptions: 14 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &1593208838 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1593208834} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 30b97d537113d0441889f1559f555128, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1593208839 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1593208834} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!21 &1649016937 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: 'fargeMaterial + + -2694' + m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _MainTex: + m_Texture: {fileID: 2800000, guid: 2aecda9d179f4d9fb4f506a74cf4b7f1, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: [] + m_Colors: + - _Color: {r: 0.82089555, g: 0.82089555, b: 0.82089555, a: 1} +--- !u!43 &2053726402 +Mesh: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ImageTargetMesh-2690 + serializedVersion: 9 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 6 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 4 + localAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.2887325, y: 0, z: 0.5} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200020001000300 + m_VertexData: + serializedVersion: 2 + m_VertexCount: 4 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 24 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 128 + _typelessdata: bfd493be00000000000000bf000000000000803f000000000000000000000000bfd493be000000000000003f000000000000803f00000000000000000000803fbfd4933e00000000000000bf000000000000803f000000000000803f00000000bfd4933e000000000000003f000000000000803f000000000000803f0000803f + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.2887325, y: 0, z: 0.5} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimized: 0 + m_StreamData: + offset: 0 + size: 0 + path: diff --git a/AR-2/Assets/Scenes/SampleScene.unity.meta b/AR-2/Assets/Scenes/SampleScene.unity.meta new file mode 100644 index 0000000..8010bf3 --- /dev/null +++ b/AR-2/Assets/Scenes/SampleScene.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ad4065d1e74d4432389fc5de4718583e +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/ShaderMat.mat b/AR-2/Assets/ShaderMat.mat new file mode 100644 index 0000000..589222d --- /dev/null +++ b/AR-2/Assets/ShaderMat.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ShaderMat + m_Shader: {fileID: 4800000, guid: a9e6ccf80455a4d9fb7561b1326d0ec9, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/ShaderMat.mat.meta b/AR-2/Assets/ShaderMat.mat.meta new file mode 100644 index 0000000..f38e03b --- /dev/null +++ b/AR-2/Assets/ShaderMat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7d213420b9b534947bc47d41bb98b407 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/ShitShader.shader b/AR-2/Assets/ShitShader.shader new file mode 100644 index 0000000..1119915 --- /dev/null +++ b/AR-2/Assets/ShitShader.shader @@ -0,0 +1,58 @@ +Shader "Unlit/ShitShader" +{ + Properties + { + _MainTex ("Texture", 2D) = "white" {} + } + SubShader + { + Tags { "RenderType"="Opaque" } + LOD 100 + + Pass + { + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + // make fog work + #pragma multi_compile_fog + + #include "UnityCG.cginc" + + struct appdata + { + float4 vertex : POSITION; + float2 uv : TEXCOORD0; + }; + + struct v2f + { + float2 uv : TEXCOORD0; + UNITY_FOG_COORDS(1) + float4 vertex : SV_POSITION; + }; + + sampler2D _MainTex; + float4 _MainTex_ST; + + v2f vert (appdata v) + { + v2f o; + o.vertex = UnityObjectToClipPos(v.vertex); + o.uv = TRANSFORM_TEX(v.uv, _MainTex); + UNITY_TRANSFER_FOG(o,o.vertex); + return o; + } + + fixed4 frag (v2f i) : SV_Target + { + // sample the texture + fixed4 col = tex2D(_MainTex, i.uv); + // apply fog + UNITY_APPLY_FOG(i.fogCoord, col); + return col; + } + ENDCG + } + } +} diff --git a/AR-2/Assets/ShitShader.shader.meta b/AR-2/Assets/ShitShader.shader.meta new file mode 100644 index 0000000..1114ab0 --- /dev/null +++ b/AR-2/Assets/ShitShader.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: a9e6ccf80455a4d9fb7561b1326d0ec9 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/StreamingAssets.meta b/AR-2/Assets/StreamingAssets.meta new file mode 100755 index 0000000..72dbb70 --- /dev/null +++ b/AR-2/Assets/StreamingAssets.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 72ecbb38408dd4a359615d7c990a628a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/StreamingAssets/Vuforia.meta b/AR-2/Assets/StreamingAssets/Vuforia.meta new file mode 100755 index 0000000..9e238c9 --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: eab28fbba74990244b40f30d8e190ead +folderAsset: yes +timeCreated: 1502300586 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat new file mode 100644 index 0000000..a8afa49 Binary files /dev/null and b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat differ diff --git a/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat.meta b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat.meta new file mode 100644 index 0000000..5dc067a --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.dat.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 49ada09958d14f15a333a0f01a5289fa diff --git a/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml new file mode 100644 index 0000000..c70f4f3 --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml.meta b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml.meta new file mode 100644 index 0000000..92490bb --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/AR-1.xml.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d0e7a8be0ef464082f2577192d8a12d diff --git a/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat new file mode 100755 index 0000000..8dc6d90 Binary files /dev/null and b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat differ diff --git a/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat.meta b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat.meta new file mode 100755 index 0000000..ec951bd --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.dat.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: e8ea1fa6394e8d94893c329a44c9a340 +timeCreated: 1502300612 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml new file mode 100755 index 0000000..1bafcd7 --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml.meta b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml.meta new file mode 100755 index 0000000..0074b86 --- /dev/null +++ b/AR-2/Assets/StreamingAssets/Vuforia/VuforiaMars_Images.xml.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a7da849527748169c9d1a3dbbff2af1 diff --git a/AR-2/Assets/Vuforia.meta b/AR-2/Assets/Vuforia.meta new file mode 100755 index 0000000..d7b6d3b --- /dev/null +++ b/AR-2/Assets/Vuforia.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fac84aef283b4459a8a16461d8566be5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases.meta b/AR-2/Assets/Vuforia/Databases.meta new file mode 100755 index 0000000..6de1793 --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 88d434469196e9e4d804d005fdd71bbc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/Emulator.meta b/AR-2/Assets/Vuforia/Databases/Emulator.meta new file mode 100755 index 0000000..2d8712f --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/Emulator.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0e7e44176fbdc9b4aa7cfe18b688106f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat new file mode 100755 index 0000000..7159fb8 Binary files /dev/null and b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat differ diff --git a/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat.meta b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat.meta new file mode 100755 index 0000000..f8d21d6 --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.dat.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 028d433ce54ebfb4091e1df641b8aabb +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml new file mode 100755 index 0000000..e7424a5 --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml.meta b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml.meta new file mode 100755 index 0000000..d5399f1 --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/Emulator/VuforiaEmulator.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: caf0f3a88341ab549852764c706f63c2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/ForPrint.meta b/AR-2/Assets/Vuforia/Databases/ForPrint.meta new file mode 100755 index 0000000..bef32cd --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/ForPrint.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a5d9cd04a9a628f4a948008e0994002c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator.meta b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator.meta new file mode 100755 index 0000000..3aa4975 --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c02cbb104a9ec194da68d5a7b51517f2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf new file mode 100755 index 0000000..150030a Binary files /dev/null and b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf differ diff --git a/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf.meta b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf.meta new file mode 100755 index 0000000..0938b7f --- /dev/null +++ b/AR-2/Assets/Vuforia/Databases/ForPrint/Emulator/Emulator Ground Plane.pdf.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6daafcd4686925745b97ae49e802fd88 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Editor.meta b/AR-2/Assets/Vuforia/Editor.meta new file mode 100755 index 0000000..b715682 --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: cbecf958ea1734648953def7bbb87ccc +folderAsset: yes +DefaultImporter: + userData: diff --git a/AR-2/Assets/Vuforia/Editor/Scripts.meta b/AR-2/Assets/Vuforia/Editor/Scripts.meta new file mode 100755 index 0000000..8dd766f --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: a2bb3d0318e378941b89de675cd173a3 +folderAsset: yes +timeCreated: 1493989641 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs b/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs new file mode 100755 index 0000000..7547031 --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs @@ -0,0 +1,82 @@ +/*=============================================================================== +Copyright (c) 2017-2018 PTC Inc. All Rights Reserved. + +Confidential and Proprietary - Protected under copyright and other laws. +Vuforia is a trademark of PTC Inc., registered in the United States and other +countries. +===============================================================================*/ + +using System.Linq; +using UnityEditor; +using UnityEngine; +using Vuforia; +using Vuforia.EditorClasses; + +/// +/// Creates connection between open source files and the Vuforia library. +/// Do not modify. +/// +[InitializeOnLoad] +public static class OpenSourceInitializer +{ + static OpenSourceInitializer() + { + GameObjectFactory.SetDefaultBehaviourTypeConfiguration(new DefaultBehaviourAttacher()); + ReplacePlaceHolders(); + } + + static void ReplacePlaceHolders() + { + var trackablePlaceholders = Object.FindObjectsOfType().ToList(); + var initErrorsPlaceholders = Object.FindObjectsOfType().ToList(); + var modelRecoEventPlaceholders = Object.FindObjectsOfType().ToList(); + + trackablePlaceholders.ForEach(ReplaceTrackablePlaceHolder); + initErrorsPlaceholders.ForEach(ReplaceInitErrorPlaceHolder); + modelRecoEventPlaceholders.ForEach(ReplaceModelRecoEventPlaceHolder); + } + + static void ReplaceTrackablePlaceHolder(DefaultTrackableBehaviourPlaceholder placeHolder) + { + var go = placeHolder.gameObject; + go.AddComponent(); + + Object.DestroyImmediate(placeHolder); + } + + static void ReplaceInitErrorPlaceHolder(DefaultInitializationErrorHandlerPlaceHolder placeHolder) + { + var go = placeHolder.gameObject; + go.AddComponent(); + + Object.DestroyImmediate(placeHolder); + } + + static void ReplaceModelRecoEventPlaceHolder(DefaultModelRecoEventHandlerPlaceHolder placeHolder) + { + var go = placeHolder.gameObject; + go.AddComponent(); + + Object.DestroyImmediate(placeHolder); + } + + class DefaultBehaviourAttacher : IDefaultBehaviourAttacher + { + public void AddDefaultTrackableBehaviour(GameObject go) + { + go.AddComponent(); + } + + public void AddDefaultInitializationErrorHandler(GameObject go) + { + go.AddComponent(); + } + + public void AddDefaultModelRecoEventHandler(GameObject modelReco, ModelTargetBehaviour modelTargetTemplate) + { + var mreh = modelReco.AddComponent(); + mreh.ShowBoundingBox = true; + mreh.ModelTargetTemplate = modelTargetTemplate; + } + } +} diff --git a/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs.meta b/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs.meta new file mode 100755 index 0000000..b868a66 --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor/Scripts/OpenSourceInitializer.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 06a6d43752a6a6440822e730bd68070c +timeCreated: 1493023741 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef b/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef new file mode 100755 index 0000000..329aa9c --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef @@ -0,0 +1,12 @@ +{ + "name": "VuforiaEditorScripts", + "references": [ + "VuforiaScripts" + ], + "optionalUnityReferences": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false +} \ No newline at end of file diff --git a/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef.meta b/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef.meta new file mode 100755 index 0000000..a32b5c8 --- /dev/null +++ b/AR-2/Assets/Vuforia/Editor/Scripts/VuforiaEditorScripts.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bc72f8689eefa484699b4ed79b36553d +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Fonts.meta b/AR-2/Assets/Vuforia/Fonts.meta new file mode 100755 index 0000000..40c24c8 --- /dev/null +++ b/AR-2/Assets/Vuforia/Fonts.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: ba2ea6a6b0b753747998d0f899c82217 +folderAsset: yes +DefaultImporter: + userData: diff --git a/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf b/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf new file mode 100755 index 0000000..5ecc214 Binary files /dev/null and b/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf differ diff --git a/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf.meta b/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf.meta new file mode 100755 index 0000000..77ee75a --- /dev/null +++ b/AR-2/Assets/Vuforia/Fonts/SourceSansPro.ttf.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 6e4a1744cf113994799d3e46a7c45d99 +TrueTypeFontImporter: + serializedVersion: 2 + fontSize: 36 + forceTextureCase: -2 + characterSpacing: 1 + characterPadding: 0 + includeFontData: 1 + use2xBehaviour: 0 + fontNames: [] + customCharacters: + fontRenderingMode: 0 + userData: diff --git a/AR-2/Assets/Vuforia/Materials.meta b/AR-2/Assets/Vuforia/Materials.meta new file mode 100755 index 0000000..b2bca6b --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 342d2a265f327ee4b877d8d07fd0493e diff --git a/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat b/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat new file mode 100755 index 0000000..7395c8f --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat @@ -0,0 +1,29 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: CloudRecoTarget + m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + data: + first: + name: _MainTex + second: + m_Texture: {fileID: 2800000, guid: f6153ed43853e4449924f1322300f084, type: 1} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: {} + m_Colors: + data: + first: + name: _Color + second: {r: .820895553, g: .820895553, b: .820895553, a: 1} +--- !u!1002 &2100001 +EditorExtensionImpl: + serializedVersion: 6 diff --git a/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat.meta b/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat.meta new file mode 100755 index 0000000..1da8fe4 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/CloudRecoTarget.mat.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: de1593a16346ab045974f1cd34fd831f diff --git a/AR-2/Assets/Vuforia/Materials/ColoredLines.mat b/AR-2/Assets/Vuforia/Materials/ColoredLines.mat new file mode 100755 index 0000000..6b5a3ef --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/ColoredLines.mat @@ -0,0 +1,27 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ColoredLines + m_Shader: {fileID: 4800000, guid: c3430c603e3a4f54c86671122d3dfa1c, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: [] + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/ColoredLines.mat.meta b/AR-2/Assets/Vuforia/Materials/ColoredLines.mat.meta new file mode 100755 index 0000000..daaa9ae --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/ColoredLines.mat.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: bdaddec689357db4ea505c9f4c1b3a10 +NativeFormatImporter: + userData: diff --git a/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat b/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat new file mode 100644 index 0000000..bae9457 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat @@ -0,0 +1,31 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: DefaultTarget + m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _MainTex: + m_Texture: {fileID: 2800000, guid: 04aaf54a00ef25f4686ea15440632070, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: [] + m_Colors: + - _Color: {r: 0.9607843, g: 0.10606851, b: 0.050980415, a: 1} +--- !u!1002 &2100001 +EditorExtensionImpl: + serializedVersion: 6 diff --git a/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat.meta b/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat.meta new file mode 100755 index 0000000..693e574 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/DefaultTarget.mat.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 30b97d537113d0441889f1559f555128 diff --git a/AR-2/Assets/Vuforia/Materials/DepthMask.mat b/AR-2/Assets/Vuforia/Materials/DepthMask.mat new file mode 100755 index 0000000..7cec2c2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/DepthMask.mat @@ -0,0 +1,29 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: DepthMask + m_Shader: {fileID: 4800000, guid: 1ce7eb78425fb1540838bc9d5d95857a, type: 1} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + data: + first: + name: _MainTex + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: {} + m_Colors: + data: + first: + name: _Color + second: {r: 1, g: 1, b: 1, a: 1} +--- !u!1002 &2100001 +EditorExtensionImpl: + serializedVersion: 6 diff --git a/AR-2/Assets/Vuforia/Materials/DepthMask.mat.meta b/AR-2/Assets/Vuforia/Materials/DepthMask.mat.meta new file mode 100755 index 0000000..88c4100 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/DepthMask.mat.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 36b1f386c1720c94889ac11ac9c8c6d1 diff --git a/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat b/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat new file mode 100755 index 0000000..d4c2ae8 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat @@ -0,0 +1,76 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: GroundPlaneIndicator + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 1e424f48fda62483aa0c9eec616e0cc8, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat.meta b/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat.meta new file mode 100755 index 0000000..dfaa617 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GroundPlaneIndicator.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 1d214ea2059394d59a1960df0cad1c62 +timeCreated: 1509386996 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat b/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat new file mode 100755 index 0000000..f6be750 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat @@ -0,0 +1,76 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: GroundPlaneReference + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 5f131b079790d4251836bc73b812b53d, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat.meta b/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat.meta new file mode 100755 index 0000000..6f1bb3a --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GroundPlaneReference.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b0fca12d4e61246cfa5f9a6d26e48004 +timeCreated: 1509386844 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/GuideView2D.mat b/AR-2/Assets/Vuforia/Materials/GuideView2D.mat new file mode 100755 index 0000000..27175e4 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GuideView2D.mat @@ -0,0 +1,127 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: GuideView2D + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _EMISSION + m_LightmapFlags: 1 + m_CustomRenderQueue: -1 + stringTagMap: {} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + - first: + name: _BumpMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _DetailAlbedoMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _DetailMask + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _DetailNormalMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _EmissionMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _MainTex + second: + m_Texture: {fileID: 2800000, guid: ba30a21e2e8687a4da3e856e83e1f318, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _MetallicGlossMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _OcclusionMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - first: + name: _ParallaxMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - first: + name: _BumpScale + second: 1 + - first: + name: _Cutoff + second: 0.5 + - first: + name: _DetailNormalMapScale + second: 1 + - first: + name: _DstBlend + second: 0 + - first: + name: _GlossMapScale + second: 1 + - first: + name: _Glossiness + second: 0.5 + - first: + name: _GlossyReflections + second: 1 + - first: + name: _Metallic + second: 0 + - first: + name: _Mode + second: 0 + - first: + name: _OcclusionStrength + second: 1 + - first: + name: _Parallax + second: 0.02 + - first: + name: _SmoothnessTextureChannel + second: 0 + - first: + name: _SpecularHighlights + second: 1 + - first: + name: _SrcBlend + second: 1 + - first: + name: _UVSec + second: 0 + - first: + name: _ZWrite + second: 1 + m_Colors: + - first: + name: _Color + second: {r: 1, g: 1, b: 1, a: 1} + - first: + name: _EmissionColor + second: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/GuideView2D.mat.meta b/AR-2/Assets/Vuforia/Materials/GuideView2D.mat.meta new file mode 100755 index 0000000..b898576 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/GuideView2D.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ab44b980790e31f4c84c4c91cdab449a +timeCreated: 1491227243 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat b/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat new file mode 100755 index 0000000..38c5fb7 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: MidAirIndicator + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _ALPHAPREMULTIPLY_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 5, y: 5} + m_Offset: {x: 1, y: 1} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 5 + - _DstBlend: 10 + - _GlossMapScale: 1 + - _Glossiness: 0.244 + - _GlossyReflections: 1 + - _Metallic: 0.402 + - _Mode: 3 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 0 + m_Colors: + - _Color: {r: 0.44852942, g: 1, b: 0.58924955, a: 0.509} + - _EmissionColor: {r: 0, g: 0.307, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat.meta b/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat.meta new file mode 100755 index 0000000..781b666 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/MidAirIndicator.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 658ef14483bb4437baeced0fce0ae78a +timeCreated: 1509389470 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/MidAirReference.mat b/AR-2/Assets/Vuforia/Materials/MidAirReference.mat new file mode 100755 index 0000000..608bb45 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/MidAirReference.mat @@ -0,0 +1,76 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: MidAirReference + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: e21dffdcc7917472c9827aa5e2387fe8, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/MidAirReference.mat.meta b/AR-2/Assets/Vuforia/Materials/MidAirReference.mat.meta new file mode 100755 index 0000000..c259dab --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/MidAirReference.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2e9b38b0a13ba442b98571aeeb6f3849 +timeCreated: 1509388388 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat b/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat new file mode 100755 index 0000000..3f8cbd2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat @@ -0,0 +1,146 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: OutlineOpaque + m_Shader: {fileID: 4800000, guid: a81568144a775094bb6b92c7df9fcebe, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_CustomRenderQueue: -1 + stringTagMap: {} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + data: + first: + name: _MainTex + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _BumpMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _DetailNormalMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _ParallaxMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _OcclusionMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _EmissionMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _DetailMask + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _DetailAlbedoMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + data: + first: + name: _MetallicGlossMap + second: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + data: + first: + name: _SrcBlend + second: 1 + data: + first: + name: _DstBlend + second: 0 + data: + first: + name: _Cutoff + second: 0.5 + data: + first: + name: _SilhouetteSize + second: 0.001 + data: + first: + name: _Parallax + second: 0.02 + data: + first: + name: _ZWrite + second: 1 + data: + first: + name: _Glossiness + second: 0.5 + data: + first: + name: _BumpScale + second: 1 + data: + first: + name: _OcclusionStrength + second: 1 + data: + first: + name: _DetailNormalMapScale + second: 1 + data: + first: + name: _UVSec + second: 0 + data: + first: + name: _Mode + second: 0 + data: + first: + name: _Metallic + second: 0 + m_Colors: + data: + first: + name: _EmissionColor + second: {r: 0, g: 0, b: 0, a: 1} + data: + first: + name: _Color + second: {r: 1, g: 1, b: 1, a: 1} + data: + first: + name: _SilhouetteColor + second: {r: 1, g: 1, b: 1, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat.meta b/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat.meta new file mode 100755 index 0000000..1b0f3f1 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/OutlineOpaque.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1d25c0ce72e58124fa2d482e07c9fcd8 +timeCreated: 1495092112 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/StandardCutout.mat b/AR-2/Assets/Vuforia/Materials/StandardCutout.mat new file mode 100755 index 0000000..6969e59 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/StandardCutout.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: StandardCutout + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _ALPHATEST_ON _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 04aaf54a00ef25f4686ea15440632070, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 0 + - _Metallic: 0 + - _Mode: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 0 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/AR-2/Assets/Vuforia/Materials/StandardCutout.mat.meta b/AR-2/Assets/Vuforia/Materials/StandardCutout.mat.meta new file mode 100755 index 0000000..1f2f3b3 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/StandardCutout.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: a9267223436693a4bb8e35161a24f8ba +timeCreated: 1508758519 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat b/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat new file mode 100755 index 0000000..e881497 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat @@ -0,0 +1,29 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: UserDefinedTarget + m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + data: + first: + name: _MainTex + second: + m_Texture: {fileID: 2800000, guid: fb22b98929f50754ab255ba14de4fa55, type: 1} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: {} + m_Colors: + data: + first: + name: _Color + second: {r: .820895553, g: .820895553, b: .820895553, a: 1} +--- !u!1002 &2100001 +EditorExtensionImpl: + serializedVersion: 6 diff --git a/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat.meta b/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat.meta new file mode 100755 index 0000000..4021dd2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/UserDefinedTarget.mat.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 1b2d001c51171d449b4203bfe281d9bc diff --git a/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat b/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat new file mode 100755 index 0000000..8feea6c --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat @@ -0,0 +1,29 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: VirtualButtonPreviewMaterial + m_Shader: {fileID: 30, guid: 0000000000000000e000000000000000, type: 0} + m_SavedProperties: + serializedVersion: 2 + m_TexEnvs: + data: + first: + name: _MainTex + second: + m_Texture: {fileID: 2800000, guid: dd8287d41aafb4b4bacd7e0ebf634a0c, type: 1} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: {} + m_Colors: + data: + first: + name: _Color + second: {r: 1, g: 1, b: 1, a: 1} +--- !u!1002 &2100001 +EditorExtensionImpl: + serializedVersion: 6 diff --git a/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat.meta b/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat.meta new file mode 100755 index 0000000..0b5c5ce --- /dev/null +++ b/AR-2/Assets/Vuforia/Materials/VirtualButtonPreviewMaterial.mat.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: a88c225b69241164ab829bccf61d8845 +NativeFormatImporter: + userData: diff --git a/AR-2/Assets/Vuforia/Prefabs.meta b/AR-2/Assets/Vuforia/Prefabs.meta new file mode 100755 index 0000000..bf2cfeb --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: fff2b2647734bdb4ca674be90110de4b +folderAsset: yes +timeCreated: 1508332923 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab b/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab new file mode 100755 index 0000000..c900102 --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab @@ -0,0 +1,132 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1527064403990174} + m_IsPrefabParent: 1 +--- !u!1 &1090284564211470 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4934622886676448} + - component: {fileID: 33015447771773944} + - component: {fileID: 23772884771653742} + m_Layer: 0 + m_Name: DefaultIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1527064403990174 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4078639606549544} + - component: {fileID: 114408687042456420} + m_Layer: 0 + m_Name: DefaultMidAirIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4078639606549544 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1527064403990174} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4934622886676448} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4934622886676448 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1090284564211470} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: [] + m_Father: {fileID: 4078639606549544} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23772884771653742 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1090284564211470} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100000, guid: 658ef14483bb4437baeced0fce0ae78a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &33015447771773944 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1090284564211470} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &114408687042456420 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1527064403990174} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 697333272, guid: 1e108ae5f2133934f948edded555f03e, type: 3} + m_Name: + m_EditorClassIdentifier: + mTrackableName: + mPreserveChildSize: 0 + mInitializedInEditor: 0 + mSelectedStageType: 1 + mPlaneReference: {fileID: 0} + mMidAirReference: {fileID: 0} diff --git a/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab.meta b/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab.meta new file mode 100755 index 0000000..1b5fb0c --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/DefaultMidAirIndicator.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e5581564ca4d5f2479d5f1694371ef2f +timeCreated: 1508504849 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab b/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab new file mode 100755 index 0000000..e376420 --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab @@ -0,0 +1,132 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1353731089078378} + m_IsPrefabParent: 1 +--- !u!1 &1353731089078378 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4169582747025834} + - component: {fileID: 114015790878076588} + m_Layer: 0 + m_Name: DefaultPlaneIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1497045824638220 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4435016822728788} + - component: {fileID: 33032586182132574} + - component: {fileID: 23827494792507640} + m_Layer: 0 + m_Name: DefaultIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4169582747025834 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1353731089078378} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4435016822728788} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4435016822728788 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1497045824638220} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.01, y: 0.01, z: 0.01} + m_Children: [] + m_Father: {fileID: 4169582747025834} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23827494792507640 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1497045824638220} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 1 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RenderingLayerMask: 4294967295 + m_Materials: + - {fileID: 2100000, guid: 1d214ea2059394d59a1960df0cad1c62, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &33032586182132574 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1497045824638220} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &114015790878076588 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1353731089078378} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 697333272, guid: 1e108ae5f2133934f948edded555f03e, type: 3} + m_Name: + m_EditorClassIdentifier: + mTrackableName: + mPreserveChildSize: 0 + mInitializedInEditor: 0 + mSelectedStageType: 0 + mPlaneReference: {fileID: 0} + mMidAirReference: {fileID: 0} diff --git a/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab.meta b/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab.meta new file mode 100755 index 0000000..c0301f7 --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/DefaultPlaneIndicator.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b9ed12c68682d5b49bfa70ee9d71602d +timeCreated: 1508504807 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab b/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab new file mode 100755 index 0000000..c772e45 --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab @@ -0,0 +1,84 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1608780458543526} + m_IsPrefabParent: 1 +--- !u!1 &1608780458543526 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4565330424619512} + - component: {fileID: 33835086709508886} + - component: {fileID: 23459327584305420} + m_Layer: 0 + m_Name: GroundPlaneReference + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4565330424619512 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1608780458543526} + m_LocalRotation: {x: -0, y: 1, z: -0, w: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!23 &23459327584305420 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1608780458543526} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: b0fca12d4e61246cfa5f9a6d26e48004, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &33835086709508886 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1608780458543526} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} diff --git a/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab.meta b/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab.meta new file mode 100755 index 0000000..1cb48a2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/GroundPlaneReference.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: cf19ace87b12c2741979b9582691d60d +timeCreated: 1510594251 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab b/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab new file mode 100755 index 0000000..f5a1cdd --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab @@ -0,0 +1,257 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1511351876327156} + m_IsPrefabParent: 1 +--- !u!1 &1118734573373628 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4075272498997266} + - component: {fileID: 33973252287340408} + - component: {fileID: 23951334618560284} + m_Layer: 1 + m_Name: Axis Y + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1511351876327156 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4162583349984790} + m_Layer: 0 + m_Name: MidAirReference + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1607993709770316 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4649787849942518} + - component: {fileID: 33195873017971236} + - component: {fileID: 23861220342175434} + m_Layer: 1 + m_Name: Axis X + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1713045703263896 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4226315069016302} + - component: {fileID: 33192504329257828} + - component: {fileID: 23241293001196086} + m_Layer: 1 + m_Name: Axis Z + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4075272498997266 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1118734573373628} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 10, y: 10, z: 1} + m_Children: [] + m_Father: {fileID: 4162583349984790} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4162583349984790 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1511351876327156} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: + - {fileID: 4075272498997266} + - {fileID: 4226315069016302} + - {fileID: 4649787849942518} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4226315069016302 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1713045703263896} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 10, y: 10, z: 1} + m_Children: [] + m_Father: {fileID: 4162583349984790} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4649787849942518 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1607993709770316} + m_LocalRotation: {x: 0.5, y: 0.5, z: -0.5, w: 0.5} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 10, y: 10, z: 1} + m_Children: [] + m_Father: {fileID: 4162583349984790} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 90, y: 90, z: 0} +--- !u!23 &23241293001196086 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1713045703263896} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 2e9b38b0a13ba442b98571aeeb6f3849, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!23 &23861220342175434 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1607993709770316} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 2e9b38b0a13ba442b98571aeeb6f3849, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!23 &23951334618560284 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1118734573373628} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 2e9b38b0a13ba442b98571aeeb6f3849, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &33192504329257828 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1713045703263896} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33195873017971236 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1607993709770316} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33973252287340408 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1118734573373628} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} diff --git a/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab.meta b/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab.meta new file mode 100755 index 0000000..5baf3ea --- /dev/null +++ b/AR-2/Assets/Vuforia/Prefabs/MidAirReference.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e9dc61a799fb66b4f830683886a6d761 +timeCreated: 1510594338 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts.meta b/AR-2/Assets/Vuforia/Scripts.meta new file mode 100755 index 0000000..291a9d9 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d3deae265caa6a947b9981c2a1bc15f0 +folderAsset: yes +timeCreated: 1493024046 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs b/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs new file mode 100755 index 0000000..1303452 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs @@ -0,0 +1,94 @@ +/*============================================================================== +Copyright (c) 2018 PTC Inc. All Rights Reserved. + +Confidential and Proprietary - Protected under copyright and other laws. + +Vuforia is a trademark of PTC Inc., registered in the United States and other +countries. +==============================================================================*/ + +using UnityEngine; +using Vuforia; + +/// +/// A component that renders a bounding box using lines. +/// +public class BoundingBoxRenderer : MonoBehaviour +{ + #region PRIVATE_MEMBERS + + private Material mLineMaterial = null; + + #endregion // PRIVATE_MEMBERS + + + + private void OnRenderObject() + { + GL.PushMatrix(); + GL.MultMatrix(transform.localToWorldMatrix); + + if (mLineMaterial == null) + { + // We "borrow" the default material from a primitive. + // This ensures that, even on mobile platforms, + // we always get a valid material at runtime, + // as on mobile Unity can strip away unused shaders at build-time. + var tempObj = GameObject.CreatePrimitive(PrimitiveType.Cube); + var cubeRenderer = tempObj.GetComponent(); + + mLineMaterial = new Material(cubeRenderer.material); + mLineMaterial.color = Color.white; + + Destroy(tempObj); + } + + mLineMaterial.SetPass(0); + mLineMaterial.color = Color.white; + + GL.Begin(GL.LINES); + + // Bottom XZ quad + GL.Vertex3(-0.5f, -0.5f, -0.5f); + GL.Vertex3( 0.5f, -0.5f, -0.5f); + + GL.Vertex3(0.5f, -0.5f, -0.5f); + GL.Vertex3(0.5f, -0.5f, 0.5f); + + GL.Vertex3( 0.5f, -0.5f, 0.5f); + GL.Vertex3(-0.5f, -0.5f, 0.5f); + + GL.Vertex3(-0.5f, -0.5f, 0.5f); + GL.Vertex3(-0.5f, -0.5f, -0.5f); + + // Top XZ quad + GL.Vertex3(-0.5f, 0.5f, -0.5f); + GL.Vertex3(0.5f, 0.5f, -0.5f); + + GL.Vertex3(0.5f, 0.5f, -0.5f); + GL.Vertex3(0.5f, 0.5f, 0.5f); + + GL.Vertex3(0.5f, 0.5f, 0.5f); + GL.Vertex3(-0.5f, 0.5f, 0.5f); + + GL.Vertex3(-0.5f, 0.5f, 0.5f); + GL.Vertex3(-0.5f, 0.5f, -0.5f); + + // Side lines + GL.Vertex3(-0.5f, -0.5f, -0.5f); + GL.Vertex3(-0.5f, 0.5f, -0.5f); + + GL.Vertex3(0.5f, -0.5f, -0.5f); + GL.Vertex3(0.5f, 0.5f, -0.5f); + + GL.Vertex3(0.5f, -0.5f, 0.5f); + GL.Vertex3(0.5f, 0.5f, 0.5f); + + GL.Vertex3(-0.5f, -0.5f, 0.5f); + GL.Vertex3(-0.5f, 0.5f, 0.5f); + + GL.End(); + + GL.PopMatrix(); + } +} diff --git a/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs.meta b/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs.meta new file mode 100755 index 0000000..48950a2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/BoundingBoxRenderer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b0768a105a9bd48409a689214808185f +timeCreated: 1516286602 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs b/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs new file mode 100755 index 0000000..a766ac1 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs @@ -0,0 +1,240 @@ +/*============================================================================== +Copyright (c) 2017 PTC Inc. All Rights Reserved. + +Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. +All Rights Reserved. +Confidential and Proprietary - Protected under copyright and other laws. +==============================================================================*/ + +using UnityEngine; +using Vuforia; + +/// +/// A custom handler that registers for Vuforia initialization errors +/// +/// Changes made to this file could be overwritten when upgrading the Vuforia version. +/// When implementing custom error handler behavior, consider inheriting from this class instead. +/// +public class DefaultInitializationErrorHandler : VuforiaMonoBehaviour +{ + #region Vuforia_lifecycle_events + + public void OnVuforiaInitializationError(VuforiaUnity.InitError initError) + { + if (initError != VuforiaUnity.InitError.INIT_SUCCESS) + { + SetErrorCode(initError); + SetErrorOccurred(true); + } + } + + #endregion // Vuforia_lifecycle_events + + #region PRIVATE_MEMBER_VARIABLES + + string mErrorText = ""; + bool mErrorOccurred; + + const string headerLabel = "Vuforia Engine Initialization Error"; + + GUIStyle bodyStyle; + GUIStyle headerStyle; + GUIStyle footerStyle; + + Texture2D bodyTexture; + Texture2D headerTexture; + Texture2D footerTexture; + + #endregion // PRIVATE_MEMBER_VARIABLES + + #region UNTIY_MONOBEHAVIOUR_METHODS + + void Awake() + { + // Check for an initialization error on start. + VuforiaRuntime.Instance.RegisterVuforiaInitErrorCallback(OnVuforiaInitializationError); + } + + void Start() + { + SetupGUIStyles(); + } + + void OnGUI() + { + // On error, create a full screen window. + if (mErrorOccurred) + GUI.Window(0, new Rect(0, 0, Screen.width, Screen.height), DrawWindowContent, ""); + } + + /// + /// When this game object is destroyed, it unregisters itself as event handler + /// + void OnDestroy() + { + VuforiaRuntime.Instance.UnregisterVuforiaInitErrorCallback(OnVuforiaInitializationError); + } + + #endregion // UNTIY_MONOBEHAVIOUR_METHODS + + #region PRIVATE_METHODS + + void DrawWindowContent(int id) + { + var headerRect = new Rect(0, 0, Screen.width, Screen.height / 8); + var bodyRect = new Rect(0, Screen.height / 8, Screen.width, Screen.height / 8 * 6); + var footerRect = new Rect(0, Screen.height - Screen.height / 8, Screen.width, Screen.height / 8); + + GUI.Label(headerRect, headerLabel, headerStyle); + GUI.Label(bodyRect, mErrorText, bodyStyle); + + if (GUI.Button(footerRect, "Close", footerStyle)) + { +#if UNITY_EDITOR + UnityEditor.EditorApplication.isPlaying = false; + #else + Application.Quit(); +#endif + } + } + + void SetErrorCode(VuforiaUnity.InitError errorCode) + { + switch (errorCode) + { + case VuforiaUnity.InitError.INIT_EXTERNAL_DEVICE_NOT_DETECTED: + mErrorText = + "Failed to initialize the Vuforia Engine because this " + + "device is not docked with required external hardware."; + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_MISSING_KEY: + mErrorText = + "Vuforia Engine App key is missing. Please get a valid key " + + "by logging into your account at developer.vuforia.com " + + "and creating a new project."; + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_INVALID_KEY: + mErrorText = + "Vuforia Engine App key is invalid. " + + "Please get a valid key by logging into your account at " + + "developer.vuforia.com and creating a new project. \n\n" + + getKeyInfo(); + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_NO_NETWORK_TRANSIENT: + mErrorText = "Unable to contact server. Please try again later."; + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_NO_NETWORK_PERMANENT: + mErrorText = "No network available. Please make sure you are connected to the Internet."; + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_CANCELED_KEY: + mErrorText = + "This App license key has been cancelled and may no longer be used. " + + "Please get a new license key. \n\n" + + getKeyInfo(); + break; + case VuforiaUnity.InitError.INIT_LICENSE_ERROR_PRODUCT_TYPE_MISMATCH: + mErrorText = + "Vuforia Engine App key is not valid for this product. Please get a valid key " + + "by logging into your account at developer.vuforia.com and choosing the " + + "right product type during project creation. \n\n" + + getKeyInfo() + " \n\n" + + "Note that Universal Windows Platform (UWP) apps require " + + "a license key created on or after August 9th, 2016."; + break; + case VuforiaUnity.InitError.INIT_NO_CAMERA_ACCESS: + mErrorText = + "User denied Camera access to this app.\n" + + "To restore, enable Camera access in Settings:\n" + + "Settings > Privacy > Camera > " + Application.productName + "\n" + + "Also verify that the Camera is enabled in:\n" + + "Settings > General > Restrictions."; + break; + case VuforiaUnity.InitError.INIT_DEVICE_NOT_SUPPORTED: + mErrorText = "Failed to initialize Vuforia Engine because this device is not supported."; + break; + case VuforiaUnity.InitError.INIT_ERROR: + mErrorText = "Failed to initialize Vuforia Engine."; + break; + } + + // Prepend the error code in red + mErrorText = "" + errorCode.ToString().Replace("_", " ") + "\n\n" + mErrorText; + + // Remove rich text tags for console logging + var errorTextConsole = mErrorText.Replace("", "").Replace("", ""); + + Debug.LogError("Vuforia Engine initialization failed: " + errorCode + "\n\n" + errorTextConsole); + } + + void SetErrorOccurred(bool errorOccurred) + { + mErrorOccurred = errorOccurred; + } + + string getKeyInfo() + { + string key = VuforiaConfiguration.Instance.Vuforia.LicenseKey; + string keyInfo; + if (key.Length > 10) + keyInfo = + "Your current key is " + key.Length + " characters in length. " + + "It begins with " + key.Substring(0, 5) + " " + + "and ends with " + key.Substring(key.Length - 5, 5) + "."; + else + keyInfo = + "Your current key is " + key.Length + " characters in length. \n" + + "The key is: " + key + "."; + return keyInfo; + } + + void SetupGUIStyles() + { + // Called from Start() to determine physical size of device for text sizing + var shortSidePixels = Screen.width < Screen.height ? Screen.width : Screen.height; + var shortSideInches = shortSidePixels / Screen.dpi; + var physicalSizeMultiplier = shortSideInches > 4.0f ? 2 : 1; + + // Create 1x1 pixel background textures for body, header, and footer + bodyTexture = CreateSinglePixelTexture(Color.white); + headerTexture = CreateSinglePixelTexture(new Color( + Mathf.InverseLerp(0, 255, 220), + Mathf.InverseLerp(0, 255, 220), + Mathf.InverseLerp(0, 255, 220))); // RGB(220) + footerTexture = CreateSinglePixelTexture(new Color( + Mathf.InverseLerp(0, 255, 35), + Mathf.InverseLerp(0, 255, 178), + Mathf.InverseLerp(0, 255, 0))); // RGB(35,178,0) + + // Create body style and set values + bodyStyle = new GUIStyle(); + bodyStyle.normal.background = bodyTexture; + bodyStyle.font = Resources.GetBuiltinResource("Arial.ttf"); + bodyStyle.fontSize = (int) (18 * physicalSizeMultiplier * Screen.dpi / 160); + bodyStyle.normal.textColor = Color.black; + bodyStyle.wordWrap = true; + bodyStyle.alignment = TextAnchor.MiddleCenter; + bodyStyle.padding = new RectOffset(40, 40, 0, 0); + + // Duplicate body style and change necessary values + headerStyle = new GUIStyle(bodyStyle); + headerStyle.normal.background = headerTexture; + headerStyle.fontSize = (int) (24 * physicalSizeMultiplier * Screen.dpi / 160); + + // Duplicate body style and change necessary values + footerStyle = new GUIStyle(bodyStyle); + footerStyle.normal.background = footerTexture; + footerStyle.normal.textColor = Color.white; + footerStyle.fontSize = (int) (28 * physicalSizeMultiplier * Screen.dpi / 160); + } + + Texture2D CreateSinglePixelTexture(Color color) + { + // Called by SetupGUIStyles() to create 1x1 texture + var texture = new Texture2D(1, 1, TextureFormat.ARGB32, false); + texture.SetPixel(0, 0, color); + texture.Apply(); + return texture; + } + + #endregion // PRIVATE_METHODS +} diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs.meta b/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs.meta new file mode 100755 index 0000000..9dd2f82 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c47f92041efbb4b429a4eafca855ebe3 +timeCreated: 1493021435 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs b/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs new file mode 100755 index 0000000..b84b285 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs @@ -0,0 +1,385 @@ +/*============================================================================== +Copyright (c) 2017-2018 PTC Inc. All Rights Reserved. + +Confidential and Proprietary - Protected under copyright and other laws. + +Vuforia is a trademark of PTC Inc., registered in the United States and other +countries. +==============================================================================*/ + +using System.Linq; +using UnityEngine; +using Vuforia; + +/// +/// A default implementation of Model Reco Event Handler. +/// It registers itself at the ModelRecoBehaviour and is notified of new search results. +/// +public class DefaultModelRecoEventHandler : MonoBehaviour, IObjectRecoEventHandler +{ + #region PRIVATE_MEMBER_VARIABLES + + private ModelTargetBehaviour mLastRecoModelTarget; + private bool mSearching; + private float mLastStatusCheckTime; + + #endregion // PRIVATE_MEMBER_VARIABLES + + + #region PROTECTED_MEMBER_VARIABLES + + // ModelRecoBehaviour reference to avoid lookups + protected ModelRecoBehaviour mModelRecoBehaviour; + + // Target Finder reference to avoid lookups + protected TargetFinder mTargetFinder; + + #endregion // PROTECTED_MEMBER_VARIABLES + + + #region PUBLIC_VARIABLES + + /// + /// The Model Target used as template when a Model is recognized. + /// + [Tooltip("The Model Target used as Template when a model is recognized.")] + public ModelTargetBehaviour ModelTargetTemplate; + + /// + /// Whether the model should be augmented with a bounding box. + /// Only applicable to Template model targets. + /// + [Tooltip("Whether the model should be augmented with a bounding box.")] + public bool ShowBoundingBox; + + /// + /// Can be set in the Unity inspector to display error messages in UI. + /// + [Tooltip("UI Text label to display model reco errors.")] + public UnityEngine.UI.Text ModelRecoErrorText; + + /// + /// Can be set in the Unity inspector to tell Vuforia whether it should: + /// - stop searching for new models, once a first model was found, + /// or: + /// - continue searching for new models, even after a first model was found. + /// + [Tooltip("Whether Vuforia should stop searching for other models, after the first model was found.")] + public bool StopSearchWhenModelFound = false; + + /// + /// Can be set in the Unity inspector to tell Vuforia whether it should: + /// - stop searching for new models, while a target is being tracked and is in view, + /// or: + /// - continue searching for new models, even if a target is currently being tracked. + /// + [Tooltip("Whether Vuforia should stop searching for other models, while current model is tracked and visible.")] + public bool StopSearchWhileTracking = true;//true by default, as this is the recommended behaviour + + #endregion // PUBLIC_VARIABLES + + + + #region UNITY_MONOBEHAVIOUR_METHODS + + /// + /// register for events at the ModelRecoBehaviour + /// + void Start() + { + // register this event handler at the model reco behaviour + var modelRecoBehaviour = GetComponent(); + if (modelRecoBehaviour) + { + modelRecoBehaviour.RegisterEventHandler(this); + } + + // remember modelRecoBehaviour for later + mModelRecoBehaviour = modelRecoBehaviour; + } + + void Update() + { + if (!VuforiaARController.Instance.HasStarted) + return; + + if (mTargetFinder == null) + return; + + + // Check periodically if model target is tracked and in view + // The test is not necessary when the search is stopped after first model was found + float elapsed = Time.realtimeSinceStartup - mLastStatusCheckTime; + if (!StopSearchWhenModelFound && StopSearchWhileTracking && elapsed > 0.5f) + { + mLastStatusCheckTime = Time.realtimeSinceStartup; + + if (mSearching) + { + if (IsModelTrackedInView(mLastRecoModelTarget)) + { + // Switch Model Reco OFF when model is being tracked/in-view + mModelRecoBehaviour.ModelRecoEnabled = false; + mSearching = false; + } + } + else + { + if (!IsModelTrackedInView(mLastRecoModelTarget)) + { + // Switch Mode Reco ON when no model is tracked/in-view + mModelRecoBehaviour.ModelRecoEnabled = true; + mSearching = true; + } + } + } + } + + + private void OnDestroy() + { + if (mModelRecoBehaviour != null) + { + mModelRecoBehaviour.UnregisterEventHandler(this); + } + + mModelRecoBehaviour = null; + } + + #endregion // UNITY_MONOBEHAVIOUR_METHODS + + + + #region IModelRecoEventHandler_IMPLEMENTATION + + /// + /// called when TargetFinder has been initialized successfully + /// + public void OnInitialized(TargetFinder targetFinder) + { + Debug.Log("ModelReco initialized."); + + // Keep a reference to the Target Finder + mTargetFinder = targetFinder; + } + + /// + /// visualize initialization errors + /// + public void OnInitError(TargetFinder.InitState initError) + { + // Reset target finder reference + mTargetFinder = null; + + Debug.LogError("Model Reco init error: " + initError.ToString()); + ShowErrorMessageInUI(initError.ToString()); + } + + /// + /// visualize update errors + /// + public void OnUpdateError(TargetFinder.UpdateState updateError) + { + Debug.LogError("Model Reco update error: " + updateError.ToString()); + ShowErrorMessageInUI(updateError.ToString()); + } + + /// + /// when we start scanning, clear all trackables + /// + public void OnStateChanged(bool searching) + { + Debug.Log("ModelReco: state changed: " + (searching ? "searching" : "not searching")); + + mSearching = searching; + + if (searching) + { + // clear all known trackables + if (mTargetFinder != null) + mTargetFinder.ClearTrackables(false); + } + } + + /// + /// Handles new search results. + /// + /// + public virtual void OnNewSearchResult(TargetFinder.TargetSearchResult searchResult) + { + Debug.Log("ModelReco: new search result available: " + searchResult.TargetName); + + // Find or create the referenced model target + GameObject modelTargetGameObj = null; + bool builtFromTemplate = false; + var existingModelTarget = FindExistingModelTarget((TargetFinder.ModelRecoSearchResult)searchResult); + if (existingModelTarget) + { + modelTargetGameObj = existingModelTarget.gameObject; + builtFromTemplate = false; + } + else if (ModelTargetTemplate) + { + modelTargetGameObj = Instantiate(ModelTargetTemplate.gameObject); + builtFromTemplate = true; + } + + if (!modelTargetGameObj) + { + Debug.LogError("Could not create a Model Target."); + return; + } + + // Enable the new search result as a Model Target + ModelTargetBehaviour mtb = mTargetFinder.EnableTracking( + searchResult, modelTargetGameObj) as ModelTargetBehaviour; + + if (mtb) + { + mLastRecoModelTarget = mtb; + + // If the model target was created from a template, + // we augment it with a bounding box game object + if (builtFromTemplate && ShowBoundingBox) + { + var modelBoundingBox = mtb.ModelTarget.GetBoundingBox(); + var bboxGameObj = CreateBoundingBox(mtb.ModelTarget.Name, modelBoundingBox); + + // Parent the bounding box under the model target. + bboxGameObj.transform.SetParent(modelTargetGameObj.transform, false); + } + + if (StopSearchWhenModelFound) + { + // Stop the target finder + mModelRecoBehaviour.ModelRecoEnabled = false; + } + } + } + + #endregion // IModelRecoEventHandler_IMPLEMENTATION + + + + #region PRIVATE_METHODS + + private ModelTargetBehaviour FindExistingModelTarget(TargetFinder.ModelRecoSearchResult searchResult) + { + var modelTargetsInScene = Resources.FindObjectsOfTypeAll().ToList().Where(mt => mt.ModelTargetType == ModelTargetType.PREDEFINED).ToArray(); + + if (modelTargetsInScene == null || modelTargetsInScene.Length == 0) + return null; + + string targetName = searchResult.TargetName; + //string targetUniqueId = searchResult.UniqueTargetId; + + foreach (var mt in modelTargetsInScene) + { + if (mt.TrackableName == targetName) + { + mt.gameObject.SetActive(true); + return mt; + } + } + + return null; + } + + + private GameObject CreateBoundingBox(string modelTargetName, OrientedBoundingBox3D bbox) + { + var bboxGameObj = new GameObject(modelTargetName + "_BoundingBox"); + bboxGameObj.transform.localPosition = bbox.Center; + bboxGameObj.transform.localRotation = Quaternion.identity; + bboxGameObj.transform.localScale = 2 * bbox.HalfExtents; + bboxGameObj.AddComponent(); + return bboxGameObj; + } + + private void ShowErrorMessageInUI(string text) + { + if (ModelRecoErrorText) + ModelRecoErrorText.text = text; + } + + public static Bounds GetModelTargetWorldBounds(ModelTargetBehaviour mtb) + { + var bbox = mtb.ModelTarget.GetBoundingBox(); + var localCenter = bbox.Center; + var localExtents = bbox.HalfExtents; + + // transform local center to World space + var worldCenter = mtb.transform.TransformPoint(localCenter); + + // transform the local extents to World space + var axisX = mtb.transform.TransformVector(localExtents.x, 0, 0); + var axisY = mtb.transform.TransformVector(0, localExtents.y, 0); + var axisZ = mtb.transform.TransformVector(0, 0, localExtents.z); + + Vector3 worldExtents = Vector3.zero; + worldExtents.x = Mathf.Abs(axisX.x) + Mathf.Abs(axisY.x) + Mathf.Abs(axisZ.x); + worldExtents.y = Mathf.Abs(axisX.y) + Mathf.Abs(axisY.y) + Mathf.Abs(axisZ.y); + worldExtents.z = Mathf.Abs(axisX.z) + Mathf.Abs(axisY.z) + Mathf.Abs(axisZ.z); + + return new Bounds { center = worldCenter, extents = worldExtents }; + } + + private bool IsModelTrackedInView(ModelTargetBehaviour modelTarget) + { + if (!modelTarget) + return false; + + if (modelTarget.CurrentStatus == TrackableBehaviour.Status.NO_POSE) + return false; + + var cam = DigitalEyewearARController.Instance.PrimaryCamera; + if (!cam) + return false; + + // Compute the center of the model in World coordinates + Bounds modelBounds = GetModelTargetWorldBounds(modelTarget); + + var frustumPlanes = GeometryUtility.CalculateFrustumPlanes(cam); + return GeometryUtility.TestPlanesAABB(frustumPlanes, modelBounds); + } + + #endregion PRIVATE_METHODS + + + #region PUBLIC_METHODS + + public TargetFinder GetTargetFinder() + { + return mTargetFinder; + } + + + public void ResetModelReco(bool destroyGameObjects) + { + var objectTracker = TrackerManager.Instance.GetTracker(); + + if (objectTracker != null) + { + objectTracker.Stop(); + + if (mTargetFinder != null) + { + mTargetFinder.ClearTrackables(destroyGameObjects); + mTargetFinder.Stop(); + mTargetFinder.StartRecognition(); + } + else + { + Debug.LogError("Could not reset TargetFinder"); + } + + objectTracker.Start(); + } + else + { + Debug.LogError("Could not reset ObjectTracker"); + } + } + + #endregion // PUBLIC_METHODS +} diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs.meta b/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs.meta new file mode 100755 index 0000000..66d1642 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: fabb808b641aeac42aaabc701a5b885e +timeCreated: 1515497331 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs b/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs new file mode 100755 index 0000000..e8327f7 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs @@ -0,0 +1,124 @@ +/*============================================================================== +Copyright (c) 2017 PTC Inc. All Rights Reserved. + +Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. +All Rights Reserved. +Confidential and Proprietary - Protected under copyright and other laws. +==============================================================================*/ + +using UnityEngine; +using Vuforia; + +/// +/// A custom handler that implements the ITrackableEventHandler interface. +/// +/// Changes made to this file could be overwritten when upgrading the Vuforia version. +/// When implementing custom event handler behavior, consider inheriting from this class instead. +/// +public class DefaultTrackableEventHandler : MonoBehaviour, ITrackableEventHandler +{ + #region PROTECTED_MEMBER_VARIABLES + + protected TrackableBehaviour mTrackableBehaviour; + protected TrackableBehaviour.Status m_PreviousStatus; + protected TrackableBehaviour.Status m_NewStatus; + + #endregion // PROTECTED_MEMBER_VARIABLES + + #region UNITY_MONOBEHAVIOUR_METHODS + + protected virtual void Start() + { + mTrackableBehaviour = GetComponent(); + if (mTrackableBehaviour) + mTrackableBehaviour.RegisterTrackableEventHandler(this); + } + + protected virtual void OnDestroy() + { + if (mTrackableBehaviour) + mTrackableBehaviour.UnregisterTrackableEventHandler(this); + } + + #endregion // UNITY_MONOBEHAVIOUR_METHODS + + #region PUBLIC_METHODS + + /// + /// Implementation of the ITrackableEventHandler function called when the + /// tracking state changes. + /// + public void OnTrackableStateChanged( + TrackableBehaviour.Status previousStatus, + TrackableBehaviour.Status newStatus) + { + m_PreviousStatus = previousStatus; + m_NewStatus = newStatus; + + if (newStatus == TrackableBehaviour.Status.DETECTED || + newStatus == TrackableBehaviour.Status.TRACKED || + newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED) + { + Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " found"); + OnTrackingFound(); + } + else if (previousStatus == TrackableBehaviour.Status.TRACKED && + newStatus == TrackableBehaviour.Status.NO_POSE) + { + Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " lost"); + OnTrackingLost(); + } + else + { + // For combo of previousStatus=UNKNOWN + newStatus=UNKNOWN|NOT_FOUND + // Vuforia is starting, but tracking has not been lost or found yet + // Call OnTrackingLost() to hide the augmentations + OnTrackingLost(); + } + } + + #endregion // PUBLIC_METHODS + + #region PROTECTED_METHODS + + protected virtual void OnTrackingFound() + { + var rendererComponents = GetComponentsInChildren(true); + var colliderComponents = GetComponentsInChildren(true); + var canvasComponents = GetComponentsInChildren(true); + + // Enable rendering: + foreach (var component in rendererComponents) + component.enabled = true; + + // Enable colliders: + foreach (var component in colliderComponents) + component.enabled = true; + + // Enable canvas': + foreach (var component in canvasComponents) + component.enabled = true; + } + + + protected virtual void OnTrackingLost() + { + var rendererComponents = GetComponentsInChildren(true); + var colliderComponents = GetComponentsInChildren(true); + var canvasComponents = GetComponentsInChildren(true); + + // Disable rendering: + foreach (var component in rendererComponents) + component.enabled = false; + + // Disable colliders: + foreach (var component in colliderComponents) + component.enabled = false; + + // Disable canvas': + foreach (var component in canvasComponents) + component.enabled = false; + } + + #endregion // PROTECTED_METHODS +} diff --git a/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs.meta b/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs.meta new file mode 100755 index 0000000..8dd88cc --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 5a917f0af64a6423093132dab321c15f +timeCreated: 1493021435 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef b/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef new file mode 100755 index 0000000..a6a193d --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef @@ -0,0 +1,3 @@ +{ + "name": "VuforiaScripts" +} diff --git a/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef.meta b/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef.meta new file mode 100755 index 0000000..07d62c2 --- /dev/null +++ b/AR-2/Assets/Vuforia/Scripts/VuforiaScripts.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4aa734a563557450591d3fe58a62a120 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Shaders.meta b/AR-2/Assets/Vuforia/Shaders.meta new file mode 100755 index 0000000..2b3a2d6 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 045174a3e0bdedf4a9c6bfc80ea9dcf2 diff --git a/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader b/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader new file mode 100755 index 0000000..0027dc7 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader @@ -0,0 +1,57 @@ +//============================================================================== +//Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. +//All Rights Reserved. +//============================================================================== + +Shader "Custom/BrightTexture" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + } + SubShader { + + Pass{ + + CGPROGRAM + + #pragma vertex vert + #pragma fragment frag + + #include "UnityCG.cginc" + + sampler2D _MainTex; + + struct v2f { + float4 pos : SV_POSITION; + float2 uv : TEXCOORD0; + }; + + float4 _MainTex_ST; + + v2f vert (appdata_base v) + { + v2f o; + o.pos = UnityObjectToClipPos (v.vertex); + o.uv = TRANSFORM_TEX(v.texcoord, _MainTex); + return o; + } + + + half4 frag(v2f i) : COLOR + { + half4 c = tex2D (_MainTex, i.uv); + + float scale = 0.2f; + c.rgb = c.rgb * scale + 1.0f - scale; + + return c; + } + + ENDCG + } + } + + + + + FallBack "Diffuse" +} diff --git a/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader.meta b/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader.meta new file mode 100755 index 0000000..aec3400 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/BrightTexture.shader.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e6d3c0df88f3ab458512f8282e449af diff --git a/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader b/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader new file mode 100755 index 0000000..41ee09a --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader @@ -0,0 +1,72 @@ +//======================================================================== +// Copyright (c) 2017 PTC Inc. All Rights Reserved. +// +// Vuforia is a trademark of PTC Inc., registered in the United States and other +// countries. +//========================================================================= + +Shader "Custom/CameraDiffuse" +{ + Properties + { + _MaterialColor ("Color", Color) = (1,1,1,1) + } + + CGINCLUDE + + uniform float4 _MaterialColor; + + ENDCG + + SubShader + { + Pass + { + // indicate that our pass is the "base" pass in forward + // rendering pipeline. It gets ambient and main directional + // light data set up; light direction in _WorldSpaceLightPos0 + // and color in _LightColor0 + Tags {"LightMode"="ForwardBase"} + Cull Off + + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" // for UnityObjectToWorldNormal + #include "UnityLightingCommon.cginc" // for _LightColor0 + + struct v2f + { + fixed4 diff : COLOR0; // diffuse lighting color + float4 vertex : SV_POSITION; + }; + + v2f vert (appdata_base v) + { + v2f o; + o.vertex = UnityObjectToClipPos(v.vertex); + + + // get vertex normal in world space + half3 worldNormal = UnityObjectToWorldNormal(v.normal); + + float3 worldPos = mul(unity_ObjectToWorld, v.vertex).xyz; + // compute world space view direction + float3 worldViewDir = normalize(UnityWorldSpaceViewDir(worldPos)); + // dot product between normal and light direction for + // standard diffuse (Lambert) lighting "(support double-sided material)" + half nl = abs(dot(worldNormal, worldViewDir)); + + // factor in the material color + o.diff = lerp(_MaterialColor, nl * _MaterialColor, 0.2); + return o; + } + + fixed4 frag (v2f i) : SV_Target + { + return i.diff; + } + ENDCG + } + } +} \ No newline at end of file diff --git a/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader.meta b/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader.meta new file mode 100755 index 0000000..1dfb31c --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/CameraDiffuse.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 1a890b01c666b2a4dbdfe1eb6a476078 +timeCreated: 1496997307 +licenseType: Pro +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader b/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader new file mode 100755 index 0000000..905a01d --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader @@ -0,0 +1,39 @@ +// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) + +/*=============================================================================== +Copyright 2017 PTC Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. +===============================================================================*/ +Shader "Custom/ClippingMask" { + // Used to clip objects outside of the Vuforia Video Background + + SubShader { + // Render the mask after regular geometry and transparent things but + // but before any other overlays + + Tags {"Queue" = "Overlay-10" } + + Lighting Off + + ZTest Always + ZWrite On + + // Draw black background into the RGBA channel + Color (0,0,0,0) + ColorMask RGBA + + // Do nothing specific in the pass: + + Pass {} + } +} diff --git a/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader.meta b/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader.meta new file mode 100755 index 0000000..c84de39 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/ClippingMask.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 66d0d78a3000021448b598bb54a3bfdf +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader b/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader new file mode 100755 index 0000000..1e290a4 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader @@ -0,0 +1,22 @@ +//=============================================================================== +//Copyright (c) 2015-2016 PTC Inc. All Rights Reserved. +// +//Confidential and Proprietary - Protected under copyright and other laws. +//Vuforia is a trademark of PTC Inc., registered in the United States and other +//countries. +//=============================================================================== + +Shader "Custom/ColoredLines" { + Properties { + _Color ("Main Color", Color) = (1,1,1,1) + } + + SubShader { + Pass { + Lighting Off + Cull Off + Blend SrcAlpha OneMinusSrcAlpha + Color [_Color] + } + } +} diff --git a/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader.meta b/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader.meta new file mode 100755 index 0000000..d50aa99 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/ColoredLines.shader.meta @@ -0,0 +1,5 @@ +fileFormatVersion: 2 +guid: c3430c603e3a4f54c86671122d3dfa1c +ShaderImporter: + defaultTextures: [] + userData: diff --git a/AR-2/Assets/Vuforia/Shaders/DepthContour.shader b/AR-2/Assets/Vuforia/Shaders/DepthContour.shader new file mode 100755 index 0000000..63309bd --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/DepthContour.shader @@ -0,0 +1,78 @@ +/*======================================================================== +Copyright (c) 2017 PTC Inc. All Rights Reserved. + +Vuforia is a trademark of PTC Inc., registered in the United States and other +countries. +=========================================================================*/ +Shader "Custom/DepthContour" { + Properties{ + _ContourColor("Contour Color", Color) = (1,1,1,1) + _SurfaceColor("Surface Color", Color) = (0.5,0.5,0.5,1) + _DepthThreshold("Depth Threshold", Float) = 0.002 + } + + SubShader { + Tags { "Queue" = "Geometry" "RenderType" = "Transparent" } + + Pass { + Cull Back + Blend SrcAlpha OneMinusSrcAlpha + + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" + + uniform sampler2D _CameraDepthTexture; + uniform float4 _ContourColor; + uniform float4 _SurfaceColor; + uniform float _DepthThreshold; + + struct v2f { + float4 pos : SV_POSITION; + float4 screenPos : TEXCOORD0; + float depth : TEXCOORD1; + }; + + v2f vert(appdata_base v) + { + v2f o; + o.pos = UnityObjectToClipPos(v.vertex); + o.screenPos = ComputeScreenPos(o.pos); + + COMPUTE_EYEDEPTH(o.depth); + o.depth = (o.depth - _ProjectionParams.y) / (_ProjectionParams.z - _ProjectionParams.y); + return o; + } + + half4 frag(v2f i) : COLOR + { + float2 uv = i.screenPos.xy / i.screenPos.w; + float du = 1.0 / _ScreenParams.x; + float dv = 1.0 / _ScreenParams.y; + float2 uv_X1 = uv + float2(du, 0.0); + float2 uv_Y1 = uv + float2(0.0, dv); + float2 uv_X2 = uv + float2(-du, 0.0); + float2 uv_Y2 = uv + float2(0.0, -dv); + + float depth0 = Linear01Depth(UNITY_SAMPLE_DEPTH(tex2D(_CameraDepthTexture, uv))); + float depthX1 = Linear01Depth(UNITY_SAMPLE_DEPTH(tex2D(_CameraDepthTexture, uv_X1))); + float depthY1 = Linear01Depth(UNITY_SAMPLE_DEPTH(tex2D(_CameraDepthTexture, uv_Y1))); + float depthX2 = Linear01Depth(UNITY_SAMPLE_DEPTH(tex2D(_CameraDepthTexture, uv_X2))); + float depthY2 = Linear01Depth(UNITY_SAMPLE_DEPTH(tex2D(_CameraDepthTexture, uv_Y2))); + + float farDist = _ProjectionParams.z; + float refDepthStep = _DepthThreshold / farDist; + float depthStepX = max(abs(depth0 - depthX1), abs(depth0 - depthX2)); + float depthStepY = max(abs(depth0 - depthY1), abs(depth0 - depthY2)); + float maxDepthStep = length(float2(depthStepX, depthStepY)); + half contour = (maxDepthStep > refDepthStep) ? 1.0 : 0.0; + return _SurfaceColor * (1.0 - contour) + _ContourColor * contour; + } + + ENDCG + } + } + + Fallback "Diffuse" +} diff --git a/AR-2/Assets/Vuforia/Shaders/DepthContour.shader.meta b/AR-2/Assets/Vuforia/Shaders/DepthContour.shader.meta new file mode 100755 index 0000000..b43624b --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/DepthContour.shader.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c1ded68d068051d4f92650fcddaae5c7 +timeCreated: 1510068460 +licenseType: Pro +ShaderImporter: + externalObjects: {} + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Shaders/DepthMask.shader b/AR-2/Assets/Vuforia/Shaders/DepthMask.shader new file mode 100755 index 0000000..493fe92 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/DepthMask.shader @@ -0,0 +1,43 @@ +//=============================================================================== +//Copyright (c) 2015 PTC Inc. All Rights Reserved. +// +//Confidential and Proprietary - Protected under copyright and other laws. +//Vuforia is a trademark of PTC Inc., registered in the United States and other +//countries. +//=============================================================================== +//=============================================================================== +//Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. +//All Rights Reserved. +//Confidential and Proprietary - Qualcomm Connected Experiences, Inc. +//=============================================================================== + +Shader "DepthMask" { + + SubShader { + // Render the mask after regular geometry, but before masked geometry and + // transparent things. + + Tags {"Queue" = "Geometry-10" } + + // Turn off lighting, because it's expensive and the thing is supposed to be + // invisible anyway. + + Lighting Off + + // Draw into the depth buffer in the usual way. This is probably the default, + // but it doesn't hurt to be explicit. + + ZTest LEqual + ZWrite On + + // Don't draw anything into the RGBA channels. This is an undocumented + // argument to ColorMask which lets us avoid writing to anything except + // the depth buffer. + + ColorMask 0 + + // Do nothing specific in the pass: + + Pass {} + } +} diff --git a/AR-2/Assets/Vuforia/Shaders/DepthMask.shader.meta b/AR-2/Assets/Vuforia/Shaders/DepthMask.shader.meta new file mode 100755 index 0000000..344dbcf --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/DepthMask.shader.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 1ce7eb78425fb1540838bc9d5d95857a diff --git a/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader b/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader new file mode 100755 index 0000000..1d633ff --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader @@ -0,0 +1,86 @@ +//=============================================================================== +//Copyright (c) 2017 PTC Inc. All Rights Reserved. +// +//Confidential and Proprietary - Protected under copyright and other laws. +//Vuforia is a trademark of PTC Inc., registered in the United States and other +//countries. +//=============================================================================== +//============================================================================== +//Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. +//All Rights Reserved. +//============================================================================== + +Shader "Custom/OutlineOpaque" +{ + Properties + { + _SilhouetteSize ("Size", Float) = 0.0 + _SilhouetteColor ("Color", Color) = (1,1,1,1) + } + + CGINCLUDE + #include "UnityCG.cginc" + + struct v2f + { + float4 position : POSITION; + float4 color : COLOR; + }; + + struct vertIn + { + float4 position : POSITION; + float3 normal : NORMAL; + }; + + uniform float _SilhouetteSize; + uniform float4 _SilhouetteColor; + + ENDCG + + SubShader + { + Tags { "Queue" = "Geometry" } + + Pass + { + Cull Back + Blend Zero One + } + + Pass + { + Cull Front + + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + + v2f vert(vertIn input) + { + v2f output; + // unmodified projected position of the vertex + output.position = UnityObjectToClipPos(input.position); + output.color = _SilhouetteColor; + + // calculate silhouette in image space + float2 silhouette = TransformViewToProjection(mul((float3x3)UNITY_MATRIX_IT_MV, input.normal).xy) * _SilhouetteSize; + + // add silhouette offset + output.position.xy += output.position.z * silhouette; + + return output; + } + + half4 frag(v2f input) :COLOR + { + return input.color; + } + ENDCG + } + + + } + + Fallback "Diffuse" +} diff --git a/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader.meta b/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader.meta new file mode 100755 index 0000000..812456e --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/OutlineOpaque.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: a81568144a775094bb6b92c7df9fcebe +timeCreated: 1484752106 +licenseType: Pro +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Shaders/Text3D.shader b/AR-2/Assets/Vuforia/Shaders/Text3D.shader new file mode 100755 index 0000000..4268cc9 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/Text3D.shader @@ -0,0 +1,26 @@ +//======================================================================== +//Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. +//All Rights Reserved. +//Confidential and Proprietary - Protected under copyright and other laws. +//======================================================================== + +Shader "Custom/Text3D" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + _Color ("Text Color", Color) = (1,1,1,1) + } + + SubShader { + Tags { "Queue"="Geometry+1" "IgnoreProjector"="True" } + Lighting Off Offset -1, -1 ZTest LEqual ZWrite On Fog { Mode Off } + Blend SrcAlpha OneMinusSrcAlpha + Pass { + Color [_Color] + SetTexture [_MainTex] { + combine primary, texture * primary + } + } + } + + +} diff --git a/AR-2/Assets/Vuforia/Shaders/Text3D.shader.meta b/AR-2/Assets/Vuforia/Shaders/Text3D.shader.meta new file mode 100755 index 0000000..abfa7b5 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/Text3D.shader.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1291d28f0c885a84d8c9a67bc6ca0c82 diff --git a/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader b/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader new file mode 100755 index 0000000..8539fef --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader @@ -0,0 +1,33 @@ +//============================================================================== +//Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc. +//All Rights Reserved. +//============================================================================== + +Shader "Transparent/VertexLit with Z" { +Properties { + _Color ("Main Color", Color) = (1,1,1,1) + _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} +} + +SubShader { + Tags {"RenderType"="Transparent" "Queue"="Transparent"} + // Render into depth buffer only + Pass { + ColorMask 0 + } + // Render normally + Pass { + ZWrite On + Blend SrcAlpha OneMinusSrcAlpha + ColorMask RGB + Material { + Diffuse [_Color] + Ambient [_Color] + } + Lighting On + SetTexture [_MainTex] { + Combine texture * primary DOUBLE, texture * primary + } + } +} +} diff --git a/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader.meta b/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader.meta new file mode 100755 index 0000000..ff07268 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/VertexLitWithZ.shader.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: c158ceb104c238944a4daf52327953f9 +ShaderImporter: + userData: diff --git a/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader b/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader new file mode 100755 index 0000000..5279330 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader @@ -0,0 +1,116 @@ +/*=============================================================================== +Copyright 2017-2018 PTC Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. +===============================================================================*/ + +Shader "Custom/VideoBackground" { + // Used to render the Vuforia Video Background + + Properties + { + [NoScaleOffset] _MainTex("Texture", 2D) = "white" {} + [NoScaleOffset] _UVTex("UV Texture", 2D) = "white" {} + } + SubShader + { + Tags {"Queue" = "geometry-11" "RenderType" = "opaque" } + Pass { + ZWrite Off + Cull Off + Lighting Off + + CGPROGRAM + + #pragma multi_compile VUFORIA_RGB VUFORIA_YUVNV12 VUFORIA_YUVNV21 + + #pragma vertex vert + #pragma fragment frag + + #include "UnityCG.cginc" + + + sampler2D _MainTex; + float4 _MainTex_ST; +#if (VUFORIA_YUVNV12 || VUFORIA_YUVNV21) + sampler2D _UVTex; + float4 _UVTex_ST; +#endif + + struct v2f { + float4 pos : SV_POSITION; + float2 uv : TEXCOORD0; +#if (VUFORIA_YUVNV12 || VUFORIA_YUVNV21) + float2 uv2 : TEXCOORD1; +#endif + }; + + v2f vert(appdata_base v) + { + v2f o; + o.pos = UnityObjectToClipPos(v.vertex); + o.uv = TRANSFORM_TEX(v.texcoord, _MainTex); +#if (VUFORIA_YUVNV12 || VUFORIA_YUVNV21) + o.uv2 = TRANSFORM_TEX(v.texcoord, _UVTex); +#endif + return o; + } + +#if (VUFORIA_YUVNV12 || VUFORIA_YUVNV21) + half4 frag(v2f i) : COLOR + { + half4 c; + half2 uv = tex2D(_UVTex, i.uv2).rg; + float y = tex2D(_MainTex, i.uv).r; + +#if VUFORIA_YUVNV12 + half4 v4yuv1 = half4(y, uv, 1.0); + + c.r = dot(half4(1.1640625, 0.000000000, 1.5957031250, -0.87060546875), v4yuv1); + c.g = dot(half4(1.1640625, -0.390625000, -0.8134765625, 0.52929687500), v4yuv1); + c.b = dot(half4(1.1640625, 2.017578125, 0.0000000000, -1.08154296875), v4yuv1); + c.a = 1.0; +#else + half4 v4yuv1 = half4(y, uv, 1.0); + + c.r = dot(half4(1.1640625, 1.5957031250, 0.000000000, -0.87060546875), v4yuv1); + c.g = dot(half4(1.1640625, -0.8134765625, -0.390625000, 0.52929687500), v4yuv1); + c.b = dot(half4(1.1640625, 0.0000000000, 2.017578125, -1.08154296875), v4yuv1); + c.a = 1.0; +#endif + +#ifdef UNITY_COLORSPACE_GAMMA + return c; +#else + return fixed4(GammaToLinearSpace(c.rgb), c.a); +#endif + } +#else + half4 frag(v2f i) : COLOR + { + half4 c = tex2D(_MainTex, i.uv); + + c.rgb = c.rgb; + c.a = 1.0; + +#ifdef UNITY_COLORSPACE_GAMMA + return c; +#else + return fixed4(GammaToLinearSpace(c.rgb), c.a); +#endif + } +#endif + ENDCG + } + } + Fallback "Legacy Shaders/Diffuse" +} diff --git a/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader.meta b/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader.meta new file mode 100755 index 0000000..4701787 --- /dev/null +++ b/AR-2/Assets/Vuforia/Shaders/VideoBackground.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f40623b353e2f1943b1b3ba42975db7a +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Textures.meta b/AR-2/Assets/Vuforia/Textures.meta new file mode 100755 index 0000000..04d265d --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 1 +guid: 5974f532865442942bd739871e9c63c3 diff --git a/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png b/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png new file mode 100755 index 0000000..f69c55e Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png differ diff --git a/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png.meta b/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png.meta new file mode 100755 index 0000000..9b80487 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/CloudRecoTarget.png.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: f6153ed43853e4449924f1322300f084 +TextureImporter: + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: 2 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + textureType: -1 + buildTargetSettings: [] diff --git a/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png b/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png new file mode 100755 index 0000000..3cc160c Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png differ diff --git a/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png.meta b/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png.meta new file mode 100755 index 0000000..3b21b27 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/GroundPlaneReference.png.meta @@ -0,0 +1,76 @@ +fileFormatVersion: 2 +guid: 5f131b079790d4251836bc73b812b53d +timeCreated: 1509395541 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Textures/MidAirReference.png b/AR-2/Assets/Vuforia/Textures/MidAirReference.png new file mode 100755 index 0000000..5b1bc8a Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/MidAirReference.png differ diff --git a/AR-2/Assets/Vuforia/Textures/MidAirReference.png.meta b/AR-2/Assets/Vuforia/Textures/MidAirReference.png.meta new file mode 100755 index 0000000..e5ef979 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/MidAirReference.png.meta @@ -0,0 +1,76 @@ +fileFormatVersion: 2 +guid: e21dffdcc7917472c9827aa5e2387fe8 +timeCreated: 1509395292 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Textures/Reticle.png b/AR-2/Assets/Vuforia/Textures/Reticle.png new file mode 100755 index 0000000..a43e793 Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/Reticle.png differ diff --git a/AR-2/Assets/Vuforia/Textures/Reticle.png.meta b/AR-2/Assets/Vuforia/Textures/Reticle.png.meta new file mode 100755 index 0000000..ec4e0e8 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/Reticle.png.meta @@ -0,0 +1,76 @@ +fileFormatVersion: 2 +guid: 1e424f48fda62483aa0c9eec616e0cc8 +timeCreated: 1509389802 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png b/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png new file mode 100755 index 0000000..3a2d42c Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png differ diff --git a/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png.meta b/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png.meta new file mode 100755 index 0000000..890f153 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/UserDefinedTarget.png.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: fb22b98929f50754ab255ba14de4fa55 +TextureImporter: + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: 2 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + textureType: -1 + buildTargetSettings: [] diff --git a/AR-2/Assets/Vuforia/Textures/VideoBackground.png b/AR-2/Assets/Vuforia/Textures/VideoBackground.png new file mode 100755 index 0000000..d212ff0 Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/VideoBackground.png differ diff --git a/AR-2/Assets/Vuforia/Textures/VideoBackground.png.meta b/AR-2/Assets/Vuforia/Textures/VideoBackground.png.meta new file mode 100755 index 0000000..d0cf92c --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/VideoBackground.png.meta @@ -0,0 +1,35 @@ +fileFormatVersion: 2 +guid: d46decd9d3bbf0d46b31a3d4ae0f18ff +TextureImporter: + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + textureType: -1 + buildTargetSettings: [] + userData: diff --git a/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png b/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png new file mode 100755 index 0000000..15cfe9c Binary files /dev/null and b/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png differ diff --git a/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png.meta b/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png.meta new file mode 100755 index 0000000..4924b27 --- /dev/null +++ b/AR-2/Assets/Vuforia/Textures/VirtualButtonPreview.png.meta @@ -0,0 +1,35 @@ +fileFormatVersion: 2 +guid: dd8287d41aafb4b4bacd7e0ebf634a0c +TextureImporter: + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + textureType: -1 + buildTargetSettings: [] + userData: diff --git a/AR-2/Assets/Vuforia/version b/AR-2/Assets/Vuforia/version new file mode 100755 index 0000000..b7ab95d --- /dev/null +++ b/AR-2/Assets/Vuforia/version @@ -0,0 +1 @@ +8.0.10:e77b6e2369a2a334abb489af3dba34aa \ No newline at end of file diff --git a/AR-2/Assets/Vuforia/version.meta b/AR-2/Assets/Vuforia/version.meta new file mode 100755 index 0000000..44134eb --- /dev/null +++ b/AR-2/Assets/Vuforia/version.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7afbfd7a745a4fd4083547727c9780ee +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/earthScript.cs b/AR-2/Assets/earthScript.cs new file mode 100644 index 0000000..5970d0e --- /dev/null +++ b/AR-2/Assets/earthScript.cs @@ -0,0 +1,19 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class earthScript : MonoBehaviour +{ + private Transform earthCenter; + // Start is called before the first frame update + void Start() + { + earthCenter = GameObject.Find("EarthCenter").transform; + } + + // Update is called once per frame + void Update() + { + earthCenter.position = transform.position; + } +} diff --git a/AR-2/Assets/earthScript.cs.meta b/AR-2/Assets/earthScript.cs.meta new file mode 100644 index 0000000..8013c0b --- /dev/null +++ b/AR-2/Assets/earthScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 061f2a3562c5340009eec5de62f01066 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AR-2/Assets/mesh_scene.unity b/AR-2/Assets/mesh_scene.unity new file mode 100644 index 0000000..51090d1 --- /dev/null +++ b/AR-2/Assets/mesh_scene.unity @@ -0,0 +1,309 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.44657838, g: 0.49641234, b: 0.57481676, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 10 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &827673860 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 827673862} + - component: {fileID: 827673861} + m_Layer: 0 + m_Name: MeshObjectMaybe + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &827673861 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 827673860} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4640c9770a75047a3b983f61b71e5ba3, type: 3} + m_Name: + m_EditorClassIdentifier: + material: {fileID: 0} +--- !u!4 &827673862 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 827673860} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1405971609 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1405971612} + - component: {fileID: 1405971611} + - component: {fileID: 1405971610} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1405971610 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405971609} + m_Enabled: 1 +--- !u!20 &1405971611 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405971609} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_GateFitMode: 2 + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1405971612 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1405971609} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1651406049 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1651406051} + - component: {fileID: 1651406050} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1651406050 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1651406049} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1651406051 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1651406049} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} diff --git a/AR-2/Assets/mesh_scene.unity.meta b/AR-2/Assets/mesh_scene.unity.meta new file mode 100644 index 0000000..44556be --- /dev/null +++ b/AR-2/Assets/mesh_scene.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9e2e7695155c1462b8f393cd9d322f1f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: