Questions tagged [oculus]

Questions about development for the Oculus Rift, a head-mounted virtual reality display.

The Oculus Rift is a VR headset by Oculus VR. It enables VR applications by providing high-accuracy head tracking (position and orientation) for input and a specialized head mounted display that renders a per-eye view onto each half of the built in LCD/OLED panel and uses lenses to produce collimated light and provide a wide field of view.

674 questions
0
votes
1 answer

C# marshalling struct array - FatalExecutionEngineError

This function in the Oculus SDK gives error code 0xc0000005: [DllImport(LibFile)] private static extern void ovrHmd_GetRenderScaleAndOffset(ovrFovPort fov, ovrSizei textureSize, …
etodd
  • 483
  • 1
  • 3
  • 8
0
votes
2 answers

How do I easily convert a Unity project from Oculus Rift DK 1 to Oculus Rift DK 2?

I was the developer on a project using Oculus Rift about 2 months ago. I received the Oculus DK 2 now and I want to update the project. I've been thinking to what it could be the easiest way but I want to be sure I don't miss something I could try…
Steak Overflow
  • 7,041
  • 1
  • 37
  • 59
0
votes
1 answer

Annoying bug in the rendering

I am trying to port the roomTiny example from the Oculus SDK to Jogl I already ported most of the program, but I am stuck on an annoying bug since a couple of days and I am going crazy After a couple of days, I tried to make a new simplified copy in…
elect
  • 6,765
  • 10
  • 53
  • 119
0
votes
1 answer

Stopping and resuming Oculus movement

I'm trying to edit the default oculus camera scripts to stop responding to the tracking sensor for a period of time and then resume normal movement from the place where the camera pointed at the time it stopped following the tracking sensor. I was…
Timguin
  • 23
  • 1
  • 3
0
votes
1 answer

Alternative to glFramebufferTexture for OpenGL version 3.1 and Oculus Rift

So the Oculus Rift SDK accepts a framebuffer texture ID which is created with the glFramebufferTexture function. Example: [...] GLuint l_FBOId; glGenFramebuffers(1, &l_FBOId); glBindFramebuffer(GL_FRAMEBUFFER, l_FBOId); // The texture we're…
user3434662
  • 399
  • 1
  • 5
  • 13
0
votes
2 answers

Ambiguous symbol. Need to keep both namespaces

I'm reading from an Oculus Rift and writing via serial to control an Arduino, but I'm having some problems with namespaces since I'm new to C++. The beginning of my code goes like this: #using #include "OVR.h" #include…
0
votes
1 answer

Coding toolset for Oculus Rift and Facebook combo

I want to code for Oculus Rift and have full access to Facebook API from my program. It's a bit of a jump in the deep for me but that doesn't matter. I have some programming knowledge and will learn whatever I need to learn. Right now for the above…
jshd
  • 187
  • 3
  • 9
0
votes
2 answers

Unhandled exception (nvoglv32.dll) during drawing (rift)

I'm actually working on making AR with the HMD oculus rift. I'm not a pro on openGL and I'm sure it is the source of my problem. I get this error: Unhandled exception at 0x064DBD07 (nvoglv32.dll) in THING.exe: 0xC0000005: Access violation reading…
user3544665
  • 55
  • 10
0
votes
1 answer

identifier float2 and float4 undefined (Oculus Rift)

For a school project we need to implement the oculus rift in a previously made DX9 engine. All is going well, but I am stuck at the distortion part of implementing the oculus. I came to the part where I need to implement my shader for the barrel…
0
votes
1 answer

How show stereo camera with Oculus Rift?

I use the OpenCV for show in a new windows the left and right image from a stereo camera. Now I want to see the same thing on the Oculus Rift but when I connect the Oculus the image doesn't became in the Characteristic Circled image suitable with…
GiordiX
  • 201
  • 4
  • 10
0
votes
1 answer

D3D11 DrawIndexed() is drawing to the wrong render target

I'm attempting to render a scene to two textures (left and right) for use with the Oculus Rift. When I set the render target to a 2D texture render view and call DrawIndexed() it renders to the back buffer instead of the texture. I'm using Visual…
0
votes
1 answer

Noob, Oculus Rift enabled webpage questions

I'm using Three.js-oculus and Cupola.js to create a VR page ( a mod of the earth geometry example in three.js-oculus). Is an OculusRiftEffect function necessary to view a webpage with an Oculus Rift? If so is there one available that does not throw…
Tim Strah
  • 1
  • 2
0
votes
1 answer

Oculus Rift& Vuforia

I've been working on something which involves using the Oculus rift and vuforia. let me explain... The overall objective is a pretty simple concept, I would like to be able to render the image from the webcam into the oculus rift and be able to…
steveybrown
  • 293
  • 2
  • 11
0
votes
1 answer

Displaying gstreamer in Oculus Rift

So I have a fisheye camera piped through gstreamer, over the internet to another pc where I want to display it on an Oculus Rift. The Oculus expects a 1280×800 resolution input just like a normal monitor, but the left 640×800 of the screen displays…
0
votes
3 answers

How do I calculate my 3D View Matrix for the Oculus Rift in XNA?

This is my camera class public class Camera { public Matrix View { get; private set; } public Matrix Projection { get; private set; } public Viewport Viewport { get; private set; } public Camera(Viewport viewport, Vector3 position,…
Dave
  • 3,676
  • 4
  • 28
  • 39