Grav

Grav Used AI

10 devlogs
18h 50m
Created by Hobbes

A gravity simulation built in openGL. This project does not use GLUT. Tweak different values and see how the simulation changes. Very simple, use WASD to move around

Timeline

7/5/25 Implemented a camera to move around the scene, still working on some bugs with the objects jumping back to the center.

Managed to make multiple cubes at different locations, working on being able to change each of them individually.

Lil epilepsy warning :/. trying to make a function to create cubes where the mouse clicks, however, it is having issues :(. Almost there tho

Made a complete cube and FINALLY figured out all the texcoords for a texture to be properly mapped to all the sides. Also had to add more vertices in order to do the texture

Made stuff 3D, tried (very hard) to render a cube, but there are still quite a few errors with texture mapping and some indices. Also made it spin

Learned how to make textures, and more info about VBO VAO and EBOs.

Update attachment

Added a gradient with shaders and figured out how to use uniforms to scale it up.

Update attachment

Figured out how to do slightly more complex shapes the most optimal (reusing points), as well as did a lot of organizing of the code into shaderclasses to make it easier later.

Update attachment

The time lies btw, its been closer to 50 minutes not seven, but I did make a orange triangle show up in the screen.

Update attachment
truffles truffles about 2 months ago
learnopengl triangles <3
logabe logabe about 2 months ago
LearnOpenGL my beloved
Luka Trojan Luka Trojan about 2 months ago
I too made an orange triangle.

Worked out some weird kinks with the hackatime/wakatime counting time for Visual Studio 2022. Also built a blue popup.

Update attachment