The folder structure will be as below.
Modern OpenGL Tutorial and Application
Learn Modern OpenGL for Windows OS from scratch and its use in areas such as clinical imaging.
Thursday, March 26, 2026
VedaOpenGLLibrary Structure and Dependencies
The folder structure will be as below.
Tuesday, June 17, 2025
Synopsis
The following discusses different topics in Modern OpenGL Tutorials.
Introduction➹
Sunday, August 28, 2022
Saturday, August 6, 2022
Wednesday, August 3, 2022
Lesson 08: Start Camera and Roll
In this post understand cameras space and Perspective and Orthographic projections interactively.
Orthographic Projection can be changed by checking Orthographic checkbox and supplying varying input for X minmax, y minmax and Z minmax values.
Monday, July 25, 2022
Understanding View space, Perspective and Orthographic Projections
So far our camera was in a fixed position and transformations happened in object space. In this post we will look at the larger picture.
As shown in the diagram below, a 3D object in a scene starts off from object space. Model transformation places it in the world space. Based on the camera position the entire world is transformed into Camera space or view space. This is called view transform. This is done using viewing matrix. It is later moved to screen space using Projection matrix.
Tuesday, July 19, 2022
Lesson 07:Drawing Text interactively.
As discussed in the previous article, Text can be drawn in multiple fonts, sizes and colors. Also can be moved around. It's implemented in Lessons\Lesson07 project.
Monday, July 18, 2022
Drawing Text
Sunday, July 17, 2022
Lesson06:Understanding Affine Transformation interactively.
- Scale
- Rotate by Z,X,Y
- Translate
M = mat4(1);
M = translate(M, translateby);
M = rotate(M, radians((float)(yaw)), vec3(0.0f, 1.0f, 0.0f));
M = rotate(M, radians((float)(pitch)), vec3(1.0f, 0.0f, 0.0f));
M = rotate(M, radians((float)(roll)), vec3(0.0f, 0.0f, 1.0f));
M = scale(M, scaleby);
Saturday, July 16, 2022
Essential 3D math - Matrices
Friday, July 15, 2022
Essential 3D math - Vector
A 3D vector is represented as [Vx, Vy, Vz] where Vx, Vy and Vz represent numbers in 3D cartesian space. Vectors are attributed with a direction represented by its head and a magnitude computed as square root of the squared sums of its components.


























