OpenGL_ParticleSystem

时间:2021-03-11 16:32:38
【文件属性】:
文件名称:OpenGL_ParticleSystem
文件大小:95KB
文件格式:ZIP
更新时间:2021-03-11 16:32:38
系统开源 粒子系统 这是一个用OpenGL用C ++ 14/17编写的小粒子系统。 它使用计算着色器来计算粒子的运动。 生成并运行 克隆存储库: git clone https://github.com/StanEpp/OpenGL_ParticleSystem.git 然后构建它: cd OpenGL_ParticleSystem mkdir build cd build cmake .. make -j8 执行该应用程序并运行一个示例场景: ./OpenGL_ParticleSystem 按键 W,A,S,D-移动相机 E,Q-调整吸引子的深度 鼠标左键-激活吸引器模式(相机不再移动) 鼠标右键-激活吸引子作为重力源(仅在吸引子模式下) TAB-在标题栏中切换Fps。 仅在窗口模式下可见。 错误与问题 如果无法创建GLFW窗口或OpenGL上下文,请确保您具有支持OpenGL 4.3的
【文件预览】:
OpenGL_ParticleSystem-master
----settings.txt(209B)
----deps()
--------CMakeLists.txt(1KB)
----texture()
--------Particle.tga(64KB)
----shader()
--------cs.glsl(1KB)
--------gs.glsl(1KB)
--------vs.glsl(138B)
--------fs.glsl(536B)
----GL()
--------gl3w.h(111KB)
--------glcorearb.h(235KB)
----LICENSE(1KB)
----src()
--------Camera.hpp(3KB)
--------gl3w.c(116KB)
--------tga.c(11KB)
--------GLFWWindow.hpp(2KB)
--------Attractor.hpp(3KB)
--------ShaderManager.hpp(4KB)
--------ParticleBuffer.hpp(770B)
--------main.cpp(390B)
--------ConfigLoader.hpp(2KB)
--------tga.h(3KB)
--------ParticleTexture.cpp(1KB)
--------ParticleTexture.hpp(527B)
--------GLFWTimer.hpp(453B)
--------ShaderBaseModel.hpp(2KB)
--------ParticleSystem.cpp(7KB)
--------ParticleSystem.hpp(1KB)
--------ParticleBuffer.cpp(2KB)
--------ShaderManager.cpp(11KB)
--------GLFWInput.hpp(2KB)
----.gitignore(17B)
----CMakeLists.txt(1KB)
----README.md(1KB)

网友评论