photonmap.h File Reference

Declarations related to Photon Mapping. More...

#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.


Detailed Description

Declarations related to Photon Mapping.

P H O T O N M A P. H

Author:
Justin Shumaker
Source
Bldg 238
The U. S. Army Research Laboratory
Aberdeen Proving Ground, Maryland 21005-5066
@(#)$Header:

Definition in file photonmap.h.


Generated on Mon Sep 18 01:25:00 2006 for BRL-CAD by  doxygen 1.4.6