Devlog 3 - NYX HAS FRIED MY BRAN
btw, if you havent seen my older devlogs, you are legally obligated to do so, and if not done, the police shall come for you
so, after my last devlog, added a new sail geometry, fixed A LOT OF BUGS and made the code efficient (not really) and improved the physics calculation, to a more complex force calculation engine (its not an engine, idk why i said that).
also, i realized paraboloids are pretty niffty as with some dingle dangle, we can have a circular sail without even making a new class!
Features i added
Paraboloid geometry, cleaned up the radiation pressure code, quivers for visualization and better force equation.
the force equation is now
F = fmag * (2*cosTheta*normal - beamDih)
(this is embarrassing, but in my code, the beam direction variable is beamDih)
Whats Next?
- wanna improve the visualization
- local force vector rendering
- time evolution
- moving sail
- oscillation simulation
- ability to upload a
.objfile as a sail
(The image below is when i broke the code. i accidentally wrote =+ instead of +=)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.