Realtime Fractal Renderer Documentation
sierpinski_benchmark.cl
Go to the documentation of this file.
1#define CAMERA_POSITIONS_LENGTH 5
2#define CAMERA_POSITIONS_ARRAY { (float4)(12, -5, 0, 0), (float4)(12, -0.33, -0.33, 2.5), (float4)(3, -0.33, -0.33, 7.5), (float4)(-1, -0.33, -0.33, 20), (float4)(-1, -2, -0.5, 22.5) }
3
4#define CAMERA_FACING_DIRECTIONS_LENGTH 4
5#define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(12, -5, 0)), 0), (float4)(normalise((float3)(1, 0, 0)), 2.5), (float4)(normalise((float3)(1, 0, 0)), 20), (float4)(normalise((float3)(4, -2, -0.5)), 22.5) }
6
7#define BENCHMARK_START_STOP_TIME (float2)(0.0f, 25.0f)
8#define DO_BENCHMARK
9#define CAMERA_DO_LOOP false
10
11//#define FORCE_FREE_CAMERA true
12
13#define BENCHMARK
14