Looks like the addiction has turned towards obsession 🗿✌🏻
Day 3 of making Gravitas
Yesterday, I was up till about 5 in the morning, learning about different functions of cpp and their implementations so I could add more features.
.
Along with that, yesterday after posting the devlog, I actually was able to render the thing in 3D, but it was rather bland, simply two blue bodies orbiting each other.
.
Though, today, I was finally able to make them have trails , which took an awful lot to do so, while making sure it didn’t affect the rendering.
.
That is, because the trails were simply compounding over time and making the simulation slower, or I should say, the rendering slower…
So I used a clever trick (after trying like, 3-4 of them which didn’t work) to fix the issue.
.
But all in all, it worked 🐈
(even though only for a fixed amount of time 😭, I’ll fix it completely/professionally later on)
.
Next Steps:
- Make the camera movable
- Add Pause/play type of controls
- Add adjustable dt
.
P.S. I also added more files to make the project be more structured, with different cpp and header files handling different function of the simulation…
.
This project is perhaps the coolest things I’ve ever worked on in my entire life…. 🔥
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.