Skip to content

Commit 7bba5fa

Browse files
committed
[MacOS] Support for basic streams and point cloud vfx. Small fix. More docs
1 parent 91ee408 commit 7bba5fa

34 files changed

+598
-113
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
/[Ll]ogs/
1111
/[Mm]emoryCaptures/
1212

13+
# temporary
14+
/[Xx]code/
15+
1316
# Asset meta data should only be ignored when the corresponding asset is also ignored
1417
!/[Aa]ssets/**/*.meta
1518

Diff for: OAKForUnity/README.md

+19-15
Original file line numberDiff line numberDiff line change
@@ -15,53 +15,57 @@
1515
 
1616

1717
---
18+
1819
This repository provides `OAK For Unity` Unity project. The project contains prebuilt depthai-unity library
1920

2021
## Getting started
2122

22-
**[URP project](docs/Unity.md)**
23+
**[URP project (Click here for more detail)](docs/Unity.md)**
2324

24-
<img src="https://img.shields.io/badge/unity-2021.2.7f1-green.svg?style=flat-square" alt="unity 2021.2.7f1">
25-
&nbsp;
26-
<img src="https://img.shields.io/badge/unity-URP-green.svg?style=flat-square" alt="unity URP">
27-
&nbsp;
25+
`OAK For Unity` plugin is render pipeline independent. In order to make the getting started even more easy, we provide Unity project with everything setup and ready.
26+
27+
- Check in `more detail` about Main Menu, Device Manager and all the demos.
2828

29-
`OAK For Unity` plugin is render pipeline independent. In order to make the getting started even more easy, we provide Unity project with everything setup and ready. Point Cloud visualization using Visual Effect Graph only works on URP/HDRP.
29+
- Point Cloud visualization using Visual Effect Graph only works on URP/HDRP.
3030

31-
**[Quick Installation Instructions]()**
31+
**[Quick Installation Instructions - Coming soon]()**
3232

33-
Import OAK For Unity package to your project. Walkthrough Main Menu, Device Manager and basic streams.
33+
Import OAK For Unity package to your project.
3434

35-
## Tutorials
35+
## Tutorials - Coming soon
3636

3737
**[OAK For Unity Tutorial]()**
3838

3939
Explore demos included with the plugin. Pretrained models like face detector, head pose, face emotion, deeplabv3, body pose, hand tracking, object detector and much more ...
4040

4141
## Documentation
42+
4243
In-depth documentation on individual components of the package
4344

4445
## Community and Support
46+
4547
If you run into any other problems with the OAK For Unity or have a specific feature request, please submit a **[GitHub issue](https://github.com/luxonis/depthai-unity/issues)**.
4648

4749
## Compatibility
4850

49-
|Platform|Unity|Render Pipeline|
50-
|---|---|---|
51-
|Win10|2021.2.7f1|ALL|
52-
|MacOS|Coming Soon|ALL|
53-
|Linux Ubuntu|Coming Soon|ALL
51+
| Platform | Unity | Render Pipeline |
52+
| ------------ | ----------- | --------------- |
53+
| Win10 | 2021.2.7f1 | ALL |
54+
| MacOS | 2021.2.7f1 | ALL |
55+
| Linux Ubuntu | Coming Soon | ALL |
5456

5557
## Known issues
5658

5759
## Related links
60+
5861
- [Discord](https://discord.gg/4hGT3AFPMZ)
5962
- [Unity forum](https://forum.unity.com/threads/oak-for-unity-spatial-ai-meets-the-power-of-unity.1205764/)
6063
- [Youtube playlist](https://youtu.be/CSFOZLBV2RA?list=PLFzqMMJPSNSbsHp7QeJpOHrZu_1BAdDms)
6164

6265
## Acknowledgements
66+
6367
Point cloud visualization using Visual Effect Graph is based on the work of Keijiro Takahashi https://github.com/keijiro/DepthAITestbed
6468

6569
## License
66-
OAK For Unity is licensed under MIT License. See [LICENSE](../LICENSE.md) for the full license text.
6770

71+
OAK For Unity is licensed under MIT License. See [LICENSE](../LICENSE.md) for the full license text.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/Example Scenes/Streams/PointCloudVFX/MatrixVFX.unity

+5-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.12731749, g: 0.13414757, b: 0.1210787, a: 1}
41+
m_IndirectSpecularColor: {r: 0.12731713, g: 0.13414736, b: 0.121078536, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -1099,7 +1099,10 @@ VisualEffect:
10991099
m_Uint:
11001100
m_Array: []
11011101
m_Int:
1102-
m_Array: []
1102+
m_Array:
1103+
- m_Value: 1
1104+
m_Name: Mirror Camera
1105+
m_Overridden: 1
11031106
m_Matrix4x4f:
11041107
m_Array: []
11051108
m_AnimationCurve:

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/Example Scenes/Streams/PointCloudVFX/PointsM.vfx

+4-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ MonoBehaviour:
152152
m_Enabled: 1
153153
m_EditorHideFlags: 0
154154
m_Script: {fileID: 11500000, guid: 7d4c867f6b72b714dbb5fd1780afe208, type: 3}
155-
m_Name: Points
155+
m_Name: PointsM
156156
m_EditorClassIdentifier:
157157
m_UIIgnoredErrors: []
158158
m_Parent: {fileID: 0}
@@ -300,7 +300,7 @@ VisualEffectResource:
300300
m_CorrespondingSourceObject: {fileID: 0}
301301
m_PrefabInstance: {fileID: 0}
302302
m_PrefabAsset: {fileID: 0}
303-
m_Name: Points
303+
m_Name: PointsM
304304
m_Graph: {fileID: 114350483966674976}
305305
m_Infos:
306306
m_RendererSettings:
@@ -3658,7 +3658,8 @@ MonoBehaviour:
36583658
m_OutputSlots:
36593659
- {fileID: 8926484042661614977}
36603660
- {fileID: 8926484042661614968}
3661-
m_Subgraph: {fileID: 5371698745253816930, guid: f5cafd2ae216b4052be8bc7176b44489, type: 3}
3661+
m_Subgraph: {fileID: 5371698745253816930, guid: f5cafd2ae216b4052be8bc7176b44489,
3662+
type: 3}
36623663
--- !u!114 &8926484042661614951
36633664
MonoBehaviour:
36643665
m_ObjectHideFlags: 0

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/Example Scenes/Streams/Streams.unity

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
41+
m_IndirectSpecularColor: {r: 0.18028352, g: 0.22571376, b: 0.30692244, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -456,6 +456,16 @@ PrefabInstance:
456456
propertyPath: m_LocalEulerAnglesHint.z
457457
value: 0
458458
objectReference: {fileID: 0}
459+
- target: {fileID: 2947686793708491824, guid: b5a2b239e0a8e5f4a8dedff8270ef5aa,
460+
type: 3}
461+
propertyPath: deviceId
462+
value: NONE
463+
objectReference: {fileID: 0}
464+
- target: {fileID: 2947686793708491824, guid: b5a2b239e0a8e5f4a8dedff8270ef5aa,
465+
type: 3}
466+
propertyPath: deviceNum
467+
value: 2
468+
objectReference: {fileID: 0}
459469
- target: {fileID: 2947686793708491824, guid: b5a2b239e0a8e5f4a8dedff8270ef5aa,
460470
type: 3}
461471
propertyPath: pathToRecord

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle.meta

+64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Frameworks.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Frameworks/libdepthai-core.dylib.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Frameworks/libdepthai-opencv.dylib.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Frameworks/libopencv_core.4.5.4.dylib.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Frameworks/libopencv_imgproc.4.5.4.dylib.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildMachineOSBuild</key>
6+
<string>20G165</string>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleExecutable</key>
10+
<string>depthai-unity</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>luxonis.depthai-unity</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>depthai-unity</string>
17+
<key>CFBundlePackageType</key>
18+
<string>BNDL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleSupportedPlatforms</key>
22+
<array>
23+
<string>MacOSX</string>
24+
</array>
25+
<key>CFBundleVersion</key>
26+
<string>1</string>
27+
<key>DTCompiler</key>
28+
<string>com.apple.compilers.llvm.clang.1_0</string>
29+
<key>DTPlatformBuild</key>
30+
<string>13C100</string>
31+
<key>DTPlatformName</key>
32+
<string>macosx</string>
33+
<key>DTPlatformVersion</key>
34+
<string>12.1</string>
35+
<key>DTSDKBuild</key>
36+
<string>21C46</string>
37+
<key>DTSDKName</key>
38+
<string>macosx12.1</string>
39+
<key>DTXcode</key>
40+
<string>1321</string>
41+
<key>DTXcodeBuild</key>
42+
<string>13C100</string>
43+
<key>LSMinimumSystemVersion</key>
44+
<string>11.6</string>
45+
<key>NSHumanReadableCopyright</key>
46+
<string></string>
47+
</dict>
48+
</plist>

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/Info.plist.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/MacOS.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/MacOS/depthai-unity.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: OAKForUnity/URP/Assets/Plugins/OAKForUnity/NativePlugin/MacOS/depthai-unity.bundle/Contents/_CodeSignature.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)