Update project roadmap and improve rendering logic

Changed the pixel rendering function to include anti-aliasing using Sobol sampling in Renderer.c.
Changed the path tracing function to adjust light shading context and Russian roulette logic in PathTracing.c.
Changed the normal calculation logic to use a ternary operator in RayIntersection.c.
Changed the Sobol sample calculation for consistency in Debug.c.
Removed some items from the project roadmap in README.md.
Modified the sample count from 64 to 16 in main.c, affecting rendering quality and performance.
This commit is contained in:
2025-04-29 20:43:04 +09:00
parent fb1ff5cac6
commit 2c0d5a2364
8 changed files with 34 additions and 27 deletions

15
header/Algorithm/ATrous.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef ATROUS_H
#define ATROUS_H
// TODO: Since a trous requires albedo and normal buffer, we may need to implement aov first.
const float kernel[5][5] =
{
{1.0f/256, 4.0f/256, 6.0f/256, 4.0f/256, 1.0f/256},
{4.0f/256,16.0f/256,24.0f/256,16.0f/256, 4.0f/256},
{6.0f/256,24.0f/256,36.0f/256,24.0f/256, 6.0f/256},
{4.0f/256,16.0f/256,24.0f/256,16.0f/256, 4.0f/256},
{1.0f/256, 4.0f/256, 6.0f/256, 4.0f/256, 1.0f/256}
};
#endif // ATROUS_H