Skip to content

Commit 55b9641

Browse files
authored
Merge pull request #8799 from davidkline-ms/pick8750
Cherry-pick fix for #8654 for 2.5.1 release
2 parents a3ce3a0 + d5bcb50 commit 55b9641

File tree

1 file changed

+63
-34
lines changed

1 file changed

+63
-34
lines changed

Assets/MRTK/Examples/Demos/HandTracking/Scenes/LeapMotionHandTrackingExample.unity

Lines changed: 63 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ LightmapSettings:
5454
m_EnableBakedLightmaps: 1
5555
m_EnableRealtimeLightmaps: 0
5656
m_LightmapEditorSettings:
57-
serializedVersion: 10
57+
serializedVersion: 12
5858
m_Resolution: 2
5959
m_BakeResolution: 40
6060
m_AtlasSize: 1024
6161
m_AO: 0
6262
m_AOMaxDistance: 1
6363
m_CompAOExponent: 1
6464
m_CompAOExponentDirect: 0
65+
m_ExtractAmbientOcclusion: 0
6566
m_Padding: 2
6667
m_LightmapParameters: {fileID: 0}
6768
m_LightmapsBakeMode: 1
@@ -76,18 +77,26 @@ LightmapSettings:
7677
m_PVRDirectSampleCount: 32
7778
m_PVRSampleCount: 512
7879
m_PVRBounces: 2
80+
m_PVREnvironmentSampleCount: 512
81+
m_PVREnvironmentReferencePointCount: 2048
82+
m_PVRFilteringMode: 2
83+
m_PVRDenoiserTypeDirect: 0
84+
m_PVRDenoiserTypeIndirect: 0
85+
m_PVRDenoiserTypeAO: 0
7986
m_PVRFilterTypeDirect: 0
8087
m_PVRFilterTypeIndirect: 0
8188
m_PVRFilterTypeAO: 0
82-
m_PVRFilteringMode: 1
89+
m_PVREnvironmentMIS: 0
8390
m_PVRCulling: 1
8491
m_PVRFilteringGaussRadiusDirect: 1
8592
m_PVRFilteringGaussRadiusIndirect: 5
8693
m_PVRFilteringGaussRadiusAO: 2
8794
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
8895
m_PVRFilteringAtrousPositionSigmaIndirect: 2
8996
m_PVRFilteringAtrousPositionSigmaAO: 1
90-
m_ShowResolutionOverlay: 1
97+
m_ExportTrainingData: 0
98+
m_TrainingDataDestination: TrainingData
99+
m_LightProbeSampleCountMultiplier: 4
91100
m_LightingDataAsset: {fileID: 0}
92101
m_UseShadowmask: 1
93102
--- !u!196 &4
@@ -684,7 +693,6 @@ GameObject:
684693
- component: {fileID: 712999893}
685694
- component: {fileID: 712999896}
686695
- component: {fileID: 712999898}
687-
- component: {fileID: 712999899}
688696
- component: {fileID: 712999897}
689697
m_Layer: 0
690698
m_Name: Main Camera
@@ -713,9 +721,10 @@ Camera:
713721
m_ClearFlags: 1
714722
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1}
715723
m_projectionMatrixMode: 1
724+
m_GateFitMode: 2
725+
m_FOVAxisMode: 0
716726
m_SensorSize: {x: 36, y: 24}
717727
m_LensShift: {x: 0, y: 0}
718-
m_GateFitMode: 2
719728
m_FocalLength: 50
720729
m_NormalizedViewPortRect:
721730
serializedVersion: 2
@@ -814,21 +823,6 @@ MonoBehaviour:
814823
m_InputActionsPerSecond: 10
815824
m_RepeatDelay: 0.5
816825
m_ForceModuleActive: 0
817-
--- !u!114 &712999899
818-
MonoBehaviour:
819-
m_ObjectHideFlags: 0
820-
m_CorrespondingSourceObject: {fileID: 0}
821-
m_PrefabInstance: {fileID: 0}
822-
m_PrefabAsset: {fileID: 0}
823-
m_GameObject: {fileID: 712999892}
824-
m_Enabled: 1
825-
m_EditorHideFlags: 0
826-
m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
827-
m_Name:
828-
m_EditorClassIdentifier:
829-
m_FirstSelected: {fileID: 0}
830-
m_sendNavigationEvents: 1
831-
m_DragThreshold: 10
832826
--- !u!1 &736454870
833827
GameObject:
834828
m_ObjectHideFlags: 0
@@ -1089,6 +1083,8 @@ MonoBehaviour:
10891083
rotateLerpTime: 0.001
10901084
scaleLerpTime: 0.001
10911085
translateLerpTime: 0.001
1086+
enableConstraints: 1
1087+
constraintsManager: {fileID: 0}
10921088
rotateStarted:
10931089
m_PersistentCalls:
10941090
m_Calls: []
@@ -1120,6 +1116,8 @@ MonoBehaviour:
11201116
m_Script: {fileID: 11500000, guid: a98de877dee5fc341b4eb59dfdab266c, type: 3}
11211117
m_Name:
11221118
m_EditorClassIdentifier:
1119+
autoConstraintSelection: 1
1120+
selectedConstraints: []
11231121
--- !u!65 &823646993
11241122
BoxCollider:
11251123
m_ObjectHideFlags: 0
@@ -1147,6 +1145,7 @@ MeshRenderer:
11471145
m_MotionVectors: 1
11481146
m_LightProbeUsage: 1
11491147
m_ReflectionProbeUsage: 1
1148+
m_RayTracingMode: 2
11501149
m_RenderingLayerMask: 1
11511150
m_RendererPriority: 0
11521151
m_Materials:
@@ -1158,6 +1157,7 @@ MeshRenderer:
11581157
m_ProbeAnchor: {fileID: 0}
11591158
m_LightProbeVolumeOverride: {fileID: 0}
11601159
m_ScaleInLightmap: 1
1160+
m_ReceiveGI: 1
11611161
m_PreserveUVs: 0
11621162
m_IgnoreNormalsForChartDetection: 0
11631163
m_ImportantGI: 0
@@ -1433,29 +1433,35 @@ PrefabInstance:
14331433
value: '<size=42><b>Leap Motion Hand Tracking</b></size>
14341434
14351435
1436-
MRTK supports articulated hand tracking for VR using the Leap Motion Controller. The
1437-
Leap Motion Controller is required to use this data provider.
1436+
MRTK supports
1437+
articulated hand tracking for VR using the Leap Motion Controller. The Leap
1438+
Motion Controller is required to use this data provider.
14381439
14391440
1440-
This scene uses the DefaultLeapMotionConfigurationProfile which is a clone
1441-
of the DefaultMixedRealityConfigurationProfile with the addition of the Leap
1442-
Data Provider under the Input Data Providers section.
1441+
This scene
1442+
uses the DefaultLeapMotionConfigurationProfile which is a clone of the DefaultMixedRealityConfigurationProfile
1443+
with the addition of the Leap Data Provider under the Input Data Providers
1444+
section.
14431445
14441446
14451447
- Make sure the Leap Motion Orion SDK 4.0.0 is installed
14461448
1447-
- Import the latest version of the Leap Motion Unity Modules
1449+
-
1450+
Import the latest version of the Leap Motion Unity Modules
14481451
1449-
- Navigate to Mixed Reality Toolkit > Utilities > Leap Motion > Connect Leap
1450-
Motion Assets
1452+
- Navigate
1453+
to Mixed Reality Toolkit > Utilities > Leap Motion > Connect Leap Motion
1454+
Assets
14511455
1452-
- Make sure the assets are connected to MRTK by navigating to Mixed Reality
1453-
Toolkit > Utilities > Leap Motion > Check Connection Status
1456+
- Make sure the assets are connected to MRTK by navigating
1457+
to Mixed Reality Toolkit > Utilities > Leap Motion > Check Connection Status
14541458
1455-
- Make sure the Leap Controller is plugged in
1459+
-
1460+
Make sure the Leap Controller is plugged in
14561461
1457-
- Press Play and move your hand in front of the Leap Controller to see the
1458-
joint representation of a tracked hand.
1462+
- Press Play and move
1463+
your hand in front of the Leap Controller to see the joint representation
1464+
of a tracked hand.
14591465
14601466
'
14611467
objectReference: {fileID: 0}
@@ -1907,12 +1913,14 @@ Light:
19071913
m_PrefabAsset: {fileID: 0}
19081914
m_GameObject: {fileID: 1410962402}
19091915
m_Enabled: 1
1910-
serializedVersion: 8
1916+
serializedVersion: 10
19111917
m_Type: 1
1918+
m_Shape: 0
19121919
m_Color: {r: 1, g: 1, b: 1, a: 1}
19131920
m_Intensity: 1
19141921
m_Range: 10
19151922
m_SpotAngle: 30
1923+
m_InnerSpotAngle: 21.80208
19161924
m_CookieSize: 10
19171925
m_Shadows:
19181926
m_Type: 2
@@ -1922,19 +1930,40 @@ Light:
19221930
m_Bias: 0.05
19231931
m_NormalBias: 0.4
19241932
m_NearPlane: 0.2
1933+
m_CullingMatrixOverride:
1934+
e00: 1
1935+
e01: 0
1936+
e02: 0
1937+
e03: 0
1938+
e10: 0
1939+
e11: 1
1940+
e12: 0
1941+
e13: 0
1942+
e20: 0
1943+
e21: 0
1944+
e22: 1
1945+
e23: 0
1946+
e30: 0
1947+
e31: 0
1948+
e32: 0
1949+
e33: 1
1950+
m_UseCullingMatrixOverride: 0
19251951
m_Cookie: {fileID: 0}
19261952
m_DrawHalo: 0
19271953
m_Flare: {fileID: 0}
19281954
m_RenderMode: 0
19291955
m_CullingMask:
19301956
serializedVersion: 2
19311957
m_Bits: 4294967295
1958+
m_RenderingLayerMask: 1
19321959
m_Lightmapping: 4
19331960
m_LightShadowCasterMode: 0
19341961
m_AreaSize: {x: 1, y: 1}
19351962
m_BounceIntensity: 1
19361963
m_ColorTemperature: 6570
19371964
m_UseColorTemperature: 0
1965+
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
1966+
m_UseBoundingSphereOverride: 0
19381967
m_ShadowRadius: 0
19391968
m_ShadowAngle: 0
19401969
--- !u!4 &1410962404

0 commit comments

Comments
 (0)