Realtime Fractal Renderer Documentation
planet_benchmark.cl
Go to the documentation of this file.
1#define CAMERA_POSITIONS_LENGTH 2
2#define CAMERA_POSITIONS_ARRAY { (float4)(100, 0, 0, 5), (float4)(50, 0, 0, 15)}
3
4#define CAMERA_FACING_DIRECTIONS_LENGTH 1
5#define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(1, 0, 0)), 0) }
6
7#define DO_BENCHMARK
8#define BENCHMARK_START_STOP_TIME (float2)(0.0f, 20.0f)
9#define CAMERA_DO_LOOP false
10
11#define BENCHMARK
12
13#include "planet.cl"
14
15
16