浏览代码

4.2.0-pre.7 release

/4.2
Tim Mowrer 4 年前
当前提交
79dcb399
共有 5 个文件被更改,包括 89 次插入65 次删除
  1. 115
      Assets/Scenes/Depth/DepthImages.unity
  2. 19
      Assets/Scripts/DisplayDepthImage.cs
  3. 8
      Packages/manifest.json
  4. 8
      ProjectSettings/ProjectSettings.asset
  5. 4
      ProjectSettings/ProjectVersion.txt

115
Assets/Scenes/Depth/DepthImages.unity


m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Environment Depth
m_Text: Raw Environment Depth
--- !u!222 &71913061
CanvasRenderer:
m_ObjectHideFlags: 0

m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &485666365
Canvas:
m_ObjectHideFlags: 0

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

m_Modifications:
- target: {fileID: 2304810881573073946, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
propertyPath: m_Pivot.x
value: 0.5
propertyPath: m_LocalPosition.y
value: 0
propertyPath: m_Pivot.y
value: 0.5
propertyPath: m_LocalPosition.z
propertyPath: m_RootOrder
propertyPath: m_LocalRotation.x
value: -0
propertyPath: m_AnchorMax.x
value: 1
propertyPath: m_LocalRotation.y
value: -0
propertyPath: m_AnchorMax.y
value: 1
propertyPath: m_LocalRotation.z
value: -0
propertyPath: m_AnchorMin.x
value: 1
propertyPath: m_LocalRotation.w
propertyPath: m_AnchorMin.y
propertyPath: m_RootOrder
value: 0
propertyPath: m_SizeDelta.x
value: 100
propertyPath: m_LocalEulerAnglesHint.x
value: 0
propertyPath: m_SizeDelta.y
value: 100
propertyPath: m_LocalEulerAnglesHint.y
propertyPath: m_LocalPosition.x
propertyPath: m_LocalEulerAnglesHint.z
propertyPath: m_LocalPosition.y
propertyPath: m_AnchoredPosition.x
value: -50
propertyPath: m_LocalPosition.z
value: 0
propertyPath: m_AnchoredPosition.y
value: -110
propertyPath: m_LocalRotation.w
value: 1
propertyPath: m_SizeDelta.x
value: 100
propertyPath: m_LocalRotation.x
value: -0
propertyPath: m_SizeDelta.y
value: 100
propertyPath: m_LocalRotation.y
value: -0
propertyPath: m_AnchorMin.x
value: 1
propertyPath: m_LocalRotation.z
value: -0
propertyPath: m_AnchorMin.y
value: 1
propertyPath: m_AnchoredPosition.x
value: -50
propertyPath: m_AnchorMax.x
value: 1
propertyPath: m_AnchoredPosition.y
value: -110
propertyPath: m_AnchorMax.y
value: 1
propertyPath: m_LocalEulerAnglesHint.x
value: 0
propertyPath: m_Pivot.x
value: 0.5
propertyPath: m_LocalEulerAnglesHint.y
value: 0
propertyPath: m_Pivot.y
value: 0.5
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3225625820226493293, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 4584729703009679669, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}
propertyPath: humanSegmentationMenu
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4584729703009679669, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}
- target: {fileID: 4792654351133402651, guid: 4ee22c1f54b174122b6a766fe09e0de8,
- target: {fileID: 4584729703009679669, guid: 4ee22c1f54b174122b6a766fe09e0de8,
propertyPath: m_AnchoredPosition.x
value: -100
propertyPath: humanSegmentationMenu
value: 1
propertyPath: m_AnchoredPosition.y
value: 100
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4792654351133402651, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}

- target: {fileID: 4792654351133402651, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
propertyPath: m_AnchoredPosition.x
value: -100
objectReference: {fileID: 0}
- target: {fileID: 4792654351133402651, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 6193553896759373505, guid: 4ee22c1f54b174122b6a766fe09e0de8,
type: 3}

m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &1015722067

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

m_Value: 0
m_Options:
m_Options:
- m_Text: Environment Depth
- m_Text: Raw Environment Depth
m_Image: {fileID: 0}
- m_Text: Temporal Smoothed Environment Depth
m_Image: {fileID: 0}
- m_Text: Human Depth
m_Image: {fileID: 0}

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

m_HumanSegmentationStencilMode: 1
m_HumanSegmentationDepthMode: 1
m_EnvironmentDepthMode: 1
m_EnvironmentDepthTemporalSmoothing: 0
m_OcclusionPreferenceMode: 0
--- !u!1 &1449726330
GameObject:

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}

19
Assets/Scripts/DisplayDepthImage.cs


/// </summary>
enum DisplayMode
{
EnvironmentDepth = 0,
HumanDepth = 1,
HumanStencil = 2,
EnvironmentDepthRaw = 0,
EnvironmentDepthSmooth = 1,
HumanDepth = 2,
HumanStencil = 3,
}
/// <summary>

/// <summary>
/// The mode indicating which texture to display.
/// </summary>
DisplayMode m_DisplayMode = DisplayMode.EnvironmentDepth;
DisplayMode m_DisplayMode = DisplayMode.EnvironmentDepthRaw;
/// <summary>
/// The display rotation matrix for the shader.

return;
}
case DisplayMode.EnvironmentDepth:
case DisplayMode.EnvironmentDepthRaw:
case DisplayMode.EnvironmentDepthSmooth:
default:
{
if (descriptor == null || descriptor.environmentDepthImageSupported == Supported.Unsupported)

}
else if (descriptor.environmentDepthImageSupported == Supported.Supported)
{
m_OcclusionManager.environmentDepthTemporalSmoothingRequested = m_DisplayMode == DisplayMode.EnvironmentDepthSmooth;
break;
}

case DisplayMode.HumanDepth:
displayTexture = humanDepth;
break;
case DisplayMode.EnvironmentDepth:
case DisplayMode.EnvironmentDepthRaw:
case DisplayMode.EnvironmentDepthSmooth:
default:
displayTexture = envDepth;
break;

material = m_DepthMaterial;
maxDistance = m_MaxHumanDistance;
break;
case DisplayMode.EnvironmentDepth:
case DisplayMode.EnvironmentDepthRaw:
case DisplayMode.EnvironmentDepthSmooth:
default:
material = m_DepthMaterial;
maxDistance = m_MaxEnvironmentDistance;

8
Packages/manifest.json


"com.unity.ide.vscode": "1.2.3",
"com.unity.inputsystem": "1.0.2",
"com.unity.ugui": "1.0.0",
"com.unity.xr.arcore": "4.2.0-pre.5",
"com.unity.xr.arfoundation": "4.2.0-pre.5",
"com.unity.xr.arkit": "4.2.0-pre.4",
"com.unity.xr.arkit-face-tracking": "4.2.0-pre.4",
"com.unity.xr.arcore": "4.2.0-pre.7",
"com.unity.xr.arfoundation": "4.2.0-pre.7",
"com.unity.xr.arkit": "4.2.0-pre.7",
"com.unity.xr.arkit-face-tracking": "4.2.0-pre.7",
"com.unity.xr.interaction.toolkit": "1.0.0-pre.3",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",

8
ProjectSettings/ProjectSettings.asset


switchTitleNames_12:
switchTitleNames_13:
switchTitleNames_14:
switchTitleNames_15:
switchPublisherNames_0:
switchPublisherNames_1:
switchPublisherNames_2:

switchPublisherNames_12:
switchPublisherNames_13:
switchPublisherNames_14:
switchPublisherNames_15:
switchIcons_0: {fileID: 0}
switchIcons_1: {fileID: 0}
switchIcons_2: {fileID: 0}

switchIcons_12: {fileID: 0}
switchIcons_13: {fileID: 0}
switchIcons_14: {fileID: 0}
switchIcons_15: {fileID: 0}
switchSmallIcons_0: {fileID: 0}
switchSmallIcons_1: {fileID: 0}
switchSmallIcons_2: {fileID: 0}

switchSmallIcons_12: {fileID: 0}
switchSmallIcons_13: {fileID: 0}
switchSmallIcons_14: {fileID: 0}
switchSmallIcons_15: {fileID: 0}
switchManualHTML:
switchAccessibleURLs:
switchLegalInformation:

28: UNITY_POST_PROCESSING_STACK_V2
29: UNITY_POST_PROCESSING_STACK_V2
30: UNITY_POST_PROCESSING_STACK_V2
32: UNITY_POST_PROCESSING_STACK_V2
33: UNITY_POST_PROCESSING_STACK_V2
additionalCompilerArguments: {}
platformArchitecture:
iPhone: 1

additionalIl2CppArgs:
scriptingRuntimeVersion: 1
gcIncremental: 0
assemblyVersionValidation: 1
gcWBarrierValidation: 0
apiCompatibilityLevelPerPlatform: {}
m_RenderingPath: 1

XboxOneCapability: []
XboxOneGameRating: {}
XboxOneIsContentPackage: 0
XboxOneEnhancedXboxCompatibilityMode: 0
XboxOneEnableGPUVariability: 0
XboxOneSockets: {}
XboxOneSplashScreen: {fileID: 0}

4
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2020.3.0f1
m_EditorVersionWithRevision: 2020.3.0f1 (c7b5465681fb)
m_EditorVersion: 2020.3.4f1
m_EditorVersionWithRevision: 2020.3.4f1 (0abb6314276a)
正在加载...
取消
保存