16 lines
570 B
C
16 lines
570 B
C
#ifndef PATH_TRACING_H
|
|
#define PATH_TRACING_H
|
|
|
|
#include "Algorithm/RayIntersection.h"
|
|
#include "Material/Material.h"
|
|
#include "Geometry/Triangle.h"
|
|
#include "Rendering/AOV.h"
|
|
#include "Rendering/Scene.h"
|
|
|
|
// Unified AOV integrator:
|
|
// - If only surface AOVs are requested, executes a single-hit fast path.
|
|
// - If beauty/direct/indirect are requested, runs the full path tracer and buckets contributions.
|
|
void path_trace_aov(const scene_t* scene, ray_t ray, uint32_t sample_index, uint16_t max_depth, aov_flags_t aov_flags, aov_output_t* out);
|
|
|
|
#endif // PATH_TRACING_H
|