KiCad PCB EDA Suite
|
#include "../../common_ogl/openGL_includes.h"
#include "accelerators/container_3d.h"
#include "accelerators/accelerator_3d.h"
#include "../render_3d_base.h"
#include "light.h"
#include "../post_shader_ssao.h"
#include "material.h"
#include <plugins/3dapi/c3dmodel.h>
#include <map>
Go to the source code of this file.
Classes | |
class | RENDER_3D_RAYTRACE |
Macros | |
#define | USE_SRGB_SPACE |
Typedefs | |
typedef std::vector< BLINN_PHONG_MATERIAL > | MODEL_MATERIALS |
Vector of materials. More... | |
typedef std::map< const S3DMODEL *, MODEL_MATERIALS > | MAP_MODEL_MATERIALS |
Maps a S3DMODEL pointer with a created BLINN_PHONG_MATERIAL vector. More... | |
Enumerations | |
enum | RT_RENDER_STATE { RT_RENDER_STATE_TRACING = 0 , RT_RENDER_STATE_POST_PROCESS_SHADE , RT_RENDER_STATE_POST_PROCESS_BLUR_AND_FINISH , RT_RENDER_STATE_FINISH , RT_RENDER_STATE_MAX } |
Functions | |
SFVEC3F | ConvertSRGBToLinear (const SFVEC3F &aSRGBcolor) |
#define USE_SRGB_SPACE |
Definition at line 217 of file render_3d_raytrace.h.
typedef std::map< const S3DMODEL* , MODEL_MATERIALS > MAP_MODEL_MATERIALS |
Maps a S3DMODEL pointer with a created BLINN_PHONG_MATERIAL vector.
Definition at line 43 of file render_3d_raytrace.h.
typedef std::vector< BLINN_PHONG_MATERIAL > MODEL_MATERIALS |
Vector of materials.
Definition at line 40 of file render_3d_raytrace.h.
enum RT_RENDER_STATE |
Enumerator | |
---|---|
RT_RENDER_STATE_TRACING | |
RT_RENDER_STATE_POST_PROCESS_SHADE | |
RT_RENDER_STATE_POST_PROCESS_BLUR_AND_FINISH | |
RT_RENDER_STATE_FINISH | |
RT_RENDER_STATE_MAX |
Definition at line 45 of file render_3d_raytrace.h.
Definition at line 430 of file render_3d_raytrace.cpp.
References SRGB_GAMA.
Referenced by RENDER_3D_RAYTRACE::addModels(), RENDER_3D_RAYTRACE::createItemsFromContainer(), RENDER_3D_RAYTRACE::createObject(), RENDER_3D_RAYTRACE::getModelMaterial(), RENDER_3D_RAYTRACE::insertHole(), RENDER_3D_RAYTRACE::Reload(), RENDER_3D_RAYTRACE::render(), and RENDER_3D_RAYTRACE::setupMaterials().