RayMarching
0.0.1
Simple 3D engine based on a ray marching rendering
|
Container for const Camera Settings. More...
#include <settings.h>
Public Member Functions | |
Settings () | |
Public Attributes | |
unsigned int | width |
unsigned int | height |
double | viewAngle |
unsigned int | threads |
bool | interlace |
unsigned int | maxReflections |
unsigned int | maxSteps |
double | maxDistance |
double | epsilon |
Container for const Camera Settings.
Structure used for defining Camera settings in one place. Create default settings and then customize for your needs
|
inline |
double RayMarching::Settings::epsilon |
Maximum distance between object and the Camera ray
unsigned int RayMarching::Settings::height |
Canvas height
bool RayMarching::Settings::interlace |
Use interlacing (https://en.wikipedia.org/wiki/Interlaced_video)
double RayMarching::Settings::maxDistance |
Maximum rendering distance
unsigned int RayMarching::Settings::maxReflections |
Maximum number of SDFObject reflection (use 0 for no reflections)
unsigned int RayMarching::Settings::maxSteps |
Maximum number of Line steps
unsigned int RayMarching::Settings::threads |
Camera rendering threads
double RayMarching::Settings::viewAngle |
Camera viewAngle
unsigned int RayMarching::Settings::width |
Canvas width