TinyRaytracer 0.1
A simple C++ raytracer
|
#include "../include/all.hpp"
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <climits>
#include <memory>
Functions | |
void | parseInput (char *argv[]) |
void | parseLine (std::vector< std::string > words) |
Variables | |
int | width = 0 |
int | height = 0 |
std::string | filename = "file.txt" |
RGB | color = {1.0,1.0,1.0} |
int | bounces = 4 |
int | aa = 0 |
double | dof_focus = 0 |
double | dof_lens = 0 |
vec3 | forward (0.0, 0.0,-1.0) |
vec3 | right (1.0, 0.0, 0.0) |
vec3 | up (0.0, 1.0, 0.0) |
point3 | eye = {0.0,0.0,0.0} |
vec3 | target_up (0.0, 1.0, 0.0) |
double | expose = INT_MAX |
bool | fisheye = false |
bool | panorama = false |
double | ior = 1.458 |
double | rough = 0 |
int | gi = 0 |
RGB | trans |
RGB | shine |
std::string | texture = "none" |
Texcoord | texcoord |
std::vector< shared_ptr< Object > > | objects = {} |
shared_ptr< Object > | bvh_head = nullptr |
std::vector< Sun > | sun = {} |
std::vector< Bulb > | bulbs = {} |
std::vector< Plane > | planes = {} |
std::vector< Vertex > | vertices |
std::vector< Triangle > | triangles |