ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator Virtual reality
person icon
Noobski
Guest
Quote
2024-02-10 21:58:34

Okay, so obviously there’s no real support for vr. But shouldn’t there be some type of way I could implement the oculus mobile sdk with a scripted behavior into my scene upon load. And some type of script I can add to my scammers to transform it into stereoscopic view. And since the sdk was implemented some type of behavior that can connect the motion controls. This is if it’s going to be published as an .apk. Any and all knowledge and information would greatly serve me thank you!

person icon
hadoken
Guest
Quote
2024-02-10 22:15:16

CopperCube's latest split screen camera feature allows for entry level VR with 3D stereoscopic view as discussed in this thread:

https://ambiera.com/forum.php?t=...

person icon
Noobski
Guest
Quote
2024-02-10 22:21:40

Okay thanks I’ll check the thread out. But also I have the behavior already for the splitscreen and know how to add it to the camera that alone doesn’t turn it into be does it? And how would the headset connect and the motion controllers?

person icon
hadoken
Guest
Quote
2024-02-11 00:34:47

For the above mentioned CopperCube VR setup of mine you must use a headset which can process stereoscopic Side-By-Side 3D as all smartphone Google cardboard like headsets are capable of. Motion controller support like Quest, Pico, Valve, etc would need is not supported, meaning wireless gamepads should instead be used for now. For head tracking you could use a wireless air mouse attached to your headset, e.g. something like this one (use some Velcro tape as adhesive tape):

https://www.amazon.com/Wireless-...

To make this work, you may have to keep the left air mouse button permanently active with an extra rubber band.

To achieve horizontal 360 degree head turn freedom you would also need some small helper software like this (cursor comes in at left screen border after leaving screen on the right side and vice versa):

https://unlimited-mouse.de.softo...

My paid CopperCube VR setup template comes with a functional pre-configured 3D SBS double camera scene plus custom movement control behavior as the built-in FPS movement does not work with double camera mechanics from my experiences.

To get the screen output of your CopperCube VR setup projects into an Android smartphone (iPhone not supported) there are some options:

1.) run your game as .exe file directly on your Android device with Winlator app
Pro: wireless standalone, wireless gamepads can be used with
Con: Winlator doesn't really support real mouse input at the moment, so no air mouse support at the moment, but looking around with gamepad joysticks does work nicely
-> maybe the next Winlator update may improve the situation
https://github.com/brunodev85/wi...

2.) run your game as .exe file on your PC and cast/connect the screen output via HDMI to your smartphone, this can be achieved via cable or wireless HDMI transmitter/receiver combo like this:
https://www.amazon.com/Transmitt...

You would also need a HDMI to USB adapter plus an extra USB OTG adapter (depending on your device micro USB or USB C)
https://www.amazon.com/Capture-B...

Furthermore you would need this app for showing the incoming HDMI signal on your smartphone display:
https://play.google.com/store/ap...

Pro: air mouse head tracking should be doable with this
Con: need for some extra adapter & devices

3.) run your game as .exe file on your PC and cast/connect the screen output via Moonlight & sunshine app combo to your smartphone
https://github.com/moonlight-str...
https://github.com/LizardByte/Su...
Pro: no extra adapter & devices
Con: only tested with cable powered USB Tethering connection by me successfully for now, (maybe wireless WiFi connection possible, too?)

4.) If your device has built-in gyroscope sensor you can connec

person icon
hadoken
Guest
Quote
2024-02-11 00:38:22

4.) If your device has built-in gyroscope sensor you can connect your PC where the CC exe is executed with your smartphone by using the TrinusVR Cardboard app combo which supports gyro-head tracking from phone:
https://trinusvr.com/trinus-card...

person icon
hadoken
Guest
Quote
2024-02-11 00:41:21

USB OTG adapter:
https://www.amazon.com/Adapter-T...
https://www.amazon.com/CableCrea...

person icon
Noobski
Guest
Quote
2024-02-11 01:36:35

Okay thank you. Maybe I will check it out idk we’ll see. You did some good work. I’m just going to try to conquer the beast and try to get it to work with the quest 2. That’s what I have and I know it’s a challenge but I love the quest and I’m not good enough to use unreal or unity only thing I’ve ever done was JavaScript. I like this engine I just wish they would have furthered the oculus support after 6.3 and not cut it out completely. At least give us the codes they used and allow us to further it you know..


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |