3D-Summer-Engine

所属分类:GPU/显卡
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-08-12 01:35:06
上 传 者sh-1993
说明:  这是当前作为业余项目进行的流体模拟。这主要是我自己做的,但求解纳维埃-斯托克斯方程的数学...,
(This is currently a Fluid Simulation made as a hobby project. This was mostly done by myself but the math for solving the Navier Stokes Equations came from Nividia GPU Gems since I am not educated enough for these subjects.)

文件列表:
3D-Summer-Engine.sln (2300, 2023-08-16)
3D-Summer-Engine/ (0, 2023-08-16)
3D-Summer-Engine/3D-Summer-Engine.vcxproj (17226, 2023-08-16)
3D-Summer-Engine/3D-Summer-Engine.vcxproj.filters (8814, 2023-08-16)
3D-Summer-Engine/Images/ (0, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/ (0, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/Checkerpattern.png (16097, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/Compute_shader_result.png (16276, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/Framebuffer.png (2108891, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/Multicolored_pattern.png (15821, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/Multicolored_wireframe_pattern.png (75240, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/notGenerated.jpg (665398, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/temp.png (15904, 2023-08-16)
3D-Summer-Engine/Images/Generated Images/temperature.png (16096, 2023-08-16)
3D-Summer-Engine/Images/Icon/ (0, 2023-08-16)
3D-Summer-Engine/Images/Icon/letter-f.ico (107741, 2023-08-16)
3D-Summer-Engine/Images/Icon/letter-f.png (19201, 2023-08-16)
3D-Summer-Engine/Images/LearnOpenGL/ (0, 2023-08-16)
3D-Summer-Engine/Images/LearnOpenGL/awesomeface.png (59277, 2023-08-16)
3D-Summer-Engine/Images/LearnOpenGL/container.jpg (184939, 2023-08-16)
3D-Summer-Engine/Images/LearnOpenGL/texture.png (4355, 2023-08-16)
3D-Summer-Engine/Images/LearnOpenGL/wall.jpg (256989, 2023-08-16)
3D-Summer-Engine/Shaders/ (0, 2023-08-16)
3D-Summer-Engine/Shaders/advection_shader.frag (2581, 2023-08-16)
3D-Summer-Engine/Shaders/apply_shader.frag (1161, 2023-08-16)
3D-Summer-Engine/Shaders/bounds_shader.frag (400, 2023-08-16)
3D-Summer-Engine/Shaders/clear_shader.frag (186, 2023-08-16)
3D-Summer-Engine/Shaders/curl_shader.frag (665, 2023-08-16)
3D-Summer-Engine/Shaders/default_fragment_shader.frag (178, 2023-08-16)
3D-Summer-Engine/Shaders/default_vertex_shader.vert (308, 2023-08-16)
3D-Summer-Engine/Shaders/density_shader.frag (189, 2023-08-16)
3D-Summer-Engine/Shaders/divergence_shader.frag (1036, 2023-08-16)
3D-Summer-Engine/Shaders/force_shader.frag (391, 2023-08-16)
3D-Summer-Engine/Shaders/fragment_shader - kopia.frag (1951, 2023-08-16)
3D-Summer-Engine/Shaders/fragment_shader.frag (2339, 2023-08-16)
3D-Summer-Engine/Shaders/gradient_subtraction_shader.frag (857, 2023-08-16)
3D-Summer-Engine/Shaders/integrate_shader.frag (1233, 2023-08-16)
3D-Summer-Engine/Shaders/jacobi_shader.frag (1225, 2023-08-16)
... ...

# 3D-Summer-Engine (Fluid Simulation) Currently this project focuses mainly towards 2D graphics at the moment. It has 3D-features implemented already but much time has passed since the last revision, the 3D-features have not yet been tested. # 2D Fluid Simulation The purpose of this project is to get a somewhat large pool of understanding about computer graphics such as optimizations by using shaders. # Usage To test the simulation you can build the application on your own (But that requires that you have all the libraries on your machine). You can also download the setup file in the releases https://github.com/BoilingT/3D-Summer-Engine/releases (This is the way). ### Using this content does not gaurantee a fully working product. # Libraries and Includes GLFW 3.3.8 GLAD 3.3 core GLM # Info ## Configuration File A configuration file is located where the program is installed. These can be changed to achieve different results. You can enable and disable certain effects and also simulation steps which allows for experimentation. What the settings do is explained inside the configuration file. Be carefull however! There are no limitations to how large values you can set which can greatly affect the performance of your computer and the program itself. ## Modes (Keybindings) ## By pressing *Y* the default view will be shown. This field displays where dye has been applied. ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/08440735-a9ca-49b5-8ef1-f7777d6c2ad0) ## By pressing *U* the velocity field will be shown. This field displays the current velocity field shown with different colors that indicate the magnitude of the velocities in certain directions. ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/e5bdac5f-d5aa-4222-b994-b069bb2f9bd6) ## By pressing *Y* the divergence field will be shown. This field represents how much the fluid diverges from each cell in the grid. ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/f819d57b-b04b-4a33-91c3-94b530de1702) ## By pressing *Y* the pressure field will be shown. This field displays the pressure in each cell relative to the surrounding cells. ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/4e4c98a7-ce0c-4dbd-8ec5-308a14c96468) ### If you are having trouble it could depend on that the application doesn't have access to where it is installed. A possible solution is to run as *administrator*. ## Have Fun! # Screenshots ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/1e069b01-281d-4a11-a99a-3c7e36d54f70) ![a-Res256-dx6-dt0](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/05ec20bd-130e-489e-9494-e608976c70f3) ![Framebuffer](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/4d9bb89c-1ea5-49d1-9b85-710648db0fc8) By pressing the key 'O' you can view the difference in pressure ![-Res256-dx6-dt1](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/644655b9-4006-40ff-bf55-1be964cdc92b) By pressing the key 'I' you can get a simple view that shows how the fluid is moving and how it behaves ![image](https://github.com/BoilingT/3D-Summer-Engine/assets/34101043/408001be-5a2a-4d2d-971d-840bbc743396) ### Icon Credits Application Icon created by riajulislam: https://www.flaticon.com/free-icons/letter-f

近期下载者

相关文件


收藏者