Galaxy_simulation
Galaxy_simulation copied to clipboard
An n-body type simulation using GPU acceleration to simulate galaxies, galaxy collisions and expanding universes.
Bonjour, Après 2j de recherche je n'ai plus aucune idée.. J'ai cherché dans tout le code sans savoir comment changer les couleurs des étoiles. J'ai trouvé le fichier post.frag mais...
Fichier : sources/ComputeShader.cpp#51  Exception non gérée à 0x00007FF75613B873 dans Galaxy_simulation.exe : 0xC0000005 : Violation d'accès lors de la lecture de l'emplacement 0x0000000000000000. Pour plus d'informations : - err =...
I tried to compile the program but I have problems with this line: https://github.com/angeluriot/Galaxy_simulation/blob/4623225c3583134ea8499eac74d1b703261f5742/includes/ComputeShader.hpp#L112 System info: Manjaro 21.1.6, 5.14.10-1-MANJARO OpenCL 2.1 headers (Nvidia GPU) **GCC info:** ``` Utilisation des specs...
Salut sur Debian 11: - Manque le linkage avec pthread: ``` find_package (Threads) target_link_libraries(${PROJECT_NAME} PRIVATE ${CMAKE_THREAD_LIBS_INIT}) ``` - Mettre a jour les headers d'OpenCL dans includes/libraries.hpp: `#include ` devient: ```...
This is the result after my message below. There are two constants of proportionality that regulate the law. I was not able to give two different colors to different types...
For people trying to build on Linux: ``` bash uniw_run.sh ``` will give you error after you have installed everything. **Error 1:** install libglew-dev **Error 2 :** https://stackoverflow.com/questions/56858213/how-to-create-nvidia-opencl-project/57017982#57017982 https://github.com/ProjectPhysX/OpenCL-Wrapper/tree/master/src/OpenCL and...
I noticed that MacOS was mentioned in installation steps, so decided to give it a try. After fighting numerous compilation errors I was able to finally compile the project but...