WebXR
21–30 of 68 posts
Re: WebXR
#22Won't be touching WebXR again until iOS implements it. There's an experimental feature flag to enable it, so hopefully this actually happens soon.
Why would you want this on a phone though? It's for VR headsets.
https://aframe.io/examples/showcase/sky/
On a VR headset you can just crane your neck and look around. On a phone or tablet it will use the accelerometer and let you use the device as a window on the virtual reality. On desktop you can use the mouse to scroll around.
Re: WebXR
#23Re: WebXR
#24Earlier quoted context omitted.
Not sure what you're asking, exactly? Unity (and I presume Unreal) can do the same procedural generation stuff today your can do in js. There's many libraries/tutorials etc
Basically i'd like to add, edit, store and load code during runtime.
However, once you cross over into scripting code, you are in fact crossing a barrier, and it does become harder to hot-reload the way you can in a JS app. Like, the fact that Unity scripts are written in C# and have to be compiled and linked is a pretty huge impediment that you don’t face when loading almost any other kind of asset.
I’m right there with you: Hot-reloading and 3D is a thrilling combination, and tools like react-three-fiber are miles ahead of anything I’ve seen in Unity-land in terms of laying foundations for stuff like this. I’d recommend emphasizing “hot-reloading code” when drawing this distinction with Unity/Unreal folks to better get across the magnitude of what you’re looking for.
Re: WebXR
#25Won't be touching WebXR again until iOS implements it. There's an experimental feature flag to enable it, so hopefully this actually happens soon.
Re: WebXR
#26You can experience this on iPhone by installing Mozilla's WebXR Viewer [ https://apps.apple.com/us/app/webxr-viewer/id1295998056 ], then opening the dinosaur demo [ https://www.xrdinosaurs.com/ ]
Re: WebXR
#27Re: WebXR
#28Earlier quoted context omitted.
Basically i'd like to add, edit, store and load code during runtime.
Just a heads up, when folks say “complex 3d objects”, it’s usually assumed that they’re talking about things like GLTF files, which contain geometry, materials, lighting elements, animations, etc, and which Unity/Unreal can absolutely load/unload at runtime or even stream from a media server online (so they don’t have to be in the binary). However, once you cross over into scripting code, you are in fact crossing a b…
I recently had more contact with gaming engines than I originally wanted and there's always this kind of community-specific vocabulary whenever you cross borders. Oh no,like in real life.
Re: WebXR
#29Earlier quoted context omitted.
Basically i'd like to add, edit, store and load code during runtime.
Oh, code? I assumed you meant geometry and/or materials. Yes, it's possible. I can think of several ways to approach it. Not quite as cleanly as with javaScript, mind.
Sorry for not being clear on the code part. I assumed USD and the like would be the norm now. "Complex objects" is not really helpful in this context, though.
Re: WebXR
#30For me the main advantage of WebXR is that one can create complex 3D objects at runtime/on the fly without havjbg to load them as assets or compiling them into the binary. Any thougts on the best way to do this in classic runtimes like Unity or Unreal (which scripting plugins, which base construction objects/assets?)? The main issue I have with WebXR, though, is it being canvas-based instead of being page/HTML-based,…