Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Context Class Reference

The Rendering Context. More...

#include <core/Context.h>

List of all members.

Public Member Functions

 Context (const Context &c)
Contextoperator= (const Context &c)
void reset ()
void resetLightSeed ()
void resetPathSeed ()
void resetIntersectSeed ()
void print ()

Public Attributes

double near
 initial ray.tmin value
double far
 initial ray.tmax value
double shutter_open
 shutter opening time
double shutter_close
 shutter closing time
ThreadContextthread_context
 Thread local context.
Scenescene
 The Scene being rendered.
int max_depth
 Maximum bounce depth allowed.
bool spectral_flag
 True if spectral rendering.
double wavelength
 Current wavelength.
Image Options
int ns
 take ns*ns samples
int nx
 width of rendered image
int ny
 height of rendered image
char * image_name
 name of the image to be written to disk
Tonemappertonemapper
 tonemapper to be run on rendered image
Cameracamera
 camera scene will be rendered with
ImageIOimageio
 ImageIO plugin for writing the image.
double gamma
 gamma value.
double gain
 linear gain factor.
Trace Arguments
int depth
 Current depth of path.
double time
 Time of path.
double intersect_seed
 Probabilistic intersection seed.
Vector2 light_seed
 Light sampling seed.
Vector2 path_seed
 Path sampling seed.
Ray ray
 The current Ray segment.


Detailed Description

The Rendering Context.

The rendering context contains rendering options (number of samples per pixel, image width and height, etc), the description of the current path (depth, time, the ray segment being traced, etc) and a ThreadContext for holding random number generators and random seeds.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 16:15:21 2005 for galileo by  doxygen 1.4.3