#include "common.h"
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"
#include "db.h"
#include "nmg.h"
#include "raytrace.h"
#include "optical.h"
#include "plastic.h"
#include "light.h"
Include dependency graph for photonmap.h:
Go to the source code of this file.
Data Structures | |
struct | Photon |
struct | PSN |
struct | PhotonSearch |
struct | NearestPhotons |
struct | PNode |
struct | PhotonMap |
struct | IrradNode |
struct | IrradCache |
Defines | |
#define | PM_MAPS 4 |
#define | PM_GLOBAL 0 |
#define | PM_CAUSTIC 1 |
#define | PM_SHADOW 2 |
#define | PM_IMPORTANCE 3 |
#define | PM_SEM RT_SEM_LAST-1 |
#define | PM_SEM_INIT RT_SEM_LAST |
Functions | |
OPTICAL_EXPORT 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]) |
OPTICAL_EXPORT void | IrradianceEstimate (struct application *ap, vect_t irrad, point_t pos, vect_t normal, fastf_t rad, int np) |
Variables | |
OPTICAL_EXPORT int | PM_Activated |
Photon Mapping Activated, 0=off, 1=on. | |
OPTICAL_EXPORT int | PM_Visualize |
Photon Mapping Visualization of Irradiance Cache. |
P H O T O N M A P. H
Definition in file photonmap.h.