Wiki > TV3D65 Index > TVMathLibrary

TVMatrixClipPlaneProjection

DESCRIPTION

Clips camera projection matrix by a plane.

DECLARATION

VB.NET TVMatrixClipPlaneProjection(retMatrix As TV_3DMATRIX , mCameraMatrix As TV_3DMATRIX , mOldProjection As TV_3DMATRIX , mReflectionPlane As TV_PLANE)
C++ void TVMatrixClipPlaneProjection(cTV_3DMATRIX* retMatrix , cTV_3DMATRIX* mCameraMatrix , cTV_3DMATRIX* mOldProjection , cTV_PLANE* mReflectionPlane)

PARAMETERS

NAMEOPTIONALDESCRIPTION
mCameraMatrixNoCamera transformation matrix
mOldProjectionNoProjection matrix
mReflectionPlaneNoClip plane

RETURN VALUE

NAMEOPTIONALDESCRIPTION
retMatrixNoNew projection matrix

EXAMPLES

ExampleBasic example.

TIPS

  • Can be used to add clip plane and avoiding adding hardware clip planes.
  • Can be used to clip area under water when doing reflections.
 
tvmathlibrary/tvmatrixclipplaneprojection.txt · Last modified: 2010/05/07 14:53 by 129.215.4.85