RayMarching  0.0.1
Simple 3D engine based on a ray marching rendering
Public Member Functions | Public Attributes | List of all members
RayMarching::Settings Struct Reference

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
 

Detailed Description

Container for const Camera Settings.

Structure used for defining Camera settings in one place. Create default settings and then customize for your needs

Constructor & Destructor Documentation

◆ Settings()

RayMarching::Settings::Settings ( )
inline

Default Settings constructor based on a const.h expressions

Member Data Documentation

◆ epsilon

double RayMarching::Settings::epsilon

Maximum distance between object and the Camera ray

◆ height

unsigned int RayMarching::Settings::height

Canvas height

◆ interlace

bool RayMarching::Settings::interlace

◆ maxDistance

double RayMarching::Settings::maxDistance

Maximum rendering distance

◆ maxReflections

unsigned int RayMarching::Settings::maxReflections

Maximum number of SDFObject reflection (use 0 for no reflections)

◆ maxSteps

unsigned int RayMarching::Settings::maxSteps

Maximum number of Line steps

◆ threads

unsigned int RayMarching::Settings::threads

Camera rendering threads

◆ viewAngle

double RayMarching::Settings::viewAngle

Camera viewAngle

◆ width

unsigned int RayMarching::Settings::width

Canvas width


The documentation for this struct was generated from the following file: