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
Hiya. I'm not at my computer at the moment but, have you searched the docs for "view mode" or similar? It definitely exists.
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 .
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
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.
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 πβπ»
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?
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 π
Please do!
Ping me if you need any help with the API.
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 .
Cc @mikesky
Huh interesting, thanks for the heads up!