marek-simonik / record3d_unity_demo

iPhone X -> Unity VFX Graph demo (real-time Point Cloud streaming)
https://record3d.app
127 stars 19 forks source link

Nothing but blank - need a way to troubleshoot #2

Closed enzyme69 closed 4 years ago

enzyme69 commented 5 years ago

I am not 100% sure the library path is correct or the Unity Project was "modified to latest version" that the streaming is not showing up.

I only get blank. I did turn off exposure settings.

Need a way to trouble shoot:

Maybe a video tutorial showing the whole process?

marek-simonik commented 5 years ago

Video tutorial is definitely coming, in the meanwhile, please look into the Console Window in Unity — do you see any error messages? You don't see the stream even after pressing the Play button?

thesoulharmonic commented 4 years ago

I'm getting the same issue and Unity is crashing. No errors in console.

thesoulharmonic commented 4 years ago

When I try to update to a later version of unity (2019.4.8f1) I get these kind of console errors

Shader error in '[System 1]Update': failed to open source file: 'Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXDefines.hlsl' at kernel CSMain at Record3D_Simple_Streaming.vfx(7) (on d3d11)

thesoulharmonic commented 4 years ago

as this - Assets\Scripts\Record3DStream.cs(8,19): error CS0234: The type or namespace name 'VFX' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

marek-simonik commented 4 years ago

Hi @thesoulharmonic ,

please make sure you build all of the libraries from source, because I have not yet updated links to their compiled versions — this should fix the errors for you.

The latest Unity version that I have tried the plugin on is 2019.2.21f1 — please download this exact version of Unity and try to run the project again.

marek-simonik commented 4 years ago

Just pushed a new commit that optimizes the project for newer versions of Unity. I also updated the links to pre-compiled libraries in the README and updated instructions.

Please clone this repo again and open the updated version of this project in any new version of Unity. I used Unity 2019.4.11 (LTS), but the project does run also in Unity 2020.

thesoulharmonic commented 4 years ago

Thanks Marek, I’ll have some time to work on the project tomorrow so will keep you posted.

Really appreciate your work an help.

Rich

On 26 Sep 2020, at 16:30, Marek Šimoník notifications@github.com wrote:

Just pushed a new commit that optimizes the project for newer versions of Unity. I also updated the links to pre-compiled libraries in the README and updated instructions.

Please clone this repo again and open the updated version of this project in any new version of Unity. I used Unity 2019.4.11 (LTS), but the project does run also in Unity 2020.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marek-simonik/record3d_unity_demo/issues/2#issuecomment-699510347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKPMQNB675Q644I5AFICGLSHYCKXANCNFSM4IY6A7VQ.

thesoulharmonic commented 4 years ago

Hi Marek, I've just tried it with the ipad pro and it's working perfectly thank you!

Rich

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Sep 26, 2020 at 4:31 PM Rich Williams thesoulharmonic@gmail.com wrote:

Thanks Marek, I’ll have some time to work on the project tomorrow so will keep you posted.

Really appreciate your work an help.

Rich

On 26 Sep 2020, at 16:30, Marek Šimoník notifications@github.com wrote:

Just pushed a new commit that optimizes the project for newer versions of Unity. I also updated the links to pre-compiled libraries in the README and updated instructions.

Please clone this repo again and open the updated version of this project in any new version of Unity. I used Unity 2019.4.11 (LTS), but the project does run also in Unity 2020.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marek-simonik/record3d_unity_demo/issues/2#issuecomment-699510347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKPMQNB675Q644I5AFICGLSHYCKXANCNFSM4IY6A7VQ .

-- Best, Rich

marek-simonik commented 4 years ago

Perfect! I'm glad the demo works for you now — I assume it is safe to close this issue now.

thesoulharmonic commented 4 years ago

Just a question. Is there a way to record the data captured into unit ? Like an animated point cloud ?

On Sun, 27 Sep 2020, 15:03 Marek Šimoník, notifications@github.com wrote:

Closed #2 https://github.com/marek-simonik/record3d_unity_demo/issues/2.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marek-simonik/record3d_unity_demo/issues/2#event-3811693538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKPMQLGJQAASD62EFX6XO3SH5A2LANCNFSM4IY6A7VQ .

marek-simonik commented 4 years ago

If you mean capturing the points generated by the VFX Graph into a file, then I do not know — unfortunately, I am not that familiar with VFX Graph.

However, you could replay an existing Record3D video via VFX Graph. You would need to fork and edit this project though. An idea how to do it: you could export a 3D Video into the Shareable/Internal format (.r3d). Since .r3d is just a ZIP file, just rename it from .r3d to .zip and extract it. The archive contains JPEG images and corresponding LZFSE-compressed depth maps (e.g. 640x480 float32 values for a TrueDepth 3D Video). By changing the Unity project to load the RGB and depth frames from disk instead of from the live USB stream, you could replay exported 3D Videos.