About 225,000 results
Open links in new tab
  1. OpenGL - Examples

    Example for PC game developers to show how to combine texturing, reflections, and projected shadows all in real-time with OpenGL. Robust reflections use stenciling. Robust projected shadows use both stenciling and polygon offset.

  2. OpenGL Examples - Loyola Marymount University

    Here are some OpenGL example programs, presented in an order in which new topics are added in each successive example. Many of these are modifications of programs in the OpenGL Red Book.

  3. Basic OpenGL - opengl-tutorial.org

    Basic OpenGL. Follow them in the right order ! Tutorial 1 : Opening a window. Tutorial 2 : The first triangle. Tutorial 3: Matrices. Tutorial 4 : A Colored Cube. Tutorial 5 : A Textured Cube. …

  4. Program to draw a Hut in using OpenGL in C++ - GeeksforGeeks

    Dec 15, 2022 · In this article, we will discuss how to create a front-facing view of a hut in OpenGL using two basic shapes i.e. triangle and rectangle. Approach: Follow the steps below to solve the problem: Initialize the toolkit using the function glutInit (&argc, argv).

  5. Sample OpenGL Program for C and C++ - Cprogramming.com

    In this lesson I shall introduce several functions and show you actual OpenGL rendering in a program. Prior to showing you the code, however, I want to go over a few things with you. This will give you a better understanding of what is going on when you do see the code, so you don't stare at the screen wondering what you're looking at.

  6. OpenGL ES C++ examples - GitHub

    A comprehensive collection of open source C++ examples for OpenGL ES 3.1 which is from Khronos. Windows 10, Visual Studio 2019. CMake 3.2 or higher. The repository contains everything required to compile and build the examples on Windows, using the Visual Studio compiler that supports C++14 at least. All required dependencies are included. Windows.

  7. How to Setup and Get Started with OpenGL in C++

    Core OpenGL (GL): consists of hundreds of functions, which begin with a prefix " gl " (e.g., glColor, glVertex, glTranslate, glRotate). The Core OpenGL models an object via a set of geometric primitives, such as point, line, and polygon.

  8. Example Code - OpenGL Wiki - The Khronos Group

    Jan 12, 2018 · This example code shows how to create a 2D array texture. GLuint texture = 0 ; GLsizei width = 2 ; GLsizei height = 2 ; GLsizei layerCount = 2 ; GLsizei mipLevelCount = 1 ; // Read you texels here. In the current example, we have 2*2*2 = …

  9. OpenGL Tutorial C++: Master Graphics Quickly and Easily

    In this OpenGL tutorial for C++, you'll learn how to create a simple window and render a triangle using essential OpenGL commands.

  10. Creating a 3D Game Engine with C++ and OpenGL

    Jan 14, 2025 · Learn how to build a 3D game engine with C++ and OpenGL in this step-by-step tutorial.

Refresh