OpenGL simple program
Hello guys! I am fairly new to OpenGL and Oculus VR. I am trying to build a cubemap for the rift. I already have a program running in OpenGL in C++ but I don't understand how to render the cubemap into the oculus rift. I took a look at the tiny room gl program given by the sdk but I don't entirely understand how the rendering happens. Has anyone done a tutorial or a project where you focus on practicing just the rendering? Can anyone help me understand how to display something into the oculus?734Views0likes0CommentsApply a texture from a HBITMAP to a wall in the sample DirectX11 room
Hi, is it possible using the code from the sample OculusTinyRoom(DX11) to apply a texture to a solid from a HBITMAP? The sample code is TriangleSet walls; walls.AddSolidColorBox(-10.1f, 0.0f, -20.0f, -10.0f, 4.0f, 20.0f, 0xff808080); // Left Wall Add(new Model(&walls, Vector3f(0, 0, 0), new Material(new Texture(false, Sizei(256, 256), Texture::AUTO_WALL)))); Let's say that I want apply a HBITMAP texture on this wall, how can I do it in a simple way? Thanks1.7KViews0likes6Comments