C# Class PSSMDemo.LiSPSMLightCameraBuilder

LiSPSM のライト カメラを構築するクラスです。
Inheritance: UniformLightCameraBuilder
显示文件 Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
LiSPSMLightCameraBuilder ( ) : System

Protected Methods

Method Description
BuildCore ( Matrix &lightView, Matrix &lightProjection ) : void

Private Methods

Method Description
CalculateOldOptimalN ( ) : float
CalculateOptimalN ( Matrix &lightSpace, Microsoft.Xna.Framework.BoundingBox &bodyBBoxLS ) : float
CalculateZ0LS ( Matrix &lightSpace, Vector3 &cameraWS, Microsoft.Xna.Framework.BoundingBox &bodyBBoxLS, Vector3 &result ) : void
CreateLiSPSMProjection ( Matrix &lightSpace, Matrix &result ) : void
CreatePerspective ( float left, float right, float bottom, float top, float near, float far, Matrix &result ) : void
ResolveAdjustOptimalNFactor ( ) : void
ResolveN ( Matrix &lightSpace, Microsoft.Xna.Framework.BoundingBox &bodyBBoxLS ) : float

Method Details

BuildCore() protected method

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

LiSPSMLightCameraBuilder() public method

public LiSPSMLightCameraBuilder ( ) : System
return System