|
Space Sim
|
| doxygen | |
| src | |
| core | |
| camera.c | |
| camera.h | |
| init.c | |
| init.h | |
| main.c | |
| main.h | |
| menu.c | |
| menu.h | |
| nk_config.h | |
| nk_impl.c | |
| shaders.c | |
| shaders.h | |
| types.h | |
| FFT | |
| bit_reversal.comp | Reverses the bits before performing the FFT |
| fft.comp | Performs an FFT on the water grid |
| water.comp | The setup that interpolates the water grid via time before performing the FFT |
| mesh | |
| chunk_zero.comp | |
| density.comp | Creates a density field from a chunk |
| indirect.comp | Emits a draw command for the generated mesh |
| marching_cubes.comp | Meshes a chunk using marching cubes |
| marching_cubes.h | Marching cubes static header with constants |
| mesh.c | |
| mesh.h | |
| particles | |
| bounds.comp | Computes the bounds over all particles in the sim |
| com22.comp | Propagates mass back up to the root while computing the center of mass and bounds for each node along the way |
| main.comp | Traverses the LBVH per Particle and computes acceleration based on forces |
| morton.comp | Computes mortons over each particle in the simulation for LBVH construction |
| next.comp | Traverses the LBVH top-down and assigns stackless pointers on its way down |
| pos.comp | Integrates positions after velocity is computed |
| radix_global.comp | Step two of radix sort |
| radix_new.comp | Step one of radix sort |
| radix_scatter.comp | Step three of radix sort |
| spawn.comp | Spawns new particles from accretion - unused |
| tree.comp | Constructs an LBVH over the radix sorted mortons |
| treecount.comp | |
| zero.comp | Zeros out the min and the max before computing the bounds over all particles |
| render | |
| atmosphere.frag | Generates the final color for Rayleigh-Mie based on incoming coefficients |
| atmosphere.vert | Raymarches Rayleigh-Mie through the atmosphere against a sphere |
| atmosphere_from_space.vert | Raymarches Rayleigh-Mie through the atmosphere against a sphere from outside of the sphere |
| clouds.frag | |
| clouds.vert | |
| main.frag | Shades particles based on lighting and particle material makeup |
| main.vert | Projects particles as a circle quad |
| mesh.frag | Renders the mesh planet surface and calculates light |
| mesh.vert | Renders the mesh planet surface, pushing out by planet radius |
| postprocess.frag | |
| postprocess.vert | |
| shadow.frag | |
| shadow.vert | |
| sky.frag | |
| sky.vert | |
| water.frag | The shader that handles water shading and effects |
| water.vert | The shader that handles water vertex interpolation and normal sampling |
| utilities | |
| mathf.h |