1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2025-02-17 11:18:37 +01:00

change xr render to multipass

change xr render to multi pass and update touch refresh rate and other small change
This commit is contained in:
xpeng 2022-01-23 01:28:11 +01:00
parent 331c4459bf
commit 86347453f7
8 changed files with 23 additions and 14 deletions

View File

@ -694,8 +694,8 @@ Camera:
width: 1
height: 1
near clip plane: 0.01
far clip plane: 100
field of view: 90
far clip plane: 50
field of view: 80
orthographic: 0
orthographic size: 5
m_Depth: 0
@ -707,7 +707,7 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowMSAA: 0
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
@ -3324,7 +3324,7 @@ MonoBehaviour:
m_OriginBaseGameObject: {fileID: 1647048262}
m_CameraFloorOffsetObject: {fileID: 281366679}
m_RequestedTrackingOriginMode: 2
m_CameraYOffset: 1.8
m_CameraYOffset: 1.7
--- !u!4 &1647048264
Transform:
m_ObjectHideFlags: 0

View File

@ -28,7 +28,10 @@ public class Serial : MonoBehaviour
TouchSetUp();
//SendTouch();
}
void FixedUpdate()
{
SendTouch();
}
private void SerialStartUp()
{
settingPacket[0] = 40;

View File

@ -14,7 +14,7 @@ public class TouchToSerial : MonoBehaviour
// Update is called once per frame
void Update()
{
Serial.SendTouch();
//Serial.SendTouch();
}
public int Area;

View File

@ -181,7 +181,7 @@ MonoBehaviour:
- {fileID: 4348102888642519376}
- {fileID: -7213667705548381564}
- {fileID: -2082883846374214224}
m_renderMode: 1
m_renderMode: 0
m_depthSubmissionMode: 0
--- !u!114 &2816132510496509941
MonoBehaviour:

View File

@ -3,13 +3,14 @@
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 13
m_Gravity: {x: 0, y: -9.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_DefaultMaxDepenetrationVelocity: 10
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverIterations: 3
m_DefaultSolverVelocityIterations: 1
m_QueriesHitBackfaces: 0
m_QueriesHitTriggers: 1
@ -22,6 +23,7 @@ PhysicsManager:
m_AutoSyncTransforms: 0
m_ReuseCollisionCallbacks: 1
m_ClothInterCollisionSettingsToggle: 0
m_ClothGravity: {x: 0, y: -9.81, z: 0}
m_ContactPairsMode: 0
m_BroadphaseType: 0
m_WorldBounds:
@ -31,4 +33,5 @@ PhysicsManager:
m_FrictionType: 0
m_EnableEnhancedDeterminism: 0
m_EnableUnifiedHeightmaps: 1
m_DefaultMaxAngluarSpeed: 7
m_SolverType: 0
m_DefaultMaxAngularSpeed: 7

View File

@ -151,6 +151,9 @@ PlayerSettings:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 1708333901713763777, guid: c32bea96a9d497047888cff51152a827, type: 2}
- {fileID: 0}
- {fileID: -9008817870737138221, guid: dac1673e162f8724aada57cd5b44f68b, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1

View File

@ -85,13 +85,13 @@ QualitySettings:
shadowResolution: 0
shadowProjection: 0
shadowCascades: 1
shadowDistance: 20
shadowDistance: 5
shadowNearPlaneOffset: 3
shadowCascade2Split: 0.33333334
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
shadowmaskMode: 0
skinWeights: 2
textureQuality: 1
skinWeights: 1
textureQuality: 2
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0

View File

@ -3,7 +3,7 @@
--- !u!5 &1
TimeManager:
m_ObjectHideFlags: 0
Fixed Timestep: 0.02
Fixed Timestep: 0.005
Maximum Allowed Timestep: 0.33333334
m_TimeScale: 1
Maximum Particle Timestep: 0.03