Skip to content

Commit

Permalink
Updated for librecord3d 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-simonik committed Aug 16, 2022
1 parent 14b2210 commit eadcad6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file modified Assets/Scripts/librecord3d_unity_streaming.dylib
Binary file not shown.
Binary file modified Assets/Scripts/record3d_unity_streaming.dll
Binary file not shown.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unity VFX Graph real-time point cloud streaming via Record3D demo

**2022/08/16 Update**: **To be used with Record3D 1.7.2 and newer.**

**2021/07/28 Update**: Added support for higher-quality LiDAR RGB streaming. Use this Unity demo with Record3D 1.6 or newer.

**2021/03/15 Update**: For playback of pre-recorded videos, visit the [record3d_offline_unity_demo](https://github.com/marek-simonik/record3d_offline_unity_demo)
Expand Down Expand Up @@ -28,14 +30,16 @@ This project contains a modified [Particles VFX](https://github.com/keijiro/Rsvf
This demo depends on the C++ library [`record3d_unity_streaming`](https://github.com/marek-simonik/record3d_unity_streaming) which you will either need to build yourself or download pre-built (available only for Windows and macOS, you will need to build it yourslef if you are running on Linux).

##### Pre-built library for Windows
Only one `dll` file is needed: [`record3d_unity_streaming.dll`](https://github.com/marek-simonik/record3d_unity_streaming/releases/download/v1.3.0/record3d_unity_streaming.dll). Make sure it is in `PATH` — the easiest way is to copy the file into `C:\Windows\System32` and/or into `C:\Windows\SysWOW64`.
Only one `dll` file is needed: [`record3d_unity_streaming.dll`](https://github.com/marek-simonik/record3d_unity_streaming/releases/download/v1.3.1/record3d_unity_streaming.dll). Make sure it is in `PATH` — the easiest way is to copy the file into `C:\Windows\System32` and/or into `C:\Windows\SysWOW64`.

##### Pre-built library for macOS
Similar to Windows, only one `dylib` file is needed: [`librecord3d_unity_streaming.dylib`](https://github.com/marek-simonik/record3d_unity_streaming/releases/download/v1.3.0/librecord3d_unity_streaming.dylib). Just copy it into `/usr/local/lib/`. Alternatively, you can `export` it into `DYLD_LIBRARY_PATH`.
Similar to Windows, only one `dylib` file is needed: [`librecord3d_unity_streaming.dylib`](https://github.com/marek-simonik/record3d_unity_streaming/releases/download/v1.3.1/librecord3d_unity_streaming.dylib). Just copy it into `/usr/local/lib/` (create the folder if it doesn't exist yet). Alternatively, you can `export` it into `DYLD_LIBRARY_PATH`.


### After opening the Unity project

1. The first time you open this project on a new computer, restart Unity and re-open the project (there is a Unity bug due to which you must 1) open this project in Unity, 2) close Unity and 3) re-open the project for it to work correctly). You don't need to do this on subsequent runs.

1. Open the LiveStreaming scene (`Assets/LiveStreaming.unity`).

1. Connect your iPhone or iPad to your computer via USB cable. To make things easier, try having connected only single iOS device (if multiple iOS devices are connected, you can change the index of USB device in the "Device Index" property of the "Record 3D Stream" Script).
Expand Down

0 comments on commit eadcad6

Please sign in to comment.