Questions tagged [virtual-reality]

For programming questions about virtual reality. Only use this tag when a specific platform tag doesn't exist or the question is sufficiently cross-platform.

Virtual reality (VR) is a computer technology that simulates physical places by recreating sensory experiences.
It deals with Human Computer Interaction in immersive systems. It may also refer to content creation tools suitable for the creation of such systems.

By contrast, augmented reality replaces only part of the world.

Related tags

General information about virtual reality

Note

Only use this tag when a specific platform tag does not exist or your question is sufficiently cross-platform to merit a generic tag. Also, if your question is specific to WebVR, please use the tag.

1739 questions
38
votes
3 answers

Google Sceneform – Is it deprecated? Any replacement?

I use in my ARCore project Sceneform. It seems that this project is now mentioned as Archived by Google. More info we can find here or on this page. I don't understand if Google really abandoned this SDK, or if it is - or will be - directly…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
29
votes
5 answers

Using SceneKit in Swift Playground

I've looked everywhere for this but I'm coming up blank. How do you replicate what Chris Lattner was demonstrating with Playgrounds and SceneKit at WWDC? I want to have a SceneKit scene, animating, in Playgrounds. I tried cutting and pasting the…
user1845848
  • 653
  • 2
  • 8
  • 11
27
votes
8 answers

SceneKit – Drawing a line between two points

I have two points (let's call them pointA and pointB) of type SCNVector3. I want to draw a line between them. Seems like it should be easy, but can't find a way to do it. I see two options, both have issues: Use a SCNCylinder with a small radius,…
Matthew
  • 1,366
  • 2
  • 15
  • 28
22
votes
1 answer

SceneKit Cocoa snapshot failed assertion

I am working on a Swift/Cocoa/Xcode application. This application contains a SceneKit View. The rendering API is set to Default (I think this is Metal). If I run a snapshot() on this SceneKit view object, I get this error message. What I want to do…
Bob5421
  • 7,757
  • 14
  • 81
  • 175
20
votes
5 answers

Does Flutter support virtual or augmented reality?

I have to make an app that uses virtual reality, so should I drop the idea of using Flutter?
Aadish Goel
  • 451
  • 1
  • 4
  • 12
17
votes
2 answers

Implement a Kalman filter to smooth data from deviceOrientation API

I'm trying to smooth the data I'm getting from the deviceOrientation API to make a Google Cardboard application in the browser. I'm piping the accelerometer data straight into the ThreeJs camera rotation but we're getting a lot of noise on the…
16
votes
2 answers

Android: How to create YouTube-like VR-controls?

I am trying to develop a VR video player using latest Google VR SDK for Android (v1.0.3), but there is no high-level API to build VR playback controls. YouTube VR player uses old version of gvr toolkit and renders controls (for example,…
Nick
  • 311
  • 1
  • 10
12
votes
5 answers

iOS 14 Google Cardboard view is broken

On all apps that I can find that use Cardboard in iOS 14 (iPhone), the VR view is insanely bugged. The camera swings wildly all over the place. Here is a video example: https://www.reddit.com/r/youtube/comments/i1nbs0/ios_14_vr_error/ The official…
AerinC
  • 151
  • 1
  • 1
  • 6
11
votes
1 answer

Google VR View Error - Unable to load texture from ffff.jpg

This is my index.html file VR Sample