BRL-CAD
Loading...
Searching...
No Matches
librt (Geometry I/O, Raytracing)
Collaboration diagram for librt (Geometry I/O, Raytracing):

Modules

 Definitions
 
 Debugging
 librt debugging information
 
 Geometry Primitives
 Functions and details of the internal forms used by the LIBRT geometry routines for the different solids.
 
 Geometry Database
 Definitions and functions supporting the reading, writing and working with BRL-CAD geometry database format.
 
 Raytracing
 Definitions and functions supporting raytracing BRL-CAD geometry.
 
 Timer
 
 Object API
 Primitive manipulation functions from former functab callback table.
 
 Solids Structure
 
 librt Specific Tolerances
 librt specific tolerance information.
 

Files

file  raytrace.h
 
file  photonmap.h
 Declarations related to Photon Mapping.
 

Data Structures

struct  Photon
 
struct  PSN
 
struct  PhotonSearch
 
struct  NearestPhotons
 
struct  PNode
 
struct  PhotonMap
 
struct  IrradNode
 
struct  IrradCache
 

Macros

#define PM_MAPS   4
 
#define PM_GLOBAL   0
 
#define PM_CAUSTIC   1
 
#define PM_SHADOW   2 /* Current not used */
 
#define PM_IMPORTANCE   3
 

Functions

void BuildPhotonMap (struct application *ap, point_t eye_pos, int cpus, int width, int height, int Hypersample, int GlobalPhotons, double CausticsPercent, int Rays, double AngularTolerance, int RandomSeed, int ImportanceMapping, int IrradianceHypersampling, int VisualizeIrradiance, double LightIntensity, char pmfile[255])
 
void IrradianceEstimate (struct application *ap, vect_t irrad, point_t pos, vect_t normal)
 

Variables

int PM_Activated
 Photon Mapping Activated, 0=off, 1=on.
 
int PM_Visualize
 Photon Mapping Visualization of Irradiance Cache.
 

Detailed Description

Macro Definition Documentation

◆ PM_MAPS

#define PM_MAPS   4

Definition at line 49 of file photonmap.h.

◆ PM_GLOBAL

#define PM_GLOBAL   0

Definition at line 51 of file photonmap.h.

◆ PM_CAUSTIC

#define PM_CAUSTIC   1

Definition at line 52 of file photonmap.h.

◆ PM_SHADOW

#define PM_SHADOW   2 /* Current not used */

Definition at line 53 of file photonmap.h.

◆ PM_IMPORTANCE

#define PM_IMPORTANCE   3

Definition at line 54 of file photonmap.h.

Function Documentation

◆ BuildPhotonMap()

void BuildPhotonMap ( struct application ap,
point_t  eye_pos,
int  cpus,
int  width,
int  height,
int  Hypersample,
int  GlobalPhotons,
double  CausticsPercent,
int  Rays,
double  AngularTolerance,
int  RandomSeed,
int  ImportanceMapping,
int  IrradianceHypersampling,
int  VisualizeIrradiance,
double  LightIntensity,
char  pmfile[255] 
)
extern

◆ IrradianceEstimate()

void IrradianceEstimate ( struct application ap,
vect_t  irrad,
point_t  pos,
vect_t  normal 
)
extern

Variable Documentation

◆ PM_Activated

int PM_Activated
extern

Photon Mapping Activated, 0=off, 1=on.

◆ PM_Visualize

int PM_Visualize
extern

Photon Mapping Visualization of Irradiance Cache.