diff --git a/ZEDCamera/Assets/SDK/Helpers/Resources/Materials/PointCloud/Mat_ZED_PointCloud.mat b/ZEDCamera/Assets/SDK/Helpers/Resources/Materials/PointCloud/Mat_ZED_PointCloud.mat
index 548fbb97..8560cc9d 100644
--- a/ZEDCamera/Assets/SDK/Helpers/Resources/Materials/PointCloud/Mat_ZED_PointCloud.mat
+++ b/ZEDCamera/Assets/SDK/Helpers/Resources/Materials/PointCloud/Mat_ZED_PointCloud.mat
@@ -9,6 +9,8 @@ Material:
m_PrefabAsset: {fileID: 0}
m_Name: Mat_ZED_PointCloud
m_Shader: {fileID: 4800000, guid: e559735f38c1ab04bb202a47093cfd4f, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords:
- _EMISSION
@@ -18,6 +20,7 @@ Material:
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
+ m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
diff --git a/ZEDCamera/Assets/SDK/Helpers/Scripts/Display/ZEDFusedPointCloudRenderer.cs b/ZEDCamera/Assets/SDK/Helpers/Scripts/Display/ZEDFusedPointCloudRenderer.cs
index d82d16c0..a90267c3 100644
--- a/ZEDCamera/Assets/SDK/Helpers/Scripts/Display/ZEDFusedPointCloudRenderer.cs
+++ b/ZEDCamera/Assets/SDK/Helpers/Scripts/Display/ZEDFusedPointCloudRenderer.cs
@@ -1,5 +1,6 @@
//======= Copyright (c) Stereolabs Corporation, All rights reserved. ===============
+using System.Threading;
using UnityEngine;
///
@@ -82,22 +83,23 @@ void Start()
}
if (zedManager != null)
+ {
zed = zedManager.zedCamera;
- if (_pointMaterial == null)
- {
- _pointMaterial = new Material(Resources.Load("Materials/PointCloud/Mat_ZED_FusedPC_Point") as Material);
- }
+ if (_pointMaterial == null)
+ {
+ _pointMaterial = new Material(Resources.Load("Materials/PointCloud/Mat_ZED_FusedPC_Point") as Material);
+ }
- if (_diskMaterial == null)
- {
- _diskMaterial = new Material(Resources.Load("Materials/PointCloud/Mat_ZED_FusedPC_Disk") as Material);
- }
-
- _diskMaterial.hideFlags = HideFlags.DontSave;
- _pointMaterial.hideFlags = HideFlags.DontSave;
- zedManager.OnGrab += startMap;
+ if (_diskMaterial == null)
+ {
+ _diskMaterial = new Material(Resources.Load("Materials/PointCloud/Mat_ZED_FusedPC_Disk") as Material);
+ }
+ _diskMaterial.hideFlags = HideFlags.DontSave;
+ _pointMaterial.hideFlags = HideFlags.DontSave;
+ zedManager.OnGrab += startMap;
+ }
}
///
@@ -107,9 +109,13 @@ private void startMap()
{
if (zed != null && notStarted)
{
- zed.EnableSpatialMapping(sl.SPATIAL_MAP_TYPE.FUSED_POINT_CLOUD, resolution, range);
- notStarted = false;
- canUpdate = true;
+ sl.ERROR_CODE err = zed.EnableSpatialMapping(sl.SPATIAL_MAP_TYPE.FUSED_POINT_CLOUD, resolution, range);
+
+ if (err == sl.ERROR_CODE.SUCCESS)
+ {
+ notStarted = false;
+ canUpdate = true;
+ }
}
}
@@ -139,7 +145,7 @@ void OnDestroy()
///
void Update()
{
- if (zed.IsCameraReady && canUpdate) //Don't do anything unless the ZED has been initialized.
+ if (zed != null && zed.IsCameraReady && canUpdate) //Don't do anything unless the ZED has been initialized.
{
updateTime += Time.deltaTime;
if (updateTime >= 1)
@@ -148,6 +154,10 @@ void Update()
updateTime = 0;
}
}
+ else
+ {
+ Thread.Sleep(1);
+ }
}
///
diff --git a/ZEDCamera/Assets/SDK/Helpers/Scripts/ZEDManager.cs b/ZEDCamera/Assets/SDK/Helpers/Scripts/ZEDManager.cs
index 2345a28e..6c0121c7 100644
--- a/ZEDCamera/Assets/SDK/Helpers/Scripts/ZEDManager.cs
+++ b/ZEDCamera/Assets/SDK/Helpers/Scripts/ZEDManager.cs
@@ -635,6 +635,8 @@ public enum shaderType
private sl.ObjectDetectionRuntimeParameters objectDetectionRuntimeParameters = new sl.ObjectDetectionRuntimeParameters();
+ public sl.CustomObjectDetectionRuntimeParameters customObjectDetectionRuntimeParameters = new sl.CustomObjectDetectionRuntimeParameters();
+
[HideInInspector]
public List customObjects = new List();
@@ -3236,7 +3238,18 @@ private void RetrieveObjectDetectionFrame()
{
sl.Objects objsbuffer = new sl.Objects();
- sl.ERROR_CODE res = zedCamera.RetrieveObjects(ref objectDetectionRuntimeParameters, ref objsbuffer, objectDetectionInstanceID);
+ sl.ERROR_CODE res = sl.ERROR_CODE.FAILURE;
+
+ if (objectDetectionModel == sl.OBJECT_DETECTION_MODEL.CUSTOM_BOX_OBJECTS)
+ {
+ customObjectDetectionRuntimeParameters.objectClassDetectionProperties = new List();
+ customObjectDetectionRuntimeParameters.objectDetectionProperties = new CustomObjectDetectionProperties();
+ res = zedCamera.RetrieveObjects(ref customObjectDetectionRuntimeParameters, ref objsbuffer, objectDetectionInstanceID);
+ }
+ else
+ {
+ res = zedCamera.RetrieveObjects(ref objectDetectionRuntimeParameters, ref objsbuffer, objectDetectionInstanceID);
+ }
if (res == sl.ERROR_CODE.SUCCESS && objsbuffer.isNew != 0)
{
diff --git a/ZEDCamera/Assets/SDK/NativeInterface/ZEDCamera.cs b/ZEDCamera/Assets/SDK/NativeInterface/ZEDCamera.cs
index 4e60e702..58c41c8e 100644
--- a/ZEDCamera/Assets/SDK/NativeInterface/ZEDCamera.cs
+++ b/ZEDCamera/Assets/SDK/NativeInterface/ZEDCamera.cs
@@ -285,7 +285,7 @@ public int TagInvisibleToZED
///
/// Current Plugin Version.
///
- public static readonly System.Version PluginVersion = new System.Version(4, 1, 0);
+ public static readonly System.Version PluginVersion = new System.Version(4, 2, 0);
/******** DLL members ***********/
[DllImport(nameDll, EntryPoint = "GetRenderEventFunc")]
@@ -735,6 +735,9 @@ private static extern int dllz_enable_tracking(int cameraID, ref Quaternion quat
[DllImport(nameDll, EntryPoint = "sl_retrieve_objects")]
private static extern int dllz_retrieve_objects_data(int cameraID, ref ObjectDetectionRuntimeParameters od_params, ref Objects objs, uint instanceID);
+ [DllImport(nameDll, EntryPoint = "sl_retrieve_custom_objects")]
+ private static extern int dllz_retrieve_custom_objects(int cameraID, ref dll_customObjectDetectionRuntimeParameters od_params, ref Objects objs, uint instanceID);
+
[DllImport(nameDll, EntryPoint = "sl_enable_body_tracking")]
private static extern int dllz_enable_body_tracking(int cameraID, ref BodyTrackingParameters bt_params);
@@ -2436,6 +2439,22 @@ public float GetDepthValue(Vector3 pixel)
return d;
}
+ ///
+ /// Gets the current depth value of a pixel in the UNITS specified when the camera was started with Init().
+ /// The pixel's coordinates of the ZED Image as a Vector2.
+ /// Depth value as a float.
+ ///
+ public float GetDepthValue(Vector2 pixel)
+ {
+ if (!cameraReady)
+ {
+ return -1;
+ }
+
+ float d = dllz_get_depth_value(CameraID, (uint)pixel.x, (uint)pixel.y);
+ return d;
+ }
+
///
/// Gets the current Euclidean distance (sqrt(x²+y²+z²)) of the targeted pixel of the screen to the camera.
/// May result in errors if the ZED image does not fill the whole screen.
@@ -3104,13 +3123,157 @@ public sl.ERROR_CODE IngestCustomBoxObjects(List objects_in
/// Retrieve object detection data
///
/// Object detection runtime parameters
- /// ObjectsFrameSDK that contains all the detection data
+ /// Objects that contains all the detection data
+ /// Id of the object detection instance. Used when multiple instances of the object detection module are enabled at the same time.
///
public sl.ERROR_CODE RetrieveObjects(ref ObjectDetectionRuntimeParameters od_params, ref Objects objFrame, uint instanceID = 0)
{
return (sl.ERROR_CODE)dllz_retrieve_objects_data(CameraID, ref od_params, ref objFrame, instanceID);
}
+ [StructLayout(LayoutKind.Sequential)]
+ public struct dll_customObjectDetectionProperties
+ {
+ ///
+ /// Index of the class represented by this set of properties.
+ ///
+ public int classID;
+
+ ///
+ /// Whether the object object is kept or not.
+ ///
+ [MarshalAs(UnmanagedType.U1)]
+ public bool enabled;
+ ///
+ /// Confidence threshold.
+ /// From 1 to 100, with 1 meaning a low threshold, more uncertain objects and 99 very few but very precise objects.
+ /// If the scene contains a lot of objects, increasing the confidence can slightly speed up the process, since every object instance is tracked.
+ /// Default: 20.f
+ ///
+ public float detectionConfidenceThreshold;
+
+ ///
+ /// Provide hypothesis about the object movements(degrees of freedom or DoF) to improve the object tracking.
+ /// - true: 2 DoF projected alongside the floor plane. Case for object standing on the ground such as person, vehicle, etc.
+ /// The projection implies that the objects cannot be superposed on multiple horizontal levels.
+ /// - false: 6 DoF (full 3D movements are allowed).
+ /// This parameter cannot be changed for a given object tracking id.
+ /// It is advised to set it by labels to avoid issues.
+ ///
+ [MarshalAs(UnmanagedType.U1)]
+ public bool isGrounded;
+
+ ///
+ /// Provide hypothesis about the object staticity to improve the object tracking.
+ /// - true: the object will be assumed to never move nor being moved.
+ /// - false: the object will be assumed to be able to move or being moved.
+ ///
+ [MarshalAs(UnmanagedType.U1)]
+ public bool isStatic;
+
+ ///
+ /// Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time.
+ /// By default, let the tracker decide internally based on the internal sub class of the tracked object.
+ /// Only valid for static object.
+ ///
+ public float trackingTimeout;
+
+ ///
+ /// Maximum tracking distance threshold (in meters) before dropping the tracked object when unseen for this amount of meters.
+ /// By default, do not discard tracked object based on distance.
+ /// Only valid for static object.
+ ///
+ public float trackingMaxDist;
+
+ ///
+ /// Maximum allowed width normalized to the image size.
+ /// Any prediction bigger than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float maxBoxWidthNormalized;
+
+ ///
+ /// Minimum allowed width normalized to the image size.
+ /// Any prediction smaller than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float minBoxWidthNormalized;
+
+ ///
+ /// Maximum allowed height normalized to the image size.
+ /// Any prediction bigger than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float maxBoxHeightNormalized;
+
+ ///
+ /// Minimum allowed Height normalized to the image size.
+ /// Any prediction smaller than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float minBoxHeightNormalized;
+
+ public dll_customObjectDetectionProperties(CustomObjectDetectionProperties customObjectDetectionProperties)
+ {
+ classID = customObjectDetectionProperties.classID;
+ enabled = customObjectDetectionProperties.enabled;
+ detectionConfidenceThreshold = customObjectDetectionProperties.detectionConfidenceThreshold;
+ isGrounded = customObjectDetectionProperties.isGrounded;
+ isStatic = customObjectDetectionProperties.isStatic;
+ trackingTimeout = customObjectDetectionProperties.trackingTimeout;
+ trackingMaxDist = customObjectDetectionProperties.trackingMaxDist;
+ maxBoxWidthNormalized = customObjectDetectionProperties.maxBoxWidthNormalized;
+ minBoxWidthNormalized = customObjectDetectionProperties.minBoxWidthNormalized;
+ maxBoxHeightNormalized = customObjectDetectionProperties.maxBoxHeightNormalized;
+ minBoxHeightNormalized = customObjectDetectionProperties.minBoxHeightNormalized;
+ }
+ };
+
+ ///
+ /// DLL-friendly version of CustomObjectDetectionRuntimeParameters (found in ZEDCommon.cs).
+ ///
+ [StructLayout(LayoutKind.Sequential)]
+ struct dll_customObjectDetectionRuntimeParameters
+ {
+ ///
+ /// Global object detection properties.
+ /// objectDetectionProperties is used as a fallback when CustomObjectDetectionRuntimeParameters.objectClassDetectionProperties is partially set.
+ ///
+ public dll_customObjectDetectionProperties objectDetectionProperties;
+
+ ///
+ /// Per class object detection properties.
+ ///
+ public IntPtr objectClassDetectionProperties;
+
+ ///
+ /// Size of the \ref objectClassDetectionProperties array.
+ ///
+ public uint numberCustomDetectionProperties;
+
+ public dll_customObjectDetectionRuntimeParameters(CustomObjectDetectionRuntimeParameters customObjectDetectionRuntimeParameters)
+ {
+ objectDetectionProperties = new dll_customObjectDetectionProperties(customObjectDetectionRuntimeParameters.objectDetectionProperties);
+ numberCustomDetectionProperties = (uint)customObjectDetectionRuntimeParameters.objectClassDetectionProperties.Count;
+ objectClassDetectionProperties = Marshal.AllocHGlobal(customObjectDetectionRuntimeParameters.objectClassDetectionProperties.Count * Marshal.SizeOf(typeof(dll_customObjectDetectionProperties)));
+ }
+ };
+
+ ///
+ /// Retrieve object detection data from custom object detection
+ ///
+ /// Custim object detection runtime parameters
+ /// Objects that contains all the detection data
+ /// Id of the object detection instance. Used when multiple instances of the object detection module are enabled at the same time.
+ ///
+ public sl.ERROR_CODE RetrieveObjects(ref CustomObjectDetectionRuntimeParameters objectDetectionRuntimeParameters, ref Objects objFrame, uint instanceID = 0)
+ {
+ dll_customObjectDetectionRuntimeParameters dll_CustomObjectDetectionRuntime = new dll_customObjectDetectionRuntimeParameters(objectDetectionRuntimeParameters);
+ var e = (sl.ERROR_CODE)dllz_retrieve_custom_objects(CameraID, ref dll_CustomObjectDetectionRuntime, ref objFrame, instanceID);
+ Marshal.FreeHGlobal(dll_CustomObjectDetectionRuntime.objectClassDetectionProperties);
+ return e;
+ }
+
///
/// Update the batch trajectories and retrieve the number of batches.
///
@@ -3209,6 +3372,7 @@ public void DisableBodyTracking(uint bodyTrackingInstanceID = 1)
///
/// Body Tracking runtime parameters
/// Bodies that contains all the detection data
+ /// Id of the object detection instance. Used when multiple instances of the object detection module are enabled at the same time.
///
public sl.ERROR_CODE RetrieveBodies(ref BodyTrackingRuntimeParameters bt_params, ref Bodies bodies, uint instanceID = 0)
{
diff --git a/ZEDCamera/Assets/SDK/NativeInterface/ZEDCommon.cs b/ZEDCamera/Assets/SDK/NativeInterface/ZEDCommon.cs
index b2d22b27..e1d2c78a 100644
--- a/ZEDCamera/Assets/SDK/NativeInterface/ZEDCommon.cs
+++ b/ZEDCamera/Assets/SDK/NativeInterface/ZEDCommon.cs
@@ -2240,6 +2240,128 @@ public struct ObjectDetectionRuntimeParameters
public int[] objectConfidenceThreshold;
};
+ ///
+ /// Structure containing a set of runtime properties of a certain class ID for the object detection module using a custom model.
+ /// The default constructor sets all parameters to their default settings.
+ /// Parameters can be adjusted by the user.
+ ///
+ public class CustomObjectDetectionProperties
+ {
+ ///
+ /// Index of the class represented by this set of properties.
+ ///
+ public int classID = -1;
+
+ ///
+ /// Whether the object object is kept or not.
+ ///
+ public bool enabled = true;
+ ///
+ /// Confidence threshold.
+ /// From 1 to 100, with 1 meaning a low threshold, more uncertain objects and 99 very few but very precise objects.
+ /// If the scene contains a lot of objects, increasing the confidence can slightly speed up the process, since every object instance is tracked.
+ /// Default: 20.f
+ ///
+ public float detectionConfidenceThreshold = 20.0f;
+
+ ///
+ /// Provide hypothesis about the object movements(degrees of freedom or DoF) to improve the object tracking.
+ /// - true: 2 DoF projected alongside the floor plane. Case for object standing on the ground such as person, vehicle, etc.
+ /// The projection implies that the objects cannot be superposed on multiple horizontal levels.
+ /// - false: 6 DoF (full 3D movements are allowed).
+ /// This parameter cannot be changed for a given object tracking id.
+ /// It is advised to set it by labels to avoid issues.
+ ///
+ public bool isGrounded = true;
+
+ ///
+ /// Provide hypothesis about the object staticity to improve the object tracking.
+ /// - true: the object will be assumed to never move nor being moved.
+ /// - false: the object will be assumed to be able to move or being moved.
+ ///
+ public bool isStatic = false;
+
+ ///
+ /// Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time.
+ /// By default, let the tracker decide internally based on the internal sub class of the tracked object.
+ /// Only valid for static object.
+ ///
+ public float trackingTimeout = -1.0f;
+
+ ///
+ /// Maximum tracking distance threshold (in meters) before dropping the tracked object when unseen for this amount of meters.
+ /// By default, do not discard tracked object based on distance.
+ /// Only valid for static object.
+ ///
+ public float trackingMaxDist = -1.0f;
+
+ ///
+ /// Maximum allowed width normalized to the image size.
+ /// Any prediction bigger than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float maxBoxWidthNormalized = -1.0f;
+
+ ///
+ /// Minimum allowed width normalized to the image size.
+ /// Any prediction smaller than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float minBoxWidthNormalized = -1.0f;
+
+ ///
+ /// Maximum allowed height normalized to the image size.
+ /// Any prediction bigger than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float maxBoxHeightNormalized = -1.0f;
+
+ ///
+ /// Minimum allowed Height normalized to the image size.
+ /// Any prediction smaller than that will be filtered out.
+ /// Default: -1 (no filtering)
+ ///
+ public float minBoxHeightNormalized = -1.0f;
+
+ public CustomObjectDetectionProperties()
+ {
+ this.classID = -1;
+ this.enabled = true;
+ this.detectionConfidenceThreshold = 20.0f;
+ this.isGrounded = true;
+ this.isStatic = true;
+ this.trackingTimeout = -1.0f;
+ this.trackingMaxDist = -1.0f;
+ this.maxBoxHeightNormalized = -1.0f;
+ this.minBoxHeightNormalized = -1.0f;
+ this.maxBoxWidthNormalized = -1.0f;
+ this.minBoxWidthNormalized = -1.0f;
+ }
+ };
+
+ ///
+ /// Structure containing a set of runtime parameters for the object detection module using your own model ran by the SDK.
+ ///
+ public struct CustomObjectDetectionRuntimeParameters
+ {
+ ///
+ /// Global object detection properties.
+ /// objectDetectionProperties is used as a fallback when CustomObjectDetectionRuntimeParameters.objectClassDetectionProperties is partially set.
+ ///
+ public CustomObjectDetectionProperties objectDetectionProperties;
+
+ ///
+ /// Per class object detection properties.
+ ///
+ public List objectClassDetectionProperties;
+
+ public CustomObjectDetectionRuntimeParameters(CustomObjectDetectionProperties customObjectDetectionProperties, List customObjectClassDetectionProperties)
+ {
+ objectDetectionProperties = customObjectDetectionProperties;
+ objectClassDetectionProperties = customObjectClassDetectionProperties;
+ }
+ };
+
///
/// Lists of supported skeleton body model
///
diff --git a/ZEDCamera/Assets/SDK/Plugins/win64/sl_unitywrapper.dll b/ZEDCamera/Assets/SDK/Plugins/win64/sl_unitywrapper.dll
index 336994fe..c5cb79f8 100644
Binary files a/ZEDCamera/Assets/SDK/Plugins/win64/sl_unitywrapper.dll and b/ZEDCamera/Assets/SDK/Plugins/win64/sl_unitywrapper.dll differ
diff --git a/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingMulti.unity b/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingMulti.unity
index 0def6a23..75cd4c21 100644
--- a/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingMulti.unity
+++ b/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingMulti.unity
@@ -341,7 +341,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyFitting
@@ -683,7 +683,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6327103935139800441, guid: ca18a88838151284380d84fc86d327e5, type: 3}
propertyPath: automaticOffset
- value: 0
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 6327103935139800441, guid: ca18a88838151284380d84fc86d327e5, type: 3}
propertyPath: enableSmoothing
@@ -838,7 +838,7 @@ Light:
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_Intensity: 100000
+ m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
@@ -915,116 +915,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Intensity: 100000
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 2
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!114 &1786428179 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
diff --git a/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingSingle.unity b/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingSingle.unity
index 587a3f77..24fc3ec3 100644
--- a/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingSingle.unity
+++ b/ZEDCamera/Assets/Samples~/Body Tracking/Scene/BodyTrackingSingle.unity
@@ -341,7 +341,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyFitting
@@ -877,7 +877,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8956661263300462753, guid: 813842e3e55759b4583a3218c2b1a697, type: 3}
propertyPath: m_Intensity
- value: 2802.5015
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 8956661263300462753, guid: 813842e3e55759b4583a3218c2b1a697, type: 3}
propertyPath: m_UseColorTemperature
@@ -954,138 +954,8 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
- m_AddedComponents:
- - targetCorrespondingSourceObject: {fileID: 8956661263300462752, guid: 813842e3e55759b4583a3218c2b1a697, type: 3}
- insertIndex: -1
- addedObject: {fileID: 8956661263207275768}
+ m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 813842e3e55759b4583a3218c2b1a697, type: 3}
---- !u!1 &8956661263207275767 stripped
-GameObject:
- m_CorrespondingSourceObject: {fileID: 8956661263300462752, guid: 813842e3e55759b4583a3218c2b1a697, type: 3}
- m_PrefabInstance: {fileID: 8956661263207275766}
- m_PrefabAsset: {fileID: 0}
---- !u!114 &8956661263207275768
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 8956661263207275767}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Intensity: 600
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 0
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
diff --git a/ZEDCamera/Assets/Samples~/Dark Room/Scene/Dark Room.unity b/ZEDCamera/Assets/Samples~/Dark Room/Scene/Dark Room.unity
index 068eaf00..545e41e8 100644
--- a/ZEDCamera/Assets/Samples~/Dark Room/Scene/Dark Room.unity
+++ b/ZEDCamera/Assets/Samples~/Dark Room/Scene/Dark Room.unity
@@ -3606,7 +3606,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: lefteyelayer
diff --git a/ZEDCamera/Assets/Samples~/Drone Shooter/Scenes/DroneBattle.unity b/ZEDCamera/Assets/Samples~/Drone Shooter/Scenes/DroneBattle.unity
index 4c84c60c..819f7a4b 100644
--- a/ZEDCamera/Assets/Samples~/Drone Shooter/Scenes/DroneBattle.unity
+++ b/ZEDCamera/Assets/Samples~/Drone Shooter/Scenes/DroneBattle.unity
@@ -38,7 +38,6 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.4366757, g: 0.48427194, b: 0.5645252, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -98,14 +97,13 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
- m_LightingSettings: {fileID: 4890085278179872738, guid: c1f5c3d27813a6345b4dbedb0e67365a,
- type: 2}
+ m_LightingSettings: {fileID: 4890085278179872738, guid: c1f5c3d27813a6345b4dbedb0e67365a, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
- serializedVersion: 2
+ serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
@@ -118,7 +116,7 @@ NavMeshSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
- accuratePlacement: 0
+ buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
@@ -129,6 +127,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
+ serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1386713500692820, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
@@ -195,143 +194,122 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: m_Depth
value: -1
objectReference: {fileID: 0}
- - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: near clip plane
value: 0.3
objectReference: {fileID: 0}
- - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 20426257081025226, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: m_CullingMask.m_Bits
value: 4294964479
objectReference: {fileID: 0}
- - target: {fileID: 20846656237544980, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 20846656237544980, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: near clip plane
value: 0.3
objectReference: {fileID: 0}
- - target: {fileID: 20846656237544980, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 20846656237544980, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: m_CullingMask.m_Bits
value: 4294963711
objectReference: {fileID: 0}
- - target: {fileID: 114025688240506870, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114025688240506870, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: viewSide
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: FPS
- value: 60
+ value: 30
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: cameraID
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: chunkSize
value: 32768
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: depthMode
value: 3
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: inputType
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: showarrig
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 3
+ value: 2
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: enableFillMode
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: setIMUPriorInAR
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: setFloorAsOrigin
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: advancedPanelOpen
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: enableSpatialMemory
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: isMappingFilteringEnable
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: svoOutputCompressionMode
value: 2
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: bagDetectionConfidenceThreshold
value: 20
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: animalDetectionConfidenceThreshold
value: 20
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: vehicleDetectionConfidenceThreshold
value: 20
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: electronicsDetectionConfidenceThreshold
value: 20
objectReference: {fileID: 0}
- - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: fruitVegetableDetectionConfidenceThreshold
value: 20
objectReference: {fileID: 0}
m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects:
+ - targetCorrespondingSourceObject: {fileID: 4138687653623062, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 1124290457}
+ m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
--- !u!4 &741507345 stripped
Transform:
- m_CorrespondingSourceObject: {fileID: 4138687653623062, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ m_CorrespondingSourceObject: {fileID: 4138687653623062, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
m_PrefabInstance: {fileID: 213410664}
m_PrefabAsset: {fileID: 0}
--- !u!1 &822331332 stripped
GameObject:
- m_CorrespondingSourceObject: {fileID: 1222075980241000, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ m_CorrespondingSourceObject: {fileID: 1222075980241000, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
m_PrefabInstance: {fileID: 1663354463}
m_PrefabAsset: {fileID: 0}
--- !u!114 &822331333
@@ -381,6 +359,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
+ serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1222075980241000, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
@@ -419,33 +398,34 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- - target: {fileID: 82186411301053428, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ - target: {fileID: 82186411301053428, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114228649437443144, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ - target: {fileID: 114228649437443144, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114228649437443144, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ - target: {fileID: 114228649437443144, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
propertyPath: zedManager
value:
objectReference: {fileID: 1344833222}
- - target: {fileID: 114575857264643554, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ - target: {fileID: 114575857264643554, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114575857264643554, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ - target: {fileID: 114575857264643554, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
propertyPath: zedManager
value:
objectReference: {fileID: 1344833222}
m_RemovedComponents:
- {fileID: 114575857264643554, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 1222075980241000, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 1698928817}
m_SourcePrefab: {fileID: 100100000, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
--- !u!1 &1124290456
GameObject:
@@ -475,13 +455,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1124290456}
+ serializedVersion: 2
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 741507345}
- m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!82 &1124290458
AudioSource:
@@ -600,9 +580,17 @@ SphereCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1124290456}
m_Material: {fileID: 0}
+ m_IncludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_ExcludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_LayerOverridePriority: 0
m_IsTrigger: 0
+ m_ProvidesContacts: 0
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_Radius: 0.2
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &1124290461
@@ -756,18 +744,17 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1320592374}
+ serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!114 &1344833222 stripped
MonoBehaviour:
- m_CorrespondingSourceObject: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac,
- type: 3}
+ m_CorrespondingSourceObject: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
m_PrefabInstance: {fileID: 213410664}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
@@ -781,6 +768,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
+ serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1222075980241000, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
@@ -819,38 +807,38 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- - target: {fileID: 82186411301053428, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ - target: {fileID: 82186411301053428, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 114191359626448276, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ - target: {fileID: 114191359626448276, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
propertyPath: zedManager
value:
objectReference: {fileID: 1344833222}
- - target: {fileID: 114191359626448276, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ - target: {fileID: 114191359626448276, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
propertyPath: useLegacySteamVRInput
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114506010654110848, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ - target: {fileID: 114506010654110848, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 114506010654110848, guid: 558a4b76067e3e44089fbed55a2687e6,
- type: 3}
+ - target: {fileID: 114506010654110848, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
propertyPath: zedManager
value:
objectReference: {fileID: 1344833222}
m_RemovedComponents:
- {fileID: 114191359626448276, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 1222075980241000, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 822331333}
m_SourcePrefab: {fileID: 100100000, guid: 558a4b76067e3e44089fbed55a2687e6, type: 3}
--- !u!1 &1698928816 stripped
GameObject:
- m_CorrespondingSourceObject: {fileID: 1222075980241000, guid: d0ab09dfdb72e614aadbc6e474b9bc3e,
- type: 3}
+ m_CorrespondingSourceObject: {fileID: 1222075980241000, guid: d0ab09dfdb72e614aadbc6e474b9bc3e, type: 3}
m_PrefabInstance: {fileID: 942191712}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1698928817
@@ -900,6 +888,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
+ serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4723432349376882, guid: 7a5f9c3559310d741bc7b70ccea08ada, type: 3}
@@ -935,4 +924,16 @@ PrefabInstance:
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7a5f9c3559310d741bc7b70ccea08ada, type: 3}
+--- !u!1660057539 &9223372036854775807
+SceneRoots:
+ m_ObjectHideFlags: 0
+ m_Roots:
+ - {fileID: 2026597453}
+ - {fileID: 213410664}
+ - {fileID: 1320592377}
+ - {fileID: 942191712}
+ - {fileID: 1663354463}
diff --git a/ZEDCamera/Assets/Samples~/Movie Screen/Scenes/Movie Screen.unity b/ZEDCamera/Assets/Samples~/Movie Screen/Scenes/Movie Screen.unity
index 60f058a5..f59ddb4e 100644
--- a/ZEDCamera/Assets/Samples~/Movie Screen/Scenes/Movie Screen.unity
+++ b/ZEDCamera/Assets/Samples~/Movie Screen/Scenes/Movie Screen.unity
@@ -709,6 +709,10 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
+ propertyPath: resolution
+ value: 2
+ objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
value: 1
diff --git a/ZEDCamera/Assets/Samples~/Multi Cam/Scene/MultiCam.unity b/ZEDCamera/Assets/Samples~/Multi Cam/Scene/MultiCam.unity
index ce6acabb..ee219176 100644
--- a/ZEDCamera/Assets/Samples~/Multi Cam/Scene/MultiCam.unity
+++ b/ZEDCamera/Assets/Samples~/Multi Cam/Scene/MultiCam.unity
@@ -252,16 +252,20 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: FPS
- value: 15
+ value: 30
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: cameraID
- value: 0
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: inputType
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
+ propertyPath: resolution
+ value: 2
+ objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: leftEyeLayer
value: 23
@@ -412,7 +416,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: FPS
- value: 15
+ value: 30
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: cameraID
@@ -426,6 +430,10 @@ PrefabInstance:
propertyPath: showarrig
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
+ propertyPath: resolution
+ value: 2
+ objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: leftEyeLayer
value: 27
diff --git a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/2D Object Detection.unity b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/2D Object Detection.unity
index 325795f8..e93a2416 100644
--- a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/2D Object Detection.unity
+++ b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/2D Object Detection.unity
@@ -487,7 +487,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
zedManager: {fileID: 1078485266}
canvas: {fileID: 65360501}
- detectionMode: 0
+ detectionMode: 1
startAIModuleAutomatically: 1
boundingBoxPrefab: {fileID: 1187247398682752, guid: a71fe20b5d673e34fb3fef09b4bb6ee3, type: 3}
boxColors:
@@ -647,7 +647,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyFormat
- value: 2
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: greySkybox
@@ -655,7 +655,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyFitting
@@ -711,7 +711,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyTracking2DMask
- value: 0
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: enableSpatialMemory
diff --git a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/3D Object Detection.unity b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/3D Object Detection.unity
index 5bd43f40..7f367b40 100644
--- a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/3D Object Detection.unity
+++ b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/3D Object Detection.unity
@@ -144,7 +144,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4329734432191940, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: m_LocalPosition.y
- value: 0
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 4329734432191940, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: m_LocalPosition.z
@@ -188,7 +188,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: sensingMode
@@ -465,116 +465,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Intensity: 100000
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 2
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!1 &1609167223
GameObject:
m_ObjectHideFlags: 0
diff --git a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/Custom Object Detection.unity b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/Custom Object Detection.unity
index 23bdc259..c6e111ba 100644
--- a/ZEDCamera/Assets/Samples~/Object Detection/Scenes/Custom Object Detection.unity
+++ b/ZEDCamera/Assets/Samples~/Object Detection/Scenes/Custom Object Detection.unity
@@ -180,7 +180,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: sensingMode
@@ -425,116 +425,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Intensity: 100000
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 2
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!1 &1609167223
GameObject:
m_ObjectHideFlags: 0
@@ -582,7 +472,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
zedManager: {fileID: 56380649}
detectionMode: 0
- startAIModuleAutomatically: 0
+ startAIModuleAutomatically: 1
boundingBoxPrefab: {fileID: 1438017172825460, guid: 2d803190bc4738d4daf5932468a5495e, type: 3}
boxColors:
- {r: 0.23137257, g: 0.909804, b: 0.6901961, a: 1}
diff --git a/ZEDCamera/Assets/Samples~/Object Detection/Scripts/ZEDCustomObjDetection.cs b/ZEDCamera/Assets/Samples~/Object Detection/Scripts/ZEDCustomObjDetection.cs
index 07e4fc3c..b1802e7c 100644
--- a/ZEDCamera/Assets/Samples~/Object Detection/Scripts/ZEDCustomObjDetection.cs
+++ b/ZEDCamera/Assets/Samples~/Object Detection/Scripts/ZEDCustomObjDetection.cs
@@ -4,6 +4,7 @@
using System.Collections.Generic;
using UnityEngine;
+using OpenCVForUnity.UnityUtils;
using OpenCVForUnity.CoreModule;
using OpenCVForUnity.DnnModule;
using OpenCVForUnity.ImgprocModule;
@@ -17,6 +18,11 @@
///
public class ZEDCustomObjDetection : MonoBehaviour
{
+ [TooltipAttribute("Custom object runtime parameters.")]
+ public CustomObjectDetectionProperties objectDetectionProperties;
+
+ [TooltipAttribute("Custom object runtime parameters.")]
+ public List objectClassDetectionProperties;
[TooltipAttribute("Path to a binary file of model contains trained weights. It could be a file with extensions .caffemodel (Caffe), .pb (TensorFlow), .t7 or .net (Torch), .weights (Darknet).")]
public string model;
@@ -36,6 +42,8 @@ public class ZEDCustomObjDetection : MonoBehaviour
[TooltipAttribute("Non-maximum suppression threshold.")]
public float nmsThreshold = 0.4f;
+ private sl.CustomObjectDetectionRuntimeParameters customObjectDetectionRuntime = new CustomObjectDetectionRuntimeParameters();
+
private List classNames;
private List outBlobNames;
private List outBlobTypes;
@@ -99,14 +107,16 @@ public void OnValidate()
classNames = classesFilter;
}
else
- classNames = readClassNames(classes);
+ classNames = ReadClassNames(classes);
}
public void Init()
{
+ Utils.setDebugMode(true);
+
if (!string.IsNullOrEmpty(classes))
{
- classNames = readClassNames(classes);
+ classNames = ReadClassNames(classes);
if (classNames == null)
{
Debug.LogError("Classes file is not loaded. Please see \"StreamingAssets/dnn/setup_dnn_module.pdf\". ");
@@ -121,7 +131,7 @@ public void Init()
{
Debug.LogError("Model file is not loaded. Please see \"StreamingAssets/dnn/setup_dnn_module.pdf\". ");
}
- else if (string.IsNullOrEmpty(config))
+ else if (false && string.IsNullOrEmpty(config))
{
Debug.LogError("Config file is not loaded. Please see \"StreamingAssets/dnn/setup_dnn_module.pdf\". ");
}
@@ -130,16 +140,19 @@ public void Init()
net = Dnn.readNet(model, config);
if (net == null) Debug.LogWarning("network is null");
- outBlobNames = getOutputsNames(net);
+ outBlobNames = GetOutputsNames(net);
- outBlobTypes = getOutputsTypes(net);
+ outBlobTypes = GetOutputsTypes(net);
}
}
public void Run(Camera cam, Mat camera_matrix, Mat rgbaMat)
{
if (!zedManager.IsObjectDetectionRunning) return;
-
+
+ customObjectDetectionRuntime.objectDetectionProperties = objectDetectionProperties;
+ customObjectDetectionRuntime.objectClassDetectionProperties = objectClassDetectionProperties;
+
Mat bgrMat = new Mat(rgbaMat.rows(), rgbaMat.cols(), CvType.CV_8UC3);
Imgproc.cvtColor(rgbaMat, bgrMat, Imgproc.COLOR_RGBA2BGR);
@@ -160,7 +173,7 @@ public void Run(Camera cam, Mat camera_matrix, Mat rgbaMat)
//tm.stop();
//Debug.Log("Inference time, ms: " + tm.getTimeMilli());
- postprocess(rgbaMat, outs, net, Dnn.DNN_BACKEND_OPENCV);
+ Postprocess(rgbaMat, outs, net, Dnn.DNN_BACKEND_OPENCV);
for (int i = 0; i < outs.Count; i++)
{
@@ -176,7 +189,7 @@ public void Run(Camera cam, Mat camera_matrix, Mat rgbaMat)
/// Outs.
/// Net.
/// Backend.
- protected virtual void postprocess(Mat frame, List outs, Net net, int backend = Dnn.DNN_BACKEND_OPENCV)
+ protected virtual void Postprocess(Mat frame, List outs, Net net, int backend = Dnn.DNN_BACKEND_OPENCV)
{
MatOfInt outLayers = net.getUnconnectedOutLayers();
string outLayerType = outBlobTypes[0];
@@ -272,11 +285,12 @@ protected virtual void postprocess(Mat frame, List outs, Net net, int backe
}
- ingestCustomData(boxesList, confidencesList, classIdsList);
+ IngestCustomData(boxesList, confidencesList, classIdsList);
}
- private void ingestCustomData(List boxesList, List confidencesList, List classIdsList)
+ private void IngestCustomData(List boxesList, List confidencesList, List classIdsList)
{
+ Debug.Log("Box list count: " + boxesList.Count);
List objects_in = new List();
for (int idx = 0; idx < boxesList.Count; ++idx)
{
@@ -303,7 +317,7 @@ private void ingestCustomData(List boxesList, List confidencesLis
}
zedManager.customObjects.Clear();
zedManager.customObjects.AddRange(objects_in);
-
+ zedManager.customObjectDetectionRuntimeParameters = customObjectDetectionRuntime;
/* if (OnIngestCustomOD != null)
OnIngestCustomOD();*/
}
@@ -313,7 +327,7 @@ private void ingestCustomData(List boxesList, List confidencesLis
///
/// The class names.
/// Filename.
- private List readClassNames(string filename)
+ private List ReadClassNames(string filename)
{
List classNames = new List();
@@ -347,7 +361,7 @@ private List readClassNames(string filename)
///
/// The outputs names.
/// Net.
- protected List getOutputsNames(Net net)
+ protected List GetOutputsNames(Net net)
{
List names = new List();
@@ -366,7 +380,7 @@ protected List getOutputsNames(Net net)
///
/// The outputs types.
/// Net.
- protected virtual List getOutputsTypes(Net net)
+ protected virtual List GetOutputsTypes(Net net)
{
List types = new List();
diff --git a/ZEDCamera/Assets/Samples~/Object Placement/Scene/ObjectPlacement.unity b/ZEDCamera/Assets/Samples~/Object Placement/Scene/ObjectPlacement.unity
index 70cc8530..363d2359 100644
--- a/ZEDCamera/Assets/Samples~/Object Placement/Scene/ObjectPlacement.unity
+++ b/ZEDCamera/Assets/Samples~/Object Placement/Scene/ObjectPlacement.unity
@@ -176,7 +176,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
diff --git a/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/ArUco Drone Wars.unity b/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/ArUco Drone Wars.unity
index 55cd97cb..cd3653c6 100644
--- a/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/ArUco Drone Wars.unity
+++ b/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/ArUco Drone Wars.unity
@@ -532,6 +532,10 @@ PrefabInstance:
propertyPath: depthMode
value: 3
objectReference: {fileID: 0}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
+ propertyPath: resolution
+ value: 2
+ objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
value: 1
diff --git a/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/Simple Marker Placement.unity b/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/Simple Marker Placement.unity
index 067c8d32..ddba4cd4 100644
--- a/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/Simple Marker Placement.unity
+++ b/ZEDCamera/Assets/Samples~/OpenCV ArUco Detection/Scenes/Simple Marker Placement.unity
@@ -846,6 +846,10 @@ PrefabInstance:
propertyPath: showarrig
value: 1
objectReference: {fileID: 0}
+ - target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
+ propertyPath: resolution
+ value: 2
+ objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
value: 1
diff --git a/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/Simple Plane Detection.unity b/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/Simple Plane Detection.unity
index 1aaca0b3..95391a3f 100644
--- a/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/Simple Plane Detection.unity
+++ b/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/Simple Plane Detection.unity
@@ -184,7 +184,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
diff --git a/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/VR Only Plane Detection.unity b/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/VR Only Plane Detection.unity
index 9fe68dde..7a4fe247 100644
--- a/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/VR Only Plane Detection.unity
+++ b/ZEDCamera/Assets/Samples~/Plane Detection/Scenes/VR Only Plane Detection.unity
@@ -689,7 +689,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: FPS
- value: 60
+ value: 30
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: cameraID
@@ -705,7 +705,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 3
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: lefteyelayer
diff --git a/ZEDCamera/Assets/Samples~/Planetarium/Scene/Planetarium.unity b/ZEDCamera/Assets/Samples~/Planetarium/Scene/Planetarium.unity
index 815de31f..0bfc2e17 100644
--- a/ZEDCamera/Assets/Samples~/Planetarium/Scene/Planetarium.unity
+++ b/ZEDCamera/Assets/Samples~/Planetarium/Scene/Planetarium.unity
@@ -873,7 +873,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: FPS
- value: 60
+ value: 30
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: depthMode
@@ -893,7 +893,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 3
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType
diff --git a/ZEDCamera/Assets/Samples~/Point Cloud/PointCloud.unity b/ZEDCamera/Assets/Samples~/Point Cloud/PointCloud.unity
index 028becad..06ac7417 100644
--- a/ZEDCamera/Assets/Samples~/Point Cloud/PointCloud.unity
+++ b/ZEDCamera/Assets/Samples~/Point Cloud/PointCloud.unity
@@ -229,116 +229,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Intensity: 100000
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 2
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!1001 &1078485264
PrefabInstance:
m_ObjectHideFlags: 0
@@ -413,7 +303,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: bodyFitting
@@ -694,6 +584,7 @@ GameObject:
m_Component:
- component: {fileID: 1570882334}
- component: {fileID: 1570882333}
+ - component: {fileID: 1570882335}
m_Layer: 0
m_Name: PointCloudManager
m_TagString: Untagged
@@ -708,7 +599,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1570882332}
- m_Enabled: 1
+ m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3cfa258225c336041996fa4a1792d6e3, type: 3}
m_Name:
@@ -733,6 +624,22 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1570882335
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1570882332}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2210f9bccb917b54dbc1083ddda6bd96, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ zedManager: {fileID: 0}
+ _pointSize: 0.01
+ resolution: 0.01
+ range: 10
--- !u!850595691 &1696181874
LightingSettings:
m_ObjectHideFlags: 0
diff --git a/ZEDCamera/Assets/Samples~/Simple MR/Scenes/SimpleMR.unity b/ZEDCamera/Assets/Samples~/Simple MR/Scenes/SimpleMR.unity
index 6bcb5788..c7ea0f5f 100644
--- a/ZEDCamera/Assets/Samples~/Simple MR/Scenes/SimpleMR.unity
+++ b/ZEDCamera/Assets/Samples~/Simple MR/Scenes/SimpleMR.unity
@@ -1108,7 +1108,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
propertyPath: sensingMode
@@ -1275,7 +1275,6 @@ GameObject:
- component: {fileID: 1928171913}
- component: {fileID: 1928171912}
- component: {fileID: 1928171914}
- - component: {fileID: 1928171915}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
@@ -1295,7 +1294,7 @@ Light:
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_Intensity: 100000
+ m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
@@ -1374,128 +1373,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
cachedLight: {fileID: 0}
interiorCone: 0.1
---- !u!114 &1928171915
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1928171911}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_Intensity: 100000
- m_EnableSpotReflector: 1
- m_LuxAtDistance: 1
- m_InnerSpotPercent: 0
- m_SpotIESCutoffPercent: 100
- m_LightDimmer: 1
- m_VolumetricDimmer: 1
- m_LightUnit: 2
- m_FadeDistance: 10000
- m_VolumetricFadeDistance: 10000
- m_AffectDiffuse: 1
- m_AffectSpecular: 1
- m_NonLightmappedOnly: 0
- m_ShapeWidth: 0.5
- m_ShapeHeight: 0.5
- m_AspectRatio: 1
- m_ShapeRadius: 0.025
- m_SoftnessScale: 1
- m_UseCustomSpotLightShadowCone: 0
- m_CustomSpotLightShadowCone: 30
- m_MaxSmoothness: 0.99
- m_ApplyRangeAttenuation: 1
- m_DisplayAreaLightEmissiveMesh: 0
- m_AreaLightCookie: {fileID: 0}
- m_IESPoint: {fileID: 0}
- m_IESSpot: {fileID: 0}
- m_IncludeForRayTracing: 1
- m_AreaLightShadowCone: 120
- m_UseScreenSpaceShadows: 0
- m_InteractsWithSky: 1
- m_AngularDiameter: 0.5
- m_FlareSize: 2
- m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
- m_FlareFalloff: 4
- m_SurfaceTexture: {fileID: 0}
- m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
- m_Distance: 1.5e+11
- m_UseRayTracedShadows: 0
- m_NumRayTracingSamples: 4
- m_FilterTracedShadow: 1
- m_FilterSizeTraced: 16
- m_SunLightConeAngle: 0.5
- m_LightShadowRadius: 0.5
- m_SemiTransparentShadow: 0
- m_ColorShadow: 1
- m_DistanceBasedFiltering: 0
- m_EvsmExponent: 15
- m_EvsmLightLeakBias: 0
- m_EvsmVarianceBias: 0.00001
- m_EvsmBlurPasses: 0
- m_LightlayersMask: 1
- m_LinkShadowLayers: 1
- m_ShadowNearPlane: 0.1
- m_BlockerSampleCount: 24
- m_FilterSampleCount: 16
- m_MinFilterSize: 0.1
- m_KernelSize: 5
- m_LightAngle: 1
- m_MaxDepthBias: 0.001
- m_ShadowResolution:
- m_Override: 512
- m_UseOverride: 1
- m_Level: 0
- m_ShadowDimmer: 1
- m_VolumetricShadowDimmer: 1
- m_ShadowFadeDistance: 10000
- m_UseContactShadow:
- m_Override: 0
- m_UseOverride: 1
- m_Level: 0
- m_RayTracedContactShadow: 0
- m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
- m_PenumbraTint: 0
- m_NormalBias: 0.75
- m_SlopeBias: 0.5
- m_ShadowUpdateMode: 0
- m_AlwaysDrawDynamicShadows: 0
- m_UpdateShadowOnLightMovement: 0
- m_CachedShadowTranslationThreshold: 0.01
- m_CachedShadowAngularThreshold: 0.5
- m_BarnDoorAngle: 90
- m_BarnDoorLength: 0.05
- m_preserveCachedShadow: 0
- m_OnDemandShadowRenderOnPlacement: 1
- m_ShadowCascadeRatios:
- - 0.05
- - 0.2
- - 0.3
- m_ShadowCascadeBorders:
- - 0.2
- - 0.2
- - 0.2
- - 0.2
- m_ShadowAlgorithm: 0
- m_ShadowVariant: 0
- m_ShadowPrecision: 0
- useOldInspector: 0
- useVolumetric: 1
- featuresFoldout: 1
- m_AreaLightEmissiveMeshShadowCastingMode: 0
- m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
- m_AreaLightEmissiveMeshLayer: -1
- m_Version: 11
- m_ObsoleteShadowResolutionTier: 1
- m_ObsoleteUseShadowQualitySettings: 0
- m_ObsoleteCustomShadowResolution: 512
- m_ObsoleteContactShadows: 0
- m_PointlightHDType: 0
- m_SpotLightShape: 0
- m_AreaLightShape: 0
--- !u!1 &2139830470
GameObject:
m_ObjectHideFlags: 0
diff --git a/ZEDCamera/Assets/Samples~/Spatial Mapping/Scenes/SpatialMapping.unity b/ZEDCamera/Assets/Samples~/Spatial Mapping/Scenes/SpatialMapping.unity
index 22b3af7b..ed42ba7e 100644
--- a/ZEDCamera/Assets/Samples~/Spatial Mapping/Scenes/SpatialMapping.unity
+++ b/ZEDCamera/Assets/Samples~/Spatial Mapping/Scenes/SpatialMapping.unity
@@ -471,7 +471,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: resolution
- value: 1
+ value: 2
objectReference: {fileID: 0}
- target: {fileID: 114711245158774928, guid: e13ee7e0790c7d243b7aa67fe604acac, type: 3}
propertyPath: srpShaderType