SolarSystem
NGL
SolarSystem | NGL | |
---|---|---|
7 | 13 | |
55 | 87 | |
- | - | |
6.2 | 8.1 | |
3 months ago | 18 days ago | |
C++ | C++ | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SolarSystem
-
4 hours of my .obj parser so far 😭
I also ported it in an opengl project: https://github.com/aromanro/SolarSystem
- How 3d models like sphere can be rendered?
- Stereoscopic Vision using Visual Studio 2022. Any one with experience in this field?
-
Matrices in physics
I've got a lot of physics-related projects on GitHub, most of them use matrices, even if sometimes it's not obvious. For example, this one: https://github.com/aromanro/SolarSystem uses matrices for changing from one coordinate system to another, rotations and so on.
-
Is there a simpler way to simulate n-body problem?
I also have a solar system simulator, it used at first velocity Verlet, then I switched to Verlet since I really didn't need the velocity in it: https://github.com/aromanro/SolarSystem
- What is a small project you would recommend to someone learning OpenGL?
-
Function for loading an image into OpenGL
There are countless of open source programs that do that, you just have to look over the sources. For example, one of my projects: aromanro/SolarSystem: A solar system simulator with velocity Verlet, using OpenGL for displaying. (github.com)
NGL
-
Understanding OpenGL setup & compilation on Windows
I have a number of instructions on my Github pages here https://github.com/NCCA/NGL/blob/main/Windows.md whilst aimed at my own library the first part about installing Visual Studio and the basic setup will help.
-
How objects lifetime should be managed by library?
code here https://github.com/NCCA/NGL
-
How to deal with MSVC in DevOps
My Windows build is here https://github.com/NCCA/NGL/blob/main/.github/workflows/windows.yml I use vcpkg for installing 3rd party libs and the msvc-dev command from here https://github.com/ilammy/msvc-dev-cmd
-
I have spent two whole work days trying to install GLEW
Also I have just done an experimental version of my code that uses WSL2 (which supports graphics). You could try that. https://github.com/NCCA/NGL/blob/NewShaderLib/WSL.md
-
An OpenGL Renderer
I also have a ShaderLib class that does similar stuff keeping everything in a static map (used to be a singleton class). Been using it for teaching for a number of years you can see it here https://github.com/NCCA/NGL
-
4 hours of my .obj parser so far 😭
There are loads of edge cases and gotcha's as well. I have a full(ish) parser here with unit tests if it helps. (Note I use pystring to do the string processing). https://github.com/NCCA/NGL/blob/main/src/Obj.cpp unit tests here https://github.com/NCCA/NGL/blob/main/tests/ObjTests.cpp. May give you some ideas.
-
C++ library management absolutely sucks!
I use glfw in a number of projects here are my instructions for building my library https://github.com/NCCA/NGL/blob/main/Windows.md You should be able to use the bits you need from here to setup vcpkg etc. I suggest using the free Visual Studio community edition and installing most of the tools you need from there. After that install vcpkg and setup the paths required. (see my notes).
-
I am 13 I think I'm finished learning intermediate C++ whats next?
The one I use in my teaching is here. https://github.com/NCCA/NGL it also includes Math / Vec class which you may not need if you use something like GLM. Also this uses TDD so get into writing unit tests as part of it.
-
Smart pointers question
typically I just have classes with static factory methods to keep things together, usually with a std::unordered_map s_things; so I can create by name. This is an example for an OpenGL Vertex Array Object https://github.com/NCCA/NGL/blob/master/include/ngl/VAOFactory.h
-
GLFW Creating a VAO/VBO Class
I have several using a Factory design pattern here https://github.com/NCCA/NGL Checkout https://github.com/NCCA/NGL/blob/master/include/ngl/AbstractVAO.h for the basic structure, then I have different versions depending upon context and usage.
What are some alternatives?
Principia - 𝑛-Body and Extended Body Gravitation for Kerbal Space Program
tinyrenderer - A brief computer graphics / rendering course
rigs-of-rods - Main development repository for Rigs of Rods soft-body physics simulator
RayTracer - A ray tracing program
LatticeBoltzmann - A 2D Lattice Boltzmann program
msvc-dev-cmd - GitHub Action to setup Developer Command Prompt for Microsoft Visual C++
EventMolecularDynamics - A program implementing event driven molecular dynamics for hard smooth spheres, using OpenGL for displaying
GLFW-CMake-starter - Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.
gtec-demo-framework
opengl_renderer
Powerwall2PVOutput - Send Tesla Powerwall data to PVOutput
NCCABoilerplate - A set of Boilerplate projects for most of the work we do