Blender V2.61 - r43446
Functions

kernel_camera.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN __device float2 camera_sample_aperture (KernelGlobals *kg, float u, float v)
__device void camera_sample_perspective (KernelGlobals *kg, float raster_x, float raster_y, float lens_u, float lens_v, Ray *ray)
__device void camera_sample_orthographic (KernelGlobals *kg, float raster_x, float raster_y, Ray *ray)
__device void camera_sample (KernelGlobals *kg, int x, int y, float filter_u, float filter_v, float lens_u, float lens_v, Ray *ray)

Function Documentation

__device void camera_sample ( KernelGlobals *  kg,
int  x,
int  y,
float  filter_u,
float  filter_v,
float  lens_u,
float  lens_v,
Ray ray 
)
CCL_NAMESPACE_BEGIN __device float2 camera_sample_aperture ( KernelGlobals *  kg,
float  u,
float  v 
)
__device void camera_sample_orthographic ( KernelGlobals *  kg,
float  raster_x,
float  raster_y,
Ray ray 
)
__device void camera_sample_perspective ( KernelGlobals *  kg,
float  raster_x,
float  raster_y,
float  lens_u,
float  lens_v,
Ray ray 
)