#include "simplexnoise1234.cl"
#include "types.cl"
#include "sdf.cl"
#include "main.cl"
Go to the source code of this file.
|
| #define | CAMERA_POSITIONS_LENGTH 1 |
| |
| #define | CAMERA_POSITIONS_ARRAY { (float4)(0, 0, 0, 0) } |
| |
| #define | CAMERA_FACING_DIRECTIONS_LENGTH 1 |
| |
| #define | CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(1, 0, 0)), 0) } |
| |
| #define | FORCE_FREE_CAMERA true |
| |
| #define | CAMERA_SPEED 10.0f |
| |
| #define | MAXIMUM_MARCH_STEPS 200 |
| |
| #define | MAXIMUM_MARCH_DISTANCE 1000.0f |
| |
| #define | SCENE_BACKGROUND_COLOUR (float3)(0.1f, 0.1f, 0.1f) |
| |
| #define | CAMERA_FOCUS_DISTANCE 0.1f |
| |
| #define | SCENE_GLOW_COLOUR (float3)(0.8f, 0.8f, 0.8f) |
| |
| #define | SCENE_MAX_GLOW_DISTANCE 1.05f |
| |
| #define | SCALE 0.05f |
| |
| #define | TIME_SCALE 0.33f |
| |
| #define | REPETITION (float3)(10.0f, 10.0f, 10.0f) |
| |
| #define | REPETITION_HALF REPETITION / 2 |
| |
◆ CAMERA_FACING_DIRECTIONS_ARRAY
| #define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(1, 0, 0)), 0) } |
◆ CAMERA_FACING_DIRECTIONS_LENGTH
| #define CAMERA_FACING_DIRECTIONS_LENGTH 1 |
◆ CAMERA_FOCUS_DISTANCE
| #define CAMERA_FOCUS_DISTANCE 0.1f |
◆ CAMERA_POSITIONS_ARRAY
| #define CAMERA_POSITIONS_ARRAY { (float4)(0, 0, 0, 0) } |
◆ CAMERA_POSITIONS_LENGTH
| #define CAMERA_POSITIONS_LENGTH 1 |
◆ CAMERA_SPEED
| #define CAMERA_SPEED 10.0f |
◆ FORCE_FREE_CAMERA
| #define FORCE_FREE_CAMERA true |
◆ MAXIMUM_MARCH_DISTANCE
| #define MAXIMUM_MARCH_DISTANCE 1000.0f |
◆ MAXIMUM_MARCH_STEPS
| #define MAXIMUM_MARCH_STEPS 200 |
◆ REPETITION
| #define REPETITION (float3)(10.0f, 10.0f, 10.0f) |
◆ REPETITION_HALF
◆ SCALE
◆ SCENE_BACKGROUND_COLOUR
| #define SCENE_BACKGROUND_COLOUR (float3)(0.1f, 0.1f, 0.1f) |
◆ SCENE_GLOW_COLOUR
| #define SCENE_GLOW_COLOUR (float3)(0.8f, 0.8f, 0.8f) |
◆ SCENE_MAX_GLOW_DISTANCE
| #define SCENE_MAX_GLOW_DISTANCE 1.05f |
◆ TIME_SCALE
◆ DE()
| float DE |
( |
float3 |
position, |
|
|
float |
time |
|
) |
| |
◆ getLight()
| Light getLight |
( |
float |
time | ) |
|
◆ getMaterial()
| Material getMaterial |
( |
float3 |
position, |
|
|
float |
time |
|
) |
| |