1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2025-02-17 11:18:37 +01:00
This commit is contained in:
xpeng 2022-02-01 18:26:02 +01:00
parent bed585bd2f
commit 539bfdc6cd
7 changed files with 41 additions and 24 deletions

Binary file not shown.

View File

@ -78,7 +78,7 @@ Material:
- _UVSec: 0
- _ZWrite: 0
m_Colors:
- _Color: {r: 1, g: 0.7179802, b: 0.6627451, a: 0.78431374}
- _Color: {r: 1, g: 0.6, b: 0.6, a: 0.5019608}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []

View File

@ -78,7 +78,7 @@ Material:
- _UVSec: 0
- _ZWrite: 0
m_Colors:
- _Color: {r: 0.6627451, g: 0.8488516, b: 1, a: 0.78431374}
- _Color: {r: 0.6, g: 0.75433064, b: 1, a: 0.5019608}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []

View File

@ -504,7 +504,7 @@ Camera:
height: 1
near clip plane: 0.01
far clip plane: 30
field of view: 90
field of view: 85
orthographic: 0
orthographic size: 5
m_Depth: 1
@ -1272,11 +1272,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 795547410136657018, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
propertyPath: m_LocalPosition.x
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 795547410136657018, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
propertyPath: m_LocalPosition.y
value: 1.402
value: 1.403
objectReference: {fileID: 0}
- target: {fileID: 795547410136657018, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
propertyPath: m_LocalPosition.z
@ -2831,8 +2831,8 @@ MeshRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 995594085}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 0
m_CastShadows: 0
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
@ -3023,8 +3023,8 @@ MeshRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1213452594}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 0
m_CastShadows: 0
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1

View File

@ -2,10 +2,15 @@
# Latest
## v0.4.1
Fix Settings to load on start
## v0.5
Add local motion
Add none-VR camera FOV configuration
Add Serial2 (2p touch)
Some small framework update/fix
Update default config
# Old version
@ -50,3 +55,8 @@ Add select button #4
Update smooth camera display method
Update framework color
## v0.4.1
Fix Settings to load on start
Update default config

View File

@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 0.4.1
bundleVersion: 0.5
preloadedAssets:
- {fileID: 0}
- {fileID: 0}
@ -155,6 +155,10 @@ PlayerSettings:
- {fileID: 0}
- {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

@ -1,8 +1,8 @@
# MaiDXR
Open Source VR Arcade Simulator
# About this project
- This project is a update of https://github.com/xiaopeng12138/MaiMai-VR.
## About this project
- This project is an update of https://github.com/xiaopeng12138/MaiMai-VR.
## Inspired by
- https://github.com/derole1/MaiMai-VR
@ -13,7 +13,7 @@ Open Source VR Arcade Simulator
- https://github.com/hecomi/uWindowCapture
- https://github.com/Sucareto/Mai2Touch
## Supported plattform
## Supported platform
- All SteamVR device
- All Oculus device
- Only tested on Quest 2 through Oculus link (Native and via SteamVR). The Hand Balls position is by default adjusted for the Quest 2 controller.
@ -29,14 +29,16 @@ Please see Changes.md
## How to use
- Download [latest version of MaiDXR](https://github.com/xiaopeng12138/MaiDXR/releases)
- Download and install [com0com](https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/powersdr-iq/setup_com0com_W7_x64_signed.exe)
- Configure com0com to bind COM3 and COM5 (it must be these two ports)
- Disable DummyTouchPanel
- Run game in window mode and make sure there is no black bar
- Start MaiDXR
- Configure com0com to bind COM3 and COM5 (it must be these two ports), COM4 and COM6 is optional (bind them will make your startup process faster).
- Disable somehow DummyTouchPanel.
- Run the game in window mode and make sure there is no black bar.
- Start MaiDXR.
- Enable somehow Test mod then exit Test mode.
## Configuration
Edit Settings.json file under the root directory. Press F5 in unity window or defocus then focus window again to update settings.
In MaiDXR window press "M" on the keyboard to toggle local motion on-off.
Edit Settings.json file under the root directory. Press F5 in the MaiDXR window or defocus then focus window again to update settings.
HandSize, HandPosition, PlayerHigh: in CM
@ -44,6 +46,8 @@ CaptureFrameRate, TouchRefreshRate: in FPS
CameraSmooth: 0.0 - 1.0, 1.0 = no smoothing
CameraFOV: in degree
HapticDuration: in second
HapticAmplitude: 0.0 - 1.0, 1.0 = max vibration
@ -51,11 +55,10 @@ HapticAmplitude: 0.0 - 1.0, 1.0 = max vibration
## Preview
![Image Capture](https://github.com/xiaopeng12138/MaiDXR/blob/main/PreviewImage/MaiDXR_PreviewImage.png?raw=true)
# ToDo
## ToDo
- √ Add user-adjustable settings (controller position etc.)
- √ Add non-VR window and camera smooth
- Add button light
- √ Add button vibration
Huge thanks to HelloKS and derole1
Huge thanks to HelloKS and derole1