浏览代码

Updating the project, scenes, and readme.

/lwrp-support-2018.3-with-1.0
Todd Stinson 6 年前
当前提交
6fad5990
共有 18 个文件被更改,包括 226 次插入29 次删除
  1. 2
      .gitignore
  2. 17
      Assets/Scenes/ARWorldMap.unity
  3. 17
      Assets/Scenes/CameraImage.unity
  4. 17
      Assets/Scenes/FaceTracking/Face.unity
  5. 17
      Assets/Scenes/FaceTracking/FaceBlendShapes.unity
  6. 17
      Assets/Scenes/FaceTracking/FaceMesh.unity
  7. 2
      Assets/Scenes/LightEstimation.unity
  8. 17
      Assets/Scenes/Plane Detection/FeatheredPlanes.unity
  9. 17
      Assets/Scenes/Plane Detection/TogglePlaneDetection.unity
  10. 4
      Assets/Scenes/Scale.unity
  11. 17
      Assets/Scenes/SimpleAR.unity
  12. 2
      Assets/Scenes/UX/SampleUXScene.unity
  13. 11
      Packages/manifest.json
  14. 35
      ProjectSettings/EditorBuildSettings.asset
  15. 45
      ProjectSettings/ProjectSettings.asset
  16. 2
      ProjectSettings/ProjectVersion.txt
  17. 6
      README.md
  18. 10
      ProjectSettings/XRSettings.asset

2
.gitignore


[Ll]ibrary/
[Ll]ogs/
[Tt]emp/
[Oo]bj/
[Bb]uild/

# Visual Studio 2015 cache directory
/.vs/
.vscode
# Ignore manually added packages
com.*

17
Assets/Scenes/ARWorldMap.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 922031776}
- component: {fileID: 922031778}
- component: {fileID: 922031777}
- component: {fileID: 922031780}
m_Layer: 0
m_Name: AR Camera
m_TagString: Untagged

m_Father: {fileID: 199115017}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &922031780
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 922031775}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &1135053677
GameObject:
m_ObjectHideFlags: 0

17
Assets/Scenes/CameraImage.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: AR Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 1
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &427002218
GameObject:
m_ObjectHideFlags: 0

17
Assets/Scenes/FaceTracking/Face.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1526980366}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 0
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &406902928
GameObject:
m_ObjectHideFlags: 0

17
Assets/Scenes/FaceTracking/FaceBlendShapes.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1526980366}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 0
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &406902928
GameObject:
m_ObjectHideFlags: 0

17
Assets/Scenes/FaceTracking/FaceMesh.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1526980366}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 0
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &406902928
GameObject:
m_ObjectHideFlags: 0

2
Assets/Scenes/LightEstimation.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

17
Assets/Scenes/Plane Detection/FeatheredPlanes.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: AR Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 1
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &427002218
GameObject:
m_ObjectHideFlags: 0

17
Assets/Scenes/Plane Detection/TogglePlaneDetection.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: AR Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 1
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &427002218
GameObject:
m_ObjectHideFlags: 0

4
Assets/Scenes/Scale.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

m_Component:
- component: {fileID: 365489206}
m_Layer: 0
m_Name: Contenet
m_Name: Content
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

17
Assets/Scenes/SimpleAR.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.5748171, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- component: {fileID: 282840811}
- component: {fileID: 282840815}
- component: {fileID: 282840812}
- component: {fileID: 282840816}
m_Layer: 0
m_Name: AR Camera
m_TagString: MainCamera

m_TrackingType: 0
m_UpdateType: 0
m_UseRelativeTransform: 1
--- !u!114 &282840816
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 282840810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d82be673b768eb448ade8552ecbc1662, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusMode: 1
m_LightEstimation: 0
--- !u!1 &427002218
GameObject:
m_ObjectHideFlags: 0

2
Assets/Scenes/UX/SampleUXScene.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.49641287, b: 0.5748173, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

11
Packages/manifest.json


{
"dependencies": {
"com.unity.ads": "2.3.1",
"com.unity.ads": "2.0.8",
"com.unity.collab-proxy": "1.2.15",
"com.unity.package-manager-ui": "2.0.3",
"com.unity.purchasing": "2.0.3",
"com.unity.textmeshpro": "1.3.0",
"com.unity.collab-proxy": "1.2.16",
"com.unity.package-manager-ui": "2.0.7",
"com.unity.purchasing": "2.0.6",
"com.unity.textmeshpro": "1.4.1",
"com.unity.timeline": "1.0.0",
"com.unity.xr.arcore": "1.0.0-preview.24",
"com.unity.xr.arfoundation": "1.0.0-preview.22",
"com.unity.xr.arkit": "1.0.0-preview.23",

35
ProjectSettings/EditorBuildSettings.asset


m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/SampleScene.unity
- enabled: 0
path: Assets/Scenes/ARWorldMap.unity
guid: 8d8902fd0b55449dcbf3572b49d6b1b1
- enabled: 0
path: Assets/Scenes/CameraImage.unity
guid: e769916924fd3814ab1d9474de816b22
- enabled: 0
path: Assets/Scenes/FaceTracking/Face.unity
guid: d8b65509a10894e1dbb93c799ececfd9
- enabled: 0
path: Assets/Scenes/FaceTracking/FaceBlendShapes.unity
guid: e9280441e79e84bdbbf6b724880ae2d9
- enabled: 0
path: Assets/Scenes/FaceTracking/FaceMesh.unity
guid: 047514b96a5d44d6bb0acbfa06ace943
- enabled: 0
path: Assets/Scenes/LightEstimation.unity
guid: 2f0cbc82480584c258f99f0d9e4ba302
- enabled: 0
path: Assets/Scenes/Plane Detection/FeatheredPlanes.unity
guid: 8252358a1e2ba7549a94df43aacec984
- enabled: 0
path: Assets/Scenes/Plane Detection/TogglePlaneDetection.unity
guid: eb4bbb3a5e81acc41a903b1c5f1c827b
- enabled: 0
path: Assets/Scenes/Scale.unity
guid: 13ac91f677dc22f4ca320ef8ae727b68
- enabled: 0
path: Assets/Scenes/SimpleAR.unity
path: Assets/Scenes/FeatheredPlaneScene.unity
guid: 8252358a1e2ba7549a94df43aacec984
path: Assets/Scenes/UX/SampleUXScene.unity
guid: 3b42d67a72bbc4004bf713db0e312326
m_configObjects:
com.unity.xr.arkit.PlayerSettings: {fileID: 11400000, guid: 2d5fb8e61571b4e3897f221189089fd6,
type: 2}

45
ProjectSettings/ProjectSettings.asset


xboxOneDisableEsram: 0
xboxOnePresentImmediateThreshold: 0
switchQueueCommandMemory: 0
switchQueueControlMemory: 16384
switchQueueComputeMemory: 262144
switchNVNShaderPoolsGranularity: 33554432
switchNVNDefaultPoolsGranularity: 16777216
switchNVNOtherPoolsGranularity: 16777216
vulkanEnableSetSRGBWrite: 0
m_SupportedAspectRatios:
4:3: 1

androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.unity.arfoundation.samples
Standalone: com.unity.arfoundation.samples
iOS: com.unity.arfoundation.samples
buildNumber: {}
AndroidBundleVersionCode: 1

StripUnusedMeshComponents: 1
VertexChannelCompressionMask: 4054
iPhoneSdkVersion: 988
iOSTargetOSVersionString: 9.0
iOSTargetOSVersionString: 11.0
tvOSSdkVersion: 0
tvOSRequireExtendedGameController: 0
tvOSTargetOSVersionString: 9.0

tvOSManualSigningProvisioningProfileType: 0
appleEnableAutomaticSigning: 0
iOSRequireARKit: 0
iOSAutomaticallyDetectAndAddCapabilities: 1
appleEnableProMotion: 0
clonedFromGUID: 56e7a2d3a00f33d44bdd161b773c35b5
templatePackageId: com.unity.3d@1.0.0

androidSplashScreen: {fileID: 0}
AndroidKeystoreName:
AndroidKeystoreName: '{inproject}: '
AndroidKeyaliasName:
AndroidBuildApkPerCpuArchitecture: 0
AndroidTVCompatibility: 1

m_Height: 36
m_Kind: 1
m_SubKind:
- m_Textures: []
m_Width: 192
m_Height: 192
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 144
m_Height: 144
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 96
m_Height: 96
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 72
m_Height: 72
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 48
m_Height: 48
m_Kind: 0
m_SubKind:
- m_Textures: []
m_Width: 36
m_Height: 36
m_Kind: 0
m_SubKind:
m_BuildTargetBatching:
- m_BuildTarget: Standalone
m_StaticBatching: 1

m_TemplateCustomTags: {}
mobileMTRendering:
Android: 0
iPhone: 1
tvOS: 1
m_BuildTargetGroupLightmapEncodingQuality: []
m_BuildTargetGroupLightmapSettings: []

switchAllowsRuntimeAddOnContentInstall: 0
switchDataLossConfirmation: 0
switchUserAccountLockEnabled: 0
switchSystemResourceMemory: 16777216
switchSupportedNpadStyles: 3
switchNativeFsCacheSize: 32
switchIsHoldTypeHorizontal: 0

facebookStatus: 1
facebookXfbml: 0
facebookFrictionlessRequests: 1
apiCompatibilityLevel: 2
apiCompatibilityLevel: 6
cloudProjectId:
framebufferDepthMemorylessMode: 0
projectName: Template_3D

2
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2018.3.0f2
m_EditorVersion: 2018.4.2f1

6
README.md


# AR Foundation Samples
Example projects that use *AR Foundation* and demonstrate its functionality with sample assets and components.
Compatible with Unity 2018.3.
Compatible with Unity 2018.4.
1. Download the latest version of Unity 2018.3
1. Download the latest version of Unity 2018.4.
2. Open Unity and load the project at the root of the *arfoundation-samples* repository
2. Open Unity, and load the project at the root of the *arfoundation-samples* repository.
3. Open your choice of sample scene.

10
ProjectSettings/XRSettings.asset


{
"m_SettingKeys": [
"VR Device Disabled",
"VR Device User Alert"
],
"m_SettingValues": [
"False",
"False"
]
}
正在加载...
取消
保存