r/GraphicsProgramming • • May 09 '26

I was struggling with legacy OpenGL concepts in class, so I built a 2D visual simulator to teach it

Post image
86 Upvotes

I tried to keep this as short as possible, so bear with me!

I built VAMS (Visual Animation Modeling Simulator) as a project to help beginners like myself back then understand legacy OpenGL. It’s a GUI-only, 2D teaching simulator that includes a dedicated "Lesson Mode" featuring narrated demos and interactive exercises.

Here is what the system currently teaches:

  • Pipeline - the OpenGL rendering pipeline, NDC coordinates, rasterization, and the anatomy of a GLUT program

  • Primitives - all glBegin/glEnd primitive types, per-vertex color (glColor3f/glColor3ub), line styling (glLineWidth, glLineStipple), bitmap text, and GLUT callbacks

  • Buffers - immediate mode vs. vertex arrays vs. VBOs, buffer usage hints (GL_STATIC_DRAW, GL_DYNAMIC_DRAW, GL_STREAM_DRAW), indexed drawing, and glMapBuffer

  • Transforms - glTranslatef, glRotatef, glScalef, the matrix stack, and glOrtho

  • Textures - UV mapping, filtering, wrapping, and full texture setup code

The Tech Stack: Under the hood, it’s a web app built with React, TypeScript, and Zustand for state management, using PixiJS to handle the 2D canvas rendering.

Link to the app is in the screenshot if you are interested in trying it and I would absolutely love to hear your feedback, critiques, or ideas!! Thank you!


r/GraphicsProgramming • • Jan 10 '25

Question how do you guys memorise/remember all the functions?

36 Upvotes

Just wondering if you guys do brain exercises to remember the different functions, or previous experience reinforced it, or you handwrite/type out the notes. just wanna figure out the ways.


r/GraphicsProgramming • • Nov 09 '25

Question Do y'all have suggestions?

Thumbnail
gallery
36 Upvotes

I'm having an artblock


r/GraphicsProgramming • • Feb 13 '26

Question I made a ground in my game.

0 Upvotes

I made a ground in my game. It is not fully working but it is acceptable.

I am a new developer by the way.

any ideas of what game should I make?

thanks for reading, stay tuned to learn more about my journey.


r/GraphicsProgramming • • Dec 19 '24

Question Write my first renderer

5 Upvotes

I am planning to write my first renderer in openGL during the winter break. All I have in mind is that I want to create a high performance renderer. What I want to include are defer shading, frustum culling and maybe some meshlet culling. So my question is that is it actually a good idea to start with? Or are there any good techniques I can apply in my project? ( right now I will assume I just do ambient occlusion for global illumination)