Realtime Fractal Renderer Documentation
spheres_benchmark.cl
Go to the documentation of this file.
1#define CAMERA_POSITIONS_LENGTH 4
2#define CAMERA_POSITIONS_ARRAY { (float4)(1005, 1005, 1005, 1), (float4)(1005, 1005, 1025, 11), (float4)(1005, 1005, 1025, 23), (float4)(1055, 965, 975, 31) }
3
4#define CAMERA_FACING_DIRECTIONS_LENGTH 2
5#define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(0, 0, -1)), 12), (float4)(normalise((float3)(-1, 0, 1)), 22) }
6
7#define DO_BENCHMARK
8#define BENCHMARK_START_STOP_TIME (float2)(0.0f, 30.0f)
9#define CAMERA_DO_LOOP false
10
11#define BENCHMARK
12
13#include "infinite_spheres.cl"
14
15
16