Realtime Fractal Renderer Documentation
mandelbrot_zoom.cl File Reference
#include "utils.cl"
#include "mandelbrot.cl"
Include dependency graph for mandelbrot_zoom.cl:

Go to the source code of this file.

Macros

#define CAMERA_POSITIONS_LENGTH   2
 
#define CAMERA_POSITIONS_ARRAY   { (float4)(0, -5, 0, 0), (float4)(0, -5, 0, 10) }
 
#define CAMERA_FACING_DIRECTIONS_LENGTH   1
 
#define CAMERA_FACING_DIRECTIONS_ARRAY   { (float4)(normalise((float3)(0, -1, 0)), 0) }
 
#define DISABLE_FREE_CAMERA_MANDELBROT   false
 

Functions

float2 getSamplePoint (float x, float y, float time)
 

Macro Definition Documentation

◆ CAMERA_FACING_DIRECTIONS_ARRAY

#define CAMERA_FACING_DIRECTIONS_ARRAY   { (float4)(normalise((float3)(0, -1, 0)), 0) }

Definition at line 7 of file mandelbrot_zoom.cl.

◆ CAMERA_FACING_DIRECTIONS_LENGTH

#define CAMERA_FACING_DIRECTIONS_LENGTH   1

Definition at line 6 of file mandelbrot_zoom.cl.

◆ CAMERA_POSITIONS_ARRAY

#define CAMERA_POSITIONS_ARRAY   { (float4)(0, -5, 0, 0), (float4)(0, -5, 0, 10) }

Definition at line 4 of file mandelbrot_zoom.cl.

◆ CAMERA_POSITIONS_LENGTH

#define CAMERA_POSITIONS_LENGTH   2

Definition at line 3 of file mandelbrot_zoom.cl.

◆ DISABLE_FREE_CAMERA_MANDELBROT

#define DISABLE_FREE_CAMERA_MANDELBROT   false

Definition at line 9 of file mandelbrot_zoom.cl.

Function Documentation

◆ getSamplePoint()

float2 getSamplePoint ( float  x,
float  y,
float  time 
)

Definition at line 11 of file mandelbrot_zoom.cl.