C# Class GenerateSelfShadowedBumpMap.GeneratorForm

Afficher le fichier Open project: Patapom/GodComplex Class Usage Examples

Méthodes publiques

Свойство Type Description
m_CB_Display ConstantBuffer
m_PS_Display Shader

Private Properties

Свойство Type Description
ApplyBilateralFiltering void
ApplyBilateralFiltering void
ComputeAO float
Generate void
GenerateRays void
GenerateRays void
Generate_CPU void
GetRegKey string
GetRegKeyFloat float
GetRegKeyInt int
InitializeComponent void
LoadHeightMap void
LoadNormalMap void
MessageBox DialogResult
MessageBox DialogResult
MessageBox DialogResult
MessageBox DialogResult
SampleHeightField float
SetRegKey void
UpdateProgress void
buttonGenerate_Click void
buttonReload_Click void
buttonTestBilateral_Click void
buttonTest_Click void
checkBoxShowsRGB_CheckedChanged void
checkBoxViewsRGB_CheckedChanged void
clearNormalToolStripMenuItem_Click void
floatTrackbarControlBrightness_SliderDragStop void
floatTrackbarControlContrast_SliderDragStop void
floatTrackbarControlGamma_SliderDragStop void
floatTrackbarControlMaxConeAngle_SliderDragStop void
integerTrackbarControlRaysCount_SliderDragStop void
outputPanelInputHeightMap_Click void
outputPanelInputHeightMap_DragDrop void
outputPanelInputHeightMap_DragEnter void
outputPanelInputNormalMap_Click void
outputPanelInputNormalMap_DragDrop void
outputPanelInputNormalMap_DragEnter void
radioButton1_CheckedChanged void
radioButtonAOfromRGB_CheckedChanged void
radioButtonDirOccB_CheckedChanged void
radioButtonDirOccG_CheckedChanged void
radioButtonDirOccRGBtimeAO_CheckedChanged void
radioButtonDirOccR_CheckedChanged void
radioButtonShowDirOccRGB_CheckedChanged void
viewportPanelResult_Click void

Méthodes publiques

Méthode Description
Build ( BuildArguments _args ) : void
GeneratorForm ( ) : System
MessageBox ( string _Text ) : DialogResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void
OnFormClosing ( FormClosingEventArgs e ) : void
OnLoad ( EventArgs e ) : void

Private Methods

Méthode Description
ApplyBilateralFiltering ( Renderer _Source, Renderer _Target, float _BilateralRadius, float _BilateralTolerance, bool _Wrap, int _ProgressBarMax ) : void
ApplyBilateralFiltering ( Texture2D _Source, Texture2D _Target, float _BilateralRadius, float _BilateralTolerance, bool _Wrap ) : void
ComputeAO ( int _LightIndex, uint _X, uint _Y, float _Z2HeightScale, float3 _rays ) : float

Computes the ambient occlusion of the specified coordinate by shooting N rays in a lobe oriented in the specified light direction

Generate ( ) : void
GenerateRays ( int _raysCount, StructuredBuffer _target ) : void
GenerateRays ( int _RaysCount, float _MaxConeAngle, Renderer _Target ) : void
Generate_CPU ( int _RaysCount ) : void
GetRegKey ( string _Key, string _Default ) : string
GetRegKeyFloat ( string _Key, float _Default ) : float
GetRegKeyInt ( string _Key, float _Default ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadHeightMap ( System _FileName ) : void
LoadNormalMap ( System _FileName ) : void
MessageBox ( string _Text, Exception _e ) : DialogResult
MessageBox ( string _Text, MessageBoxButtons _Buttons ) : DialogResult
MessageBox ( string _Text, MessageBoxButtons _Buttons, MessageBoxIcon _Icon ) : DialogResult
MessageBox ( string _Text, MessageBoxIcon _Icon ) : DialogResult
SampleHeightField ( float _X, float _Y ) : float
SetRegKey ( string _Key, string _Value ) : void
UpdateProgress ( ImageUtility _image, uint Y, bool _Bias ) : void
buttonGenerate_Click ( object sender, EventArgs e ) : void
buttonReload_Click ( object sender, EventArgs e ) : void
buttonTestBilateral_Click ( object sender, EventArgs e ) : void
buttonTest_Click ( object sender, EventArgs e ) : void
checkBoxShowsRGB_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxViewsRGB_CheckedChanged ( object sender, EventArgs e ) : void
clearNormalToolStripMenuItem_Click ( object sender, EventArgs e ) : void
floatTrackbarControlBrightness_SliderDragStop ( Nuaj _Sender, float _fStartValue ) : void
floatTrackbarControlContrast_SliderDragStop ( Nuaj _Sender, float _fStartValue ) : void
floatTrackbarControlGamma_SliderDragStop ( Nuaj _Sender, float _fStartValue ) : void
floatTrackbarControlMaxConeAngle_SliderDragStop ( Nuaj _Sender, float _fStartValue ) : void
integerTrackbarControlRaysCount_SliderDragStop ( Nuaj _Sender, int _StartValue ) : void
outputPanelInputHeightMap_Click ( object sender, EventArgs e ) : void
outputPanelInputHeightMap_DragDrop ( object sender, DragEventArgs e ) : void
outputPanelInputHeightMap_DragEnter ( object sender, DragEventArgs e ) : void
outputPanelInputNormalMap_Click ( object sender, EventArgs e ) : void
outputPanelInputNormalMap_DragDrop ( object sender, DragEventArgs e ) : void
outputPanelInputNormalMap_DragEnter ( object sender, DragEventArgs e ) : void
radioButton1_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonAOfromRGB_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonDirOccB_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonDirOccG_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonDirOccRGBtimeAO_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonDirOccR_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonShowDirOccRGB_CheckedChanged ( object sender, EventArgs e ) : void
viewportPanelResult_Click ( object sender, EventArgs e ) : void

Method Details

Build() public méthode

public Build ( BuildArguments _args ) : void
_args BuildArguments
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GeneratorForm() public méthode

public GeneratorForm ( ) : System
Résultat System

MessageBox() public méthode

public MessageBox ( string _Text ) : DialogResult
_Text string
Résultat DialogResult

OnClosing() protected méthode

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnFormClosing() protected méthode

protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

Property Details

m_CB_Display public_oe property

public ConstantBuffer m_CB_Display
Résultat ConstantBuffer

m_PS_Display public_oe property

public Shader m_PS_Display
Résultat Shader