KiCad PCB EDA Suite
|
#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_BASE |
Macros | |
#define | USE_SRGB_SPACE |
Typedefs | |
typedef std::vector< BLINN_PHONG_MATERIAL > | MODEL_MATERIALS |
Vector of materials. | |
typedef std::map< const S3DMODEL *, MODEL_MATERIALS > | MAP_MODEL_MATERIALS |
Maps a S3DMODEL pointer with a created BLINN_PHONG_MATERIAL vector. | |
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) |
SFVEC4F | ConvertSRGBAToLinear (const SFVEC4F &aSRGBAcolor) |
#define USE_SRGB_SPACE |
Definition at line 212 of file render_3d_raytrace_base.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 42 of file render_3d_raytrace_base.h.
typedef std::vector< BLINN_PHONG_MATERIAL > MODEL_MATERIALS |
Vector of materials.
Definition at line 39 of file render_3d_raytrace_base.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 44 of file render_3d_raytrace_base.h.
Definition at line 278 of file render_3d_raytrace_base.cpp.
References ConvertSRGBToLinear().
Referenced by RENDER_3D_RAYTRACE_BASE::render().
Definition at line 267 of file render_3d_raytrace_base.cpp.
References SRGB_GAMA.
Referenced by RENDER_3D_RAYTRACE_BASE::addModels(), ConvertSRGBAToLinear(), RENDER_3D_RAYTRACE_BASE::createItemsFromContainer(), RENDER_3D_RAYTRACE_BASE::createObject(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), RENDER_3D_RAYTRACE_BASE::insertHole(), RENDER_3D_RAYTRACE_BASE::Reload(), and RENDER_3D_RAYTRACE_BASE::setupMaterials().