DerKarlos / OSMeta

OSM "Metaverse"
Other
15 stars 2 forks source link

VR #6

Open oli-obk opened 1 year ago

oli-obk commented 1 year ago

we can use https://github.com/awtterpip/bevy_openxr, which should work on bevy 0.12 just fine

DerKarlos commented 1 year ago

pancake ? 2D map, "slippy map" ? Or non-VR 3D view on screens?

oli-obk commented 1 year ago

yea "pancake" is a term from some VR game communities. Means regular 3D view with mouse and keyboard or gamepad controllers

DerKarlos commented 12 months ago

Can't build because the texture are not (not(target_os="macOS") '#' is my friend ;-)

[target.'cfg(not(target_os="macos"))'.dependencies] bevy_oxr = { git = "https://github.com/awtterpip/bevy_openxr", optional = true }

[features]

xr = ["dep:bevy_oxr"]

default = ["xr"]

oli-obk commented 12 months ago

On Mac you need to build with cargo run --no-default-features

oli-obk commented 12 months ago

I haven't figured out yet how to disable the feature automatically on mac

DerKarlos commented 12 months ago

How to tell that to the rust-analyser ?

oli-obk commented 12 months ago
"rust-analyzer.cargo.noDefaultFeatures": true
oli-obk commented 12 months ago

oh... but then we can't commit that... I'll give it another go to make it automatic

oli-obk commented 12 months ago

https://github.com/DerKarlos/OSMeta/pull/14 should have fixed the issue for you

DerKarlos commented 11 months ago

This is "VR" native only, right? Or also Android?

More to do: Web, Apple - iOS/ipadPS, visualOS

oli-obk commented 11 months ago

android is entirely broken right now, even without VR. I'll need to debug it. But first I need to try out bevy android examples that worked for others, and then see if I can get those to work for me. If they work, then I can see what I did wrong here.

DerKarlos commented 11 months ago

Let's make an Issue per OS