SFraissTU / BA_PointCloud

PointCloud-BachelorThesis
BSD 2-Clause "Simplified" License
185 stars 42 forks source link

File Path Problem on Oculus Quest #32

Open Yuto126 opened 3 years ago

Yuto126 commented 3 years ago

Hi,

I'm sorry for asking again. Is it possible to change the cloud to load from a resource file or from the file path of the android device?

I'm trying to run this project on Oculus Quest right now. However, I cannot load the cloud due to a file path issue. If anyone has solved this, please let me know how.

Thank you.

Yuto126 commented 3 years ago

I have made progress on this issue. Specifically, I found that I can use the resources folder, but I cannot load binary files from the resources folder.

SFraissTU commented 3 years ago

Hi. I'm not sure if I can help you, I've never used Oculus Quest. What is your error message when you try to load binary files?

Yuto126 commented 3 years ago

Hi,

I end up trying to do it using StreamingAssets. Since Oculus Quest is Android based, StreamingAssets are compressed when the app is built. So it seems I have to use UnityWebRequest to get the contents of the file.

There are no errors in execution, but the file contents are not available and the objects are not drawn.

I have a Vive and Oculus RiftS on my team, so I may be able to try the method you used for the VIve. If you don't mind, could you share the details of how you ran it in VR?

Thanks for your kindness.

SFraissTU commented 3 years ago

Sorry, I don't have any experience with this topic. I managed to run it on Vive, but that has been a while ago, so I don't remember the specific settings. As much as I remember, I didn't need to change much, except for the camera settings.

Camille-FM commented 3 years ago

Hi @Yuto126 did you have any success with this? I'm wrangling Android permissions issues to get this working, no luck yet!