![]() ![]() A24 Colorcross VR Virtual Reality 3D Video Glasses for 45.6 Inch. GlTranslatef(-1.5f, 0.0f, -6. Virtual Reality VR Headset 3D Glasses With Remote for Android IOS iPhone Samsung. GlEnd() // End of drawing color-cube // Render a pyramid consists of 4 triangles GlBegin(GL_QUADS) // Begin drawing the color cube with 6 quads // Top face (y = 1.0f) // Define vertices in counter-clockwise (CCW) order with normal pointing out GlTranslatef(1.5f, 0.0f, -7.0f) // Move right and into the screen GlLoadIdentity() // Reset the model-view matrix GlMatrixMode(GL_MODELVIEW) // To operate on model-view matrix // Render a color-cube consisting of 6 quads with different colors GlClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) // Clear color and depth buffers Whenever the window needs to be re-painted. Called back when the window first appears and GlHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST) // Nice perspective corrections GlShadeModel(GL_SMOOTH) // Enable smooth shading 3D Video Glasses Virtual Reality Headset For iPhone Smartphone Mobile phone screen size: 4.7-6 inch Universal 3D VR Virtual Reality Glasses Head with Magnetic for 4. ![]() GlDepthFunc(GL_LEQUAL) // Set the type of depth-test GlEnable(GL_DEPTH_TEST) // Enable depth testing for z-culling GlClearDepth(1.0f) // Set background depth to farthest GlClearColor(0.0f, 0.0f, 0.0f, 1.0f) // Set background color to black and opaque #include // GLUT, include glu.h and gl.h /* Global variables */ The hallow pyramid is made up of 4 triangle, with different colors on each of the vertices. The cube is made of of 6 quads, each having different colors. This example is taken from Nehe OpenGL Tutorial Lesson # 5 ), which displays a 3D color-cube and a pyramid. Otherwise, read " Introduction to OpenGL with 2D Graphics". No external applications or devices are required. The Immersive 3D Glasses can be used with all smartphones that are longer than 4 inches. ![]() I assume that you have some knowledge of OpenGL. Features: ColorCross Universal Virtual Reality 3D & Video Glasses ,Immersive 3D VR Glasses engage the user in a 3D world through your Smartphone. ![]()
0 Comments
Leave a Reply. |