Realtime Fractal Renderer Documentation
mandelbulb_benchmark.cl
Go to the documentation of this file.
1
#define CAMERA_POSITIONS_LENGTH 3
2
#define CAMERA_POSITIONS_ARRAY { (float4)(-4.0, -1.5, 0.0, 5), (float4)(-2.0, -1.4, 0.0, 15), (float4)(-0.6, -1.5, 0.0, 25) }
3
4
#define CAMERA_FACING_DIRECTIONS_LENGTH 3
5
#define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(-0.7, -0.25, 0.0)), 5), (float4)(normalise((float3)(-0.7, -0.3, 0.0)), 15), (float4)(normalise((float3)(-0.7, -0.6, 0.0)), 25) }
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 "
mandelbulb.cl
"
mandelbulb.cl
FractalGeometryRenderer
kernels
benchmarks
mandelbulb
mandelbulb_benchmark.cl
Generated by
1.9.3