DD::Image::DepthMapRender Class Reference

Depth map rendering for a shadow buffer. More...

Inherits DD::Image::Render.

List of all members.

Public Member Functions

 DepthMapRender (Node *node, int width=1024, int index=0)
void set_camera (CameraOp *light)
void set_geometry (GeoOp *geometry)
const GeoOpgeometry () const
int width () const
void _validate (bool)
CameraOprender_camera (int sample=0)
GeoOprender_geo (int sample=0)
Matrix4 camera_matrix (int sample=0)
Matrix4 projection_matrix (int sample=0)
const char * Class () const
const char * node_help () const

Protected Member Functions

void _request (int x, int y, int r, int t, ChannelMask, int)
bool generate_render_primitives ()
void engine (int y, int x, int r, ChannelMask, Row &)

Protected Attributes

int width_
 Size width/height in pixels of buffer.
GeoOpgeometry_
 Geometry list to render.


Detailed Description

Depth map rendering for a shadow buffer.

Member Function Documentation

bool DepthMapRender::generate_render_primitives (  )  [protected, virtual]

Matrix4 DepthMapRender::camera_matrix ( int  sample = 0  )  [virtual]

Returns the inverse camera matrix for a sample.

Reimplemented from DD::Image::Render.

References DD::Image::AxisOp::imatrix().



©2009 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk