C# Class PSSMDemo.UniformLightCameraBuilder

Inheritance: LightCameraBuilder
显示文件 Open project: willcraftia/TestXna Class Usage Examples

Protected Properties

Property Type Description
LightSpaceToNormal Matrix
NormalToLightSpace Matrix
bodyB ConvexBody
bodyBPoints List
bodyLVS ConvexBody
bodyLVSPoints List

Public Methods

Method Description
UniformLightCameraBuilder ( ) : System

Protected Methods

Method Description
BuildCore ( Matrix &lightView, Matrix &lightProjection ) : void
CalculateBodyB ( ) : void
CalculateBodyLVS ( ) : void
CalculateStandardLightSpaceMatrices ( Matrix &lightView, Matrix &lightProjection ) : void
CreateLightLook ( Matrix &lightSpace, Matrix &result ) : void
CreateTransformToUnitCube ( Matrix &lightSpace, Matrix &result ) : void
CreateTransformedBodyBBox ( Matrix &matrix, Microsoft.Xna.Framework.BoundingBox &result ) : void
GetCameraDirectionLS ( Matrix &lightSpace, Vector3 &result ) : void
GetNearCameraPointWS ( Vector3 &result ) : void
TransformLightProjection ( Matrix &lightProjection, Matrix &matrix ) : void

Private Methods

Method Description
CreateTransformToUnitCube ( Vector3 &min, Vector3 &max, Matrix &result ) : void

Method Details

BuildCore() protected method

protected BuildCore ( Matrix &lightView, Matrix &lightProjection ) : void
lightView Matrix
lightProjection Matrix
return void

CalculateBodyB() protected method

protected CalculateBodyB ( ) : void
return void

CalculateBodyLVS() protected method

protected CalculateBodyLVS ( ) : void
return void

CalculateStandardLightSpaceMatrices() protected method

protected CalculateStandardLightSpaceMatrices ( Matrix &lightView, Matrix &lightProjection ) : void
lightView Matrix
lightProjection Matrix
return void

CreateLightLook() protected method

protected CreateLightLook ( Matrix &lightSpace, Matrix &result ) : void
lightSpace Matrix
result Matrix
return void

CreateTransformToUnitCube() protected method

protected CreateTransformToUnitCube ( Matrix &lightSpace, Matrix &result ) : void
lightSpace Matrix
result Matrix
return void

CreateTransformedBodyBBox() protected method

protected CreateTransformedBodyBBox ( Matrix &matrix, Microsoft.Xna.Framework.BoundingBox &result ) : void
matrix Matrix
result Microsoft.Xna.Framework.BoundingBox
return void

GetCameraDirectionLS() protected method

protected GetCameraDirectionLS ( Matrix &lightSpace, Vector3 &result ) : void
lightSpace Matrix
result Vector3
return void

GetNearCameraPointWS() protected method

protected GetNearCameraPointWS ( Vector3 &result ) : void
result Vector3
return void

TransformLightProjection() protected method

protected TransformLightProjection ( Matrix &lightProjection, Matrix &matrix ) : void
lightProjection Matrix
matrix Matrix
return void

UniformLightCameraBuilder() public method

public UniformLightCameraBuilder ( ) : System
return System

Property Details

LightSpaceToNormal protected_oe static_oe property

protected static Matrix LightSpaceToNormal
return Matrix

NormalToLightSpace protected_oe static_oe property

protected static Matrix NormalToLightSpace
return Matrix

bodyB protected_oe property

凸体 B。
protected ConvexBody bodyB
return ConvexBody

bodyBPoints protected_oe property

凸体 B の頂点のリスト。
protected List bodyBPoints
return List

bodyLVS protected_oe property

凸体 LVS。
protected ConvexBody bodyLVS
return ConvexBody

bodyLVSPoints protected_oe property

凸体 LVS の頂点のリスト。
protected List bodyLVSPoints
return List