Hello Im Turbo
i Want To Develop A Graphical App With "OpenGL" And "C++"
My App Is The Simulator Of Gravity
For Using The OpenGL I Need To Learn "GLSL" Language Or No And I Can Write All Program With The "C++" Language ؟ ؟؟؟؟؟؟
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Well, you know...
If you want to focus purely on the physics and not get too bogged down by the graphics side, libraries like Raylib or SFML can really help. That way, your main focus stays entirely on C++.
But if you say 'No, I want full control over the graphics, the window, and everything else,' then you'll need to learn C++, Window Manager (SDL3, glfw, etc), OpenGL and GLSL.
That being said, if you're not building anything overly complex on the graphics end, OpenGL, and GLSL won't be that hard to pick up.
However, if you want massive performance, you can actually push your physics system straight to the GPU (using compute shaders, SSBOs, instancing, etc.). Alternatively, if you don't want to reinvent the wheel, there are already plenty of ready-made physics engines available on the CPU side.
So basically, it entirely depends on what you're aiming for and how deep you want to go