View mode

hello. I have a simple question and maybe it has been already asked : is there a simple way to hide / show the all UX ? The goal here would be to have a very simple "viewer mode" in passthrough for an XR art expo i'm building with public. I'm actually coding with aframe, doing an exporter, setting up web pages , etc .. and i realize if i had a simple way to hide controllers while in a scene , it would simplify everything !! Aditionaly, i could propose to every visitor to try creating in simple mode if they feel like πŸ™‚ From my first tests, most people want to try and the result is astonishing ! I can build the all app in unity if there's a simple solution in there ( like hide / show the all UX from a button combination ) . any idea is welcome πŸ™
11 Replies
andybak
andybakβ€’7mo ago
Hiya. I'm not at my computer at the moment but, have you searched the docs for "view mode" or similar? It definitely exists.
PP
PPOPβ€’7mo ago
ho great . i just setup the build and start to browse the code πŸ™‚ very interesting indeed .. it's great to go in there in unity πŸ™‚ thank you . i will look for that .
andybak
andybakβ€’7mo ago
Check out the "viewonly.toggle" command in the API. That does most of what you want. You might want to disable painting as well. https://docs.openbrush.app/user-guide/open-brush-api#can-i-run-scripts-automatically-at-startup
andybak
andybakβ€’7mo ago
I just noticed that I added "ForcePaintingOff" to the API in the plugin scripting branch but never added it to the HTTP API in the regular release. I'll see about changing that.
PP
PPOPβ€’7mo ago
Thank you, I will test it indeed. If it does what I think, the best will be to add a key combination with both controllers to show hide the all ux, even the controllers if I can. So people can walk in the space with just the headset( that’s my goal) And thank you for the link πŸ™ you might win a unity openbrush dev at the end πŸ˜‚βœŠπŸ»
andybak
andybakβ€’7mo ago
That would be very nice! You could easily trigger that mode remotely rather than on the device - i.e. from a phone or laptop on the same local network? Simpler than messing with the input config and maybe better for a public exhibition?
PP
PPOPβ€’7mo ago
I was just thinking about that while lunch πŸ˜‚ I just realized while reading the doc openbrush had a web server even on headset 😱πŸ”₯πŸ”₯ So yes, I’m going to try that The exhibition is 4 days in a small village art gallery where I will take 3 quest3 with 3 iPad for the streaming. Room will be physically empty and people will discover the immersive vr sculptureπŸ€— I will post some pictures and video in the right channel if you are interested πŸ˜‹
andybak
andybakβ€’7mo ago
Please do! Ping me if you need any help with the API.
PP
PPOPβ€’7mo ago
sure. thank you very much πŸ™ Well, the viewonly mode works perfectly ! Just need to setup 3 tabs on a local browser and we are done ! thank you . this server thing and remote access opens a lot ( i guesss you guys thought this way of course ) πŸ˜‚ i wonder if i even can hide the controlers , but it's really ok ! i even don't need . I can propose every visitor to take the controlers to test the pleasure of immersive draw . I have near 100% wow effect on everyone i've tried already , so this solution brings a lot .. i can only dream of the coming multiuser version and this is going to be the best social creative immersive tool ! I fogot to say i'm on the 2.7 version , the current beta has a problem with showing transparent brushes in passthrough mode .
andybak
andybakβ€’7mo ago
Cc @mikesky
mikesky
mikeskyβ€’7mo ago
Huh interesting, thanks for the heads up!
Want results from more Discord servers?
Add your server