diff --git a/CodeWalker.Core/GameFiles/Resources/Drawable.cs b/CodeWalker.Core/GameFiles/Resources/Drawable.cs
index b4768a3..2d1d79b 100644
--- a/CodeWalker.Core/GameFiles/Resources/Drawable.cs
+++ b/CodeWalker.Core/GameFiles/Resources/Drawable.cs
@@ -4505,11 +4505,8 @@ namespace CodeWalker.GameFiles
case LightType.Point:
return Quaternion.Identity;
case LightType.Spot:
- tx = Vector3.Normalize(Tangent);
- ty = Vector3.Normalize(Vector3.Cross(Direction, Tangent));
- break;
case LightType.Capsule:
- tx = -Vector3.Normalize(Tangent);
+ tx = Vector3.Normalize(Tangent);
ty = Vector3.Normalize(Vector3.Cross(Direction, Tangent));
break;
}
diff --git a/CodeWalker.Shaders/CodeWalker.Shaders.vcxproj b/CodeWalker.Shaders/CodeWalker.Shaders.vcxproj
index b5d6e35..296ae88 100644
--- a/CodeWalker.Shaders/CodeWalker.Shaders.vcxproj
+++ b/CodeWalker.Shaders/CodeWalker.Shaders.vcxproj
@@ -27,26 +27,26 @@
Application
true
- v142
+ v143
MultiByte
Application
false
- v142
+ v143
true
MultiByte
Application
true
- v142
+ v143
MultiByte
Application
false
- v142
+ v143
true
MultiByte
diff --git a/CodeWalker.Shaders/LightPS.hlsli b/CodeWalker.Shaders/LightPS.hlsli
index a7b27ec..101b8c2 100644
--- a/CodeWalker.Shaders/LightPS.hlsli
+++ b/CodeWalker.Shaders/LightPS.hlsli
@@ -38,6 +38,10 @@ cbuffer PSLightInstVars : register(b2)
uint InstType;
float3 InstCullingPlaneNormal;
float InstCullingPlaneOffset;
+ uint InstCullingPlaneEnable;
+ uint InstUnused1;
+ uint InstUnused2;
+ uint InstUnused3;
}
@@ -170,19 +174,20 @@ float4 DeferredLight(float3 camRel, float3 norm, float4 diffuse, float4 specular
{
float3 srpos = InstPosition - camRel; //light position relative to surface position
float ldist = length(srpos);
+ if (InstCullingPlaneEnable == 1)
+ {
+ float d = dot(srpos, InstCullingPlaneNormal) - InstCullingPlaneOffset;
+ if (d > 0) return 0;
+ }
if (InstType == 4)//capsule
{
- float3 ext = InstDirection.xyz * (InstCapsuleExtent.y * 0.5);
+ float3 ext = InstDirection.xyz * (InstCapsuleExtent.x * 0.5);
float4 lsn = GetLineSegmentNearestPoint(srpos, ext, -ext);
ldist = lsn.w;
srpos.xyz = lsn.xyz;
}
if (ldist > InstFalloff) return 0;
if (ldist <= 0) return 0;
-
- float d = dot(srpos, InstCullingPlaneNormal) - InstCullingPlaneOffset;
- if (d > 0) return 0;
-
float4 rgbi = float4(InstColour, InstIntensity);
float3 lcol = rgbi.rgb;// * rgbi.a; // * 5.0f;
float3 ldir = srpos / ldist;
diff --git a/CodeWalker.Shaders/LightVS.hlsl b/CodeWalker.Shaders/LightVS.hlsl
index b5c4a18..1997784 100644
--- a/CodeWalker.Shaders/LightVS.hlsl
+++ b/CodeWalker.Shaders/LightVS.hlsl
@@ -56,7 +56,7 @@ VS_Output main(float4 ipos : POSITION, uint iid : SV_InstanceID)
else if (InstType == 4)//capsule
{
float3 cpos = ipos.xyz * extent;
- cpos.y += abs(InstCapsuleExtent.y) * (ipos.w - 0.5);
+ cpos.y += abs(InstCapsuleExtent.x) * (ipos.w - 0.5);
opos = (cpos.x * InstTangentX.xyz) + (cpos.y * InstDirection.xyz) + (cpos.z * InstTangentY.xyz);
}
diff --git a/CodeWalker/Forms/ModelForm.Designer.cs b/CodeWalker/Forms/ModelForm.Designer.cs
index f87b728..bbfddc3 100644
--- a/CodeWalker/Forms/ModelForm.Designer.cs
+++ b/CodeWalker/Forms/ModelForm.Designer.cs
@@ -100,6 +100,10 @@
this.ControlLightDirCheckBox = new System.Windows.Forms.CheckBox();
this.SkydomeCheckBox = new System.Windows.Forms.CheckBox();
this.TimeOfDayLabel = new System.Windows.Forms.Label();
+ this.OptionsHelperTabPage = new System.Windows.Forms.TabPage();
+ this.OptionsShowOutlinesCheckBox = new System.Windows.Forms.CheckBox();
+ this.SnapAngleUpDown = new System.Windows.Forms.NumericUpDown();
+ this.label33 = new System.Windows.Forms.Label();
this.ToolsPanelHideButton = new System.Windows.Forms.Button();
this.ToolsDragPanel = new System.Windows.Forms.Panel();
this.ToolsPanelShowButton = new System.Windows.Forms.Button();
@@ -119,6 +123,8 @@
this.OptionsRenderTabPage.SuspendLayout();
this.OptionsLightingTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).BeginInit();
+ this.OptionsHelperTabPage.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.SnapAngleUpDown)).BeginInit();
this.SuspendLayout();
//
// StatsUpdateTimer
@@ -544,6 +550,7 @@
//
this.OptionsTabControl.Controls.Add(this.OptionsRenderTabPage);
this.OptionsTabControl.Controls.Add(this.OptionsLightingTabPage);
+ this.OptionsTabControl.Controls.Add(this.OptionsHelperTabPage);
this.OptionsTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.OptionsTabControl.Location = new System.Drawing.Point(0, 0);
this.OptionsTabControl.Name = "OptionsTabControl";
@@ -932,6 +939,59 @@
this.TimeOfDayLabel.TabIndex = 5;
this.TimeOfDayLabel.Text = "12:00";
//
+ // OptionsHelperTabPage
+ //
+ this.OptionsHelperTabPage.Controls.Add(this.OptionsShowOutlinesCheckBox);
+ this.OptionsHelperTabPage.Controls.Add(this.SnapAngleUpDown);
+ this.OptionsHelperTabPage.Controls.Add(this.label33);
+ this.OptionsHelperTabPage.Location = new System.Drawing.Point(4, 22);
+ this.OptionsHelperTabPage.Margin = new System.Windows.Forms.Padding(4);
+ this.OptionsHelperTabPage.Name = "OptionsHelperTabPage";
+ this.OptionsHelperTabPage.Padding = new System.Windows.Forms.Padding(4);
+ this.OptionsHelperTabPage.Size = new System.Drawing.Size(233, 474);
+ this.OptionsHelperTabPage.TabIndex = 2;
+ this.OptionsHelperTabPage.Text = "Helpers";
+ this.OptionsHelperTabPage.UseVisualStyleBackColor = true;
+ //
+ // OptionsShowOutlinesCheckBox
+ //
+ this.OptionsShowOutlinesCheckBox.AutoSize = true;
+ this.OptionsShowOutlinesCheckBox.Checked = true;
+ this.OptionsShowOutlinesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.OptionsShowOutlinesCheckBox.Location = new System.Drawing.Point(9, 7);
+ this.OptionsShowOutlinesCheckBox.Margin = new System.Windows.Forms.Padding(4);
+ this.OptionsShowOutlinesCheckBox.Name = "OptionsShowOutlinesCheckBox";
+ this.OptionsShowOutlinesCheckBox.Size = new System.Drawing.Size(120, 17);
+ this.OptionsShowOutlinesCheckBox.TabIndex = 37;
+ this.OptionsShowOutlinesCheckBox.Text = "Show Light Outlines";
+ this.OptionsShowOutlinesCheckBox.UseVisualStyleBackColor = true;
+ this.OptionsShowOutlinesCheckBox.CheckedChanged += new System.EventHandler(this.OptionsShowOutlinesCheckBox_CheckedChanged);
+ //
+ // SnapAngleUpDown
+ //
+ this.SnapAngleUpDown.DecimalPlaces = 1;
+ this.SnapAngleUpDown.Location = new System.Drawing.Point(130, 52);
+ this.SnapAngleUpDown.Margin = new System.Windows.Forms.Padding(4);
+ this.SnapAngleUpDown.Maximum = new decimal(new int[] {
+ 180,
+ 0,
+ 0,
+ 0});
+ this.SnapAngleUpDown.Name = "SnapAngleUpDown";
+ this.SnapAngleUpDown.Size = new System.Drawing.Size(95, 20);
+ this.SnapAngleUpDown.TabIndex = 34;
+ this.SnapAngleUpDown.ValueChanged += new System.EventHandler(this.SnapAngleUpDown_ValueChanged);
+ //
+ // label33
+ //
+ this.label33.AutoSize = true;
+ this.label33.Location = new System.Drawing.Point(8, 54);
+ this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label33.Name = "label33";
+ this.label33.Size = new System.Drawing.Size(91, 13);
+ this.label33.TabIndex = 33;
+ this.label33.Text = "Snap angle (deg):";
+ //
// ToolsPanelHideButton
//
this.ToolsPanelHideButton.Location = new System.Drawing.Point(3, 3);
@@ -1011,6 +1071,9 @@
this.OptionsLightingTabPage.ResumeLayout(false);
this.OptionsLightingTabPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).EndInit();
+ this.OptionsHelperTabPage.ResumeLayout(false);
+ this.OptionsHelperTabPage.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.SnapAngleUpDown)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1093,5 +1156,9 @@
private System.Windows.Forms.ToolStripMenuItem SaveAllTexturesMenuButton;
private System.Windows.Forms.ToolStripMenuItem SaveSharedTexturesMenuButton;
private System.Windows.Forms.FolderBrowserDialog FolderBrowserDialog;
+ private System.Windows.Forms.TabPage OptionsHelperTabPage;
+ private System.Windows.Forms.NumericUpDown SnapAngleUpDown;
+ private System.Windows.Forms.Label label33;
+ private System.Windows.Forms.CheckBox OptionsShowOutlinesCheckBox;
}
}
\ No newline at end of file
diff --git a/CodeWalker/Forms/ModelForm.cs b/CodeWalker/Forms/ModelForm.cs
index 37965d9..2d37028 100644
--- a/CodeWalker/Forms/ModelForm.cs
+++ b/CodeWalker/Forms/ModelForm.cs
@@ -623,10 +623,34 @@ namespace CodeWalker.Forms
//called during UpdateWidgets()
if (newscale == oldscale) return;
if (selectedLight == null || lightForm == null || !editingLights) return;
- selectedLight.Falloff = newscale.Z;
+ if (selectedLight.Type == LightType.Capsule)
+ {
+ selectedLight.Falloff = newscale.X;
+ selectedLight.Extent = new Vector3(newscale.Z, newscale.Z, newscale.Z);
+ }
+ else if (selectedLight.Type == LightType.Spot)
+ {
+ selectedLight.Falloff = newscale.Z;
+ selectedLight.ConeInnerAngle = newscale.Y;
+ selectedLight.ConeOuterAngle = newscale.X;
+ }
+ else
+ {
+ selectedLight.Falloff = newscale.Z;
+ }
selectedLight.UpdateRenderable = true;
}
+ private void SetRotationSnapping(float degrees)
+ {
+ Widget.SnapAngleDegrees = degrees;
+ var cval = (float)SnapAngleUpDown.Value;
+ if (cval != degrees)
+ {
+ SnapAngleUpDown.Value = (decimal)degrees;
+ }
+
+ }
private void RenderSingleItem()
{
@@ -2030,6 +2054,10 @@ namespace CodeWalker.Forms
private void ModelForm_MouseDown(object sender, MouseEventArgs e)
{
+ if (ActiveControl is NumericUpDown)
+ {
+ ActiveControl = null;
+ }
switch (e.Button)
{
case MouseButtons.Left: MouseLButtonDown = true; break;
@@ -2642,5 +2670,18 @@ namespace CodeWalker.Forms
{
SetWidgetMode(ToolbarScaleButton.Checked ? WidgetMode.Default : WidgetMode.Scale);
}
+
+ private void OptionsShowOutlinesCheckBox_CheckedChanged(object sender, EventArgs e)
+ {
+ showLightGizmos = OptionsShowOutlinesCheckBox.Checked;
+ }
+
+ private void SnapAngleUpDown_ValueChanged(object sender, EventArgs e)
+ {
+ if (Widget != null)
+ {
+ SetRotationSnapping((float)SnapAngleUpDown.Value);
+ }
+ }
}
}
diff --git a/CodeWalker/Forms/ModelForm.resx b/CodeWalker/Forms/ModelForm.resx
index f9d093c..83c9fb6 100644
--- a/CodeWalker/Forms/ModelForm.resx
+++ b/CodeWalker/Forms/ModelForm.resx
@@ -130,8 +130,8 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKwSURBVDhPbVPbTlpREOUL+jn+gIn3xHiPEW8YNHIIKiJq
- rKAiQUtVij2aoqA0Ira1SSWRi1a8Ja0Wqla08aHVhtL4YH0wRh/64OqZAXuzk+xkZ+9Za9as2Vv2b1xd
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKwSURBVDhPbVNtL5thFO4v2M/xByTeE/EeUW+VEn2aoqqI
+ aVFNWYeu9pCVli6qtlkyTfSFqbdkY+0wZfFhY+m6+GASifBhH1x7zmntzU5yJ3fu+1zXuc517lv2b1xd
XaVdX187Li8vTy4uLn7Qoj2d0V0q7W7c3NzckxI859/PEYlEsLjox5x3DlNT03BPuxEIBHF6egrKodwU
LBl0IFXYPjo6YuDr5RWsrIQR8AcxP/8STqcLw8Mj6Ovrw+bGJij3LxJiPTz8CN+CDxvrm9jd2cOHvX1s
bW0jFAzBKykZGxtHf78ZOp0O4XCYldyC087OzlhuMBBCNBLFyfEXJBLfEIsdYG1tnVU4njgwYBmAXq+H
@@ -141,8 +141,8 @@
MJvNMBgMbJJtxAbxsciSR+2jsFofSuMzob29A4IgoKqqCoWFhaipqUm2QEZQj83Nzejs6ITRYORqtHp7
etHVdZ9Hp1KpGFRSUoLc3FzY7fakiTQKGglJa2xsRJOmCS0tWmi1WiYVBDWUSiVXJnBeXh6ys7MRj8eT
Y0y9BU8oFEJFRQUbVFurgEKh4IqV8kqUlZWhoKAAOTk5SE9Ph8/n+/2QKG6fst/vR2lpKYqKinhRr2QW
- Sc7IyEBWVhaDKfe//4FYSZooilydAJmZmZDL5dxzSvbdz/RnUF9kDjlMY6JFezqju1RaKmSyn++nhCv9
- J3dAAAAAAElFTkSuQmCC
+ Sc7IyEBWVhaDKfe//4FYSZooilydAJmZmZDL5dxzSvbdz/RnUF9kDjlMY6JFezqju1RaKmSyn77bhBMB
+ OQGrAAAAAElFTkSuQmCC
@@ -157,12 +157,12 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEeSURBVDhPnZJNboQwDIU5whyhR+gRepQepQv2XbPqUXqE
- bvgRsKgQQggEZMHfMpOPJhmUMozaJ1lRbL9nx47nQghxmef5bVkWMQyD7LpOcqq7xK/TjgFZJX61bSuT
- JJFhGFqLokjWdY3Ih07/DSpA3hNd0yLHndC2W9k1OiFPU26YpumZt5rEvu+lepI17pCJMZd1XV809Qc4
- 9gKQyrKUWZbJoigeCwAmbZLiON5E0jTdTu74iY/jiO+iaTcogXeGtO/CCBjf6SZQVcHPqqpsMgJN02x3
- /Kz5sLoBQdXid57ntirGdpj+KdlADejV/Q+n+3dBFQbq2uHk7wGC7/vW/iXg2l8FRBAEW3VOLfCkw4/B
- 11brE/xENZM71T3vCpBKAD1CW/uhAAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEeSURBVDhPnZJJboQwEEU5Qh8hR8gRcpQcJQv2WbPKUXKE
+ bBgELCKEEIMAL5iWbj9i08ihaSVfKlk1/F/lsh0bQojLNE1v8zyLvu9l27aSU/mSuC47BmRV+NU0jYyi
+ SPq+v1kQBLIsS0Q+dPlv0AHynmibFjmehLHtzrYxCXWacsM4js/c1RR2XSfVlTbDh0yOvSzL8qKpPyCw
+ F4CU57lMkkRmWfZYALBpUxSG4SoSx/F64hMnPwwDsYum3aAE3lnSfgojYGKnL4GqSn4WRbEVI1DX9eoT
+ 55kPuxuQVCN+p2m6dcV4HbZ/SjZQC3q1/8Pp+9ugCwu17XDz9wDBdd3N/iVg218FhOd5a3dOLfCk04/B
+ 166qSvAT1U7udHecK4/hADrwkPT0AAAAAElFTkSuQmCC
diff --git a/CodeWalker/Forms/ModelLightForm.Designer.cs b/CodeWalker/Forms/ModelLightForm.Designer.cs
index 85e004a..8f6e81e 100644
--- a/CodeWalker/Forms/ModelLightForm.Designer.cs
+++ b/CodeWalker/Forms/ModelLightForm.Designer.cs
@@ -31,86 +31,95 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ModelLightForm));
this.MainSplitContainer = new System.Windows.Forms.SplitContainer();
- this.DuplicateLightButton = new System.Windows.Forms.Button();
- this.DeleteLightButton = new System.Windows.Forms.Button();
- this.NewLightButton = new System.Windows.Forms.Button();
+ this.LightPropertiesPanel1 = new System.Windows.Forms.Panel();
this.LightsTreeView = new CodeWalker.WinForms.TreeViewFix();
- this.LightPropertiesPanel = new System.Windows.Forms.Panel();
- this.VolumetricFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
- this.SpecularFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
- this.ShadowFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
- this.LightFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
- this.ShadowBlurUpDown = new System.Windows.Forms.NumericUpDown();
- this.GroupIDUpDown = new System.Windows.Forms.NumericUpDown();
- this.BoneIDUpDown = new System.Windows.Forms.NumericUpDown();
- this.FlashinessUpDown = new System.Windows.Forms.NumericUpDown();
- this.CoronaIntensityTextBox = new System.Windows.Forms.TextBox();
- this.OuterAngleTextBox = new System.Windows.Forms.TextBox();
- this.InnerAngleTextBox = new System.Windows.Forms.TextBox();
- this.IntensityTextBox = new System.Windows.Forms.TextBox();
- this.FlagsTextBox = new System.Windows.Forms.TextBox();
- this.label32 = new System.Windows.Forms.Label();
- this.NormalizeTangentButton = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.TangentTextBox = new System.Windows.Forms.TextBox();
- this.label30 = new System.Windows.Forms.Label();
- this.CullingPlaneOffsetTextBox = new System.Windows.Forms.TextBox();
- this.label24 = new System.Windows.Forms.Label();
- this.CullingPlaneNormalTextBox = new System.Windows.Forms.TextBox();
- this.label29 = new System.Windows.Forms.Label();
- this.TimeFlagsPMCheckedListBox = new System.Windows.Forms.CheckedListBox();
- this.TimeFlagsAMCheckedListBox = new System.Windows.Forms.CheckedListBox();
- this.ExtentTextBox = new System.Windows.Forms.TextBox();
- this.label10 = new System.Windows.Forms.Label();
- this.label28 = new System.Windows.Forms.Label();
- this.TimeFlagsTextBox = new System.Windows.Forms.TextBox();
- this.CoronaZBiasTextBox = new System.Windows.Forms.TextBox();
- this.label27 = new System.Windows.Forms.Label();
- this.ShadowNearClipTextBox = new System.Windows.Forms.TextBox();
- this.label26 = new System.Windows.Forms.Label();
- this.label25 = new System.Windows.Forms.Label();
- this.VolumeColorBUpDown = new System.Windows.Forms.NumericUpDown();
- this.VolumeColorGUpDown = new System.Windows.Forms.NumericUpDown();
- this.VolumeColorRUpDown = new System.Windows.Forms.NumericUpDown();
- this.VolumeColorLabel = new System.Windows.Forms.Label();
- this.label22 = new System.Windows.Forms.Label();
- this.label23 = new System.Windows.Forms.Label();
- this.label21 = new System.Windows.Forms.Label();
- this.VolumeOuterExponentTextBox = new System.Windows.Forms.TextBox();
- this.label20 = new System.Windows.Forms.Label();
- this.label19 = new System.Windows.Forms.Label();
- this.VolumeSizeScaleTextBox = new System.Windows.Forms.TextBox();
- this.label18 = new System.Windows.Forms.Label();
- this.VolumeIntensityTextBox = new System.Windows.Forms.TextBox();
- this.label16 = new System.Windows.Forms.Label();
- this.label12 = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.CoronaSizeTextBox = new System.Windows.Forms.TextBox();
- this.label14 = new System.Windows.Forms.Label();
- this.ColourBUpDown = new System.Windows.Forms.NumericUpDown();
- this.ColourGUpDown = new System.Windows.Forms.NumericUpDown();
- this.ColourRUpDown = new System.Windows.Forms.NumericUpDown();
- this.label9 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.TextureHashTextBox = new System.Windows.Forms.TextBox();
- this.label5 = new System.Windows.Forms.Label();
- this.FalloffExponentTextBox = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
- this.FalloffTextBox = new System.Windows.Forms.TextBox();
- this.TypeComboBox = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
- this.ColourLabel = new System.Windows.Forms.Label();
- this.NormalizeDirectionButton = new System.Windows.Forms.Button();
- this.label17 = new System.Windows.Forms.Label();
- this.DirectionTextBox = new System.Windows.Forms.TextBox();
- this.GoToButton = new System.Windows.Forms.Button();
+ this.LightMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.newLightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deleteLightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.NewLightButton = new System.Windows.Forms.Button();
+ this.DeleteLightButton = new System.Windows.Forms.Button();
+ this.DuplicateLightButton = new System.Windows.Forms.Button();
+ this.LightPropertiesPanel2 = new System.Windows.Forms.Panel();
+ this.PositionLabel = new System.Windows.Forms.Label();
this.PositionTextBox = new System.Windows.Forms.TextBox();
- this.label31 = new System.Windows.Forms.Label();
+ this.GoToButton = new System.Windows.Forms.Button();
+ this.DirectionLabel = new System.Windows.Forms.Label();
+ this.DirectionTextBox = new System.Windows.Forms.TextBox();
+ this.ResetDirectionButton = new System.Windows.Forms.Button();
+ this.NormalizeDirectionButton = new System.Windows.Forms.Button();
+ this.TangentLabel = new System.Windows.Forms.Label();
+ this.TangentTextBox = new System.Windows.Forms.TextBox();
+ this.CalculateTangentButton = new System.Windows.Forms.Button();
+ this.NormalizeTangentButton = new System.Windows.Forms.Button();
+ this.TypeLabel = new System.Windows.Forms.Label();
+ this.TypeComboBox = new System.Windows.Forms.ComboBox();
+ this.ColourRGBLabel = new System.Windows.Forms.Label();
+ this.ColourLabel = new System.Windows.Forms.Label();
+ this.ColourRUpDown = new System.Windows.Forms.NumericUpDown();
+ this.ColourGUpDown = new System.Windows.Forms.NumericUpDown();
+ this.ColourBUpDown = new System.Windows.Forms.NumericUpDown();
+ this.IntensityLabel = new System.Windows.Forms.Label();
+ this.IntensityTextBox = new System.Windows.Forms.TextBox();
+ this.FlashinessLabel = new System.Windows.Forms.Label();
+ this.FlashinessComboBox = new System.Windows.Forms.ComboBox();
+ this.LightHashLabel = new System.Windows.Forms.Label();
+ this.LightHashUpDown = new System.Windows.Forms.NumericUpDown();
+ this.BoneIDLabel = new System.Windows.Forms.Label();
+ this.BoneIDUpDown = new System.Windows.Forms.NumericUpDown();
+ this.GroupIDLabel = new System.Windows.Forms.Label();
+ this.GroupIDUpDown = new System.Windows.Forms.NumericUpDown();
+ this.FallofLabel = new System.Windows.Forms.Label();
+ this.FalloffTextBox = new System.Windows.Forms.TextBox();
+ this.FalloffExponentLabel = new System.Windows.Forms.Label();
+ this.FalloffExponentTextBox = new System.Windows.Forms.TextBox();
+ this.InnerAngleLabel = new System.Windows.Forms.Label();
+ this.InnerAngleTextBox = new System.Windows.Forms.TextBox();
+ this.OuterAngleLabel = new System.Windows.Forms.Label();
+ this.OuterAngleTextBox = new System.Windows.Forms.TextBox();
+ this.ExtentLabel = new System.Windows.Forms.Label();
+ this.ExtentTextBox = new System.Windows.Forms.TextBox();
+ this.TextureHashLabel = new System.Windows.Forms.Label();
+ this.TextureHashTextBox = new System.Windows.Forms.TextBox();
+ this.CoronaSizeLabel = new System.Windows.Forms.Label();
+ this.CoronaSizeTextBox = new System.Windows.Forms.TextBox();
+ this.CoronaIntensityLabel = new System.Windows.Forms.Label();
+ this.CoronaIntensityTextBox = new System.Windows.Forms.TextBox();
+ this.CoronaZBiasLabel = new System.Windows.Forms.Label();
+ this.CoronaZBiasTextBox = new System.Windows.Forms.TextBox();
+ this.ShadowNearClipLabel = new System.Windows.Forms.Label();
+ this.ShadowNearClipTextBox = new System.Windows.Forms.TextBox();
+ this.ShadowBlurLabel = new System.Windows.Forms.Label();
+ this.ShadowBlurUpDown = new System.Windows.Forms.NumericUpDown();
+ this.ShadowFadeDistanceLabel = new System.Windows.Forms.Label();
+ this.ShadowFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
+ this.LightFadeDistanceLabel = new System.Windows.Forms.Label();
+ this.LightFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
+ this.SpecularFadeDistanceLabel = new System.Windows.Forms.Label();
+ this.SpecularFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
+ this.VolumetricFadeDistanceLabel = new System.Windows.Forms.Label();
+ this.VolumetricFadeDistanceUpDown = new System.Windows.Forms.NumericUpDown();
+ this.VolumeColorRGBLabel = new System.Windows.Forms.Label();
+ this.VolumeColorLabel = new System.Windows.Forms.Label();
+ this.VolumeColorRUpDown = new System.Windows.Forms.NumericUpDown();
+ this.VolumeColorGUpDown = new System.Windows.Forms.NumericUpDown();
+ this.VolumeColorBUpDown = new System.Windows.Forms.NumericUpDown();
+ this.VolumeIntensityLabel = new System.Windows.Forms.Label();
+ this.VolumeIntensityTextBox = new System.Windows.Forms.TextBox();
+ this.VolumeSizeScaleLabel = new System.Windows.Forms.Label();
+ this.VolumeSizeScaleTextBox = new System.Windows.Forms.TextBox();
+ this.VolumeOuterExponentLabel = new System.Windows.Forms.Label();
+ this.VolumeOuterExponentTextBox = new System.Windows.Forms.TextBox();
+ this.CullingPlaneNormalLabel = new System.Windows.Forms.Label();
+ this.CullingPlaneNormalTextBox = new System.Windows.Forms.TextBox();
+ this.CullingPlaneOffsetLabel = new System.Windows.Forms.Label();
+ this.CullingPlaneOffsetTextBox = new System.Windows.Forms.TextBox();
+ this.TimeFlagsLabel = new System.Windows.Forms.Label();
+ this.TimeFlagsTextBox = new System.Windows.Forms.TextBox();
+ this.TimeFlagsAMCheckedListBox = new System.Windows.Forms.CheckedListBox();
+ this.TimeFlagsPMCheckedListBox = new System.Windows.Forms.CheckedListBox();
+ this.FlagsLabel = new System.Windows.Forms.Label();
+ this.FlagsTextBox = new System.Windows.Forms.TextBox();
+ this.FlagsCheckedListBox = new System.Windows.Forms.CheckedListBox();
this.MainMenu = new CodeWalker.WinForms.MenuStripFix();
this.EditMenu = new System.Windows.Forms.ToolStripMenuItem();
this.EditNewLightMenu = new System.Windows.Forms.ToolStripMenuItem();
@@ -121,306 +130,536 @@
this.MoveMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.RotateMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ScaleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.LightMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.newLightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.deleteLightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.MainSplitContainer)).BeginInit();
this.MainSplitContainer.Panel1.SuspendLayout();
this.MainSplitContainer.Panel2.SuspendLayout();
this.MainSplitContainer.SuspendLayout();
- this.LightPropertiesPanel.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.VolumetricFadeDistanceUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.SpecularFadeDistanceUpDown)).BeginInit();
+ this.LightPropertiesPanel1.SuspendLayout();
+ this.LightMenuStrip.SuspendLayout();
+ this.LightPropertiesPanel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourRUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourGUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourBUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LightHashUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.BoneIDUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.GroupIDUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ShadowBlurUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ShadowFadeDistanceUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.LightFadeDistanceUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ShadowBlurUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.GroupIDUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.BoneIDUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.FlashinessUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.VolumeColorBUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.VolumeColorGUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SpecularFadeDistanceUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumetricFadeDistanceUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.VolumeColorRUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourBUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourGUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourRUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumeColorGUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumeColorBUpDown)).BeginInit();
this.MainMenu.SuspendLayout();
- this.LightMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// MainSplitContainer
//
this.MainSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
- this.MainSplitContainer.Location = new System.Drawing.Point(0, 24);
+ this.MainSplitContainer.Location = new System.Drawing.Point(0, 28);
this.MainSplitContainer.Name = "MainSplitContainer";
//
// MainSplitContainer.Panel1
//
- this.MainSplitContainer.Panel1.Controls.Add(this.DuplicateLightButton);
- this.MainSplitContainer.Panel1.Controls.Add(this.DeleteLightButton);
- this.MainSplitContainer.Panel1.Controls.Add(this.NewLightButton);
- this.MainSplitContainer.Panel1.Controls.Add(this.LightsTreeView);
+ this.MainSplitContainer.Panel1.Controls.Add(this.LightPropertiesPanel1);
//
// MainSplitContainer.Panel2
//
- this.MainSplitContainer.Panel2.Controls.Add(this.LightPropertiesPanel);
- this.MainSplitContainer.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.MainSplitContainer_Panel2_Paint);
- this.MainSplitContainer.Size = new System.Drawing.Size(733, 519);
- this.MainSplitContainer.SplitterDistance = 184;
+ this.MainSplitContainer.Panel2.Controls.Add(this.LightPropertiesPanel2);
+ this.MainSplitContainer.Size = new System.Drawing.Size(673, 746);
+ this.MainSplitContainer.SplitterDistance = 169;
+ this.MainSplitContainer.SplitterWidth = 3;
this.MainSplitContainer.TabIndex = 0;
//
- // DuplicateLightButton
+ // LightPropertiesPanel1
//
- this.DuplicateLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.DuplicateLightButton.Location = new System.Drawing.Point(7, 489);
- this.DuplicateLightButton.Name = "DuplicateLightButton";
- this.DuplicateLightButton.Size = new System.Drawing.Size(169, 23);
- this.DuplicateLightButton.TabIndex = 8;
- this.DuplicateLightButton.Text = "Duplicate Light";
- this.DuplicateLightButton.UseVisualStyleBackColor = true;
- this.DuplicateLightButton.Click += new System.EventHandler(this.DuplicateLightButton_Click);
- //
- // DeleteLightButton
- //
- this.DeleteLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.DeleteLightButton.Enabled = false;
- this.DeleteLightButton.Location = new System.Drawing.Point(96, 457);
- this.DeleteLightButton.Name = "DeleteLightButton";
- this.DeleteLightButton.Size = new System.Drawing.Size(80, 23);
- this.DeleteLightButton.TabIndex = 7;
- this.DeleteLightButton.Text = "Delete Light";
- this.DeleteLightButton.UseVisualStyleBackColor = true;
- this.DeleteLightButton.Click += new System.EventHandler(this.DeleteLightButton_Click);
- //
- // NewLightButton
- //
- this.NewLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.NewLightButton.Location = new System.Drawing.Point(7, 457);
- this.NewLightButton.Name = "NewLightButton";
- this.NewLightButton.Size = new System.Drawing.Size(80, 23);
- this.NewLightButton.TabIndex = 6;
- this.NewLightButton.Text = "New Light";
- this.NewLightButton.UseVisualStyleBackColor = true;
- this.NewLightButton.Click += new System.EventHandler(this.NewLightButton_Click);
+ this.LightPropertiesPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
+ this.LightPropertiesPanel1.Controls.Add(this.LightsTreeView);
+ this.LightPropertiesPanel1.Controls.Add(this.NewLightButton);
+ this.LightPropertiesPanel1.Controls.Add(this.DeleteLightButton);
+ this.LightPropertiesPanel1.Controls.Add(this.DuplicateLightButton);
+ this.LightPropertiesPanel1.Location = new System.Drawing.Point(3, 3);
+ this.LightPropertiesPanel1.Name = "LightPropertiesPanel1";
+ this.LightPropertiesPanel1.Size = new System.Drawing.Size(164, 741);
+ this.LightPropertiesPanel1.TabIndex = 9;
//
// LightsTreeView
//
- this.LightsTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ this.LightsTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
this.LightsTreeView.ContextMenuStrip = this.LightMenuStrip;
this.LightsTreeView.FullRowSelect = true;
this.LightsTreeView.HideSelection = false;
this.LightsTreeView.Location = new System.Drawing.Point(3, 3);
this.LightsTreeView.Name = "LightsTreeView";
this.LightsTreeView.ShowRootLines = false;
- this.LightsTreeView.Size = new System.Drawing.Size(178, 448);
+ this.LightsTreeView.Size = new System.Drawing.Size(158, 677);
this.LightsTreeView.TabIndex = 5;
this.LightsTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.LightsTreeView_AfterSelect);
//
- // LightPropertiesPanel
+ // LightMenuStrip
//
- this.LightPropertiesPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.LightMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
+ this.LightMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.newLightToolStripMenuItem,
+ this.deleteLightToolStripMenuItem});
+ this.LightMenuStrip.Name = "LightMenuStrip";
+ this.LightMenuStrip.Size = new System.Drawing.Size(138, 48);
+ //
+ // newLightToolStripMenuItem
+ //
+ this.newLightToolStripMenuItem.Name = "newLightToolStripMenuItem";
+ this.newLightToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
+ this.newLightToolStripMenuItem.Text = "New Light";
+ this.newLightToolStripMenuItem.Click += new System.EventHandler(this.newLightToolStripMenuItem_Click);
+ //
+ // deleteLightToolStripMenuItem
+ //
+ this.deleteLightToolStripMenuItem.Name = "deleteLightToolStripMenuItem";
+ this.deleteLightToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
+ this.deleteLightToolStripMenuItem.Text = "Delete Light";
+ this.deleteLightToolStripMenuItem.Click += new System.EventHandler(this.deleteLightToolStripMenuItem_Click);
+ //
+ // NewLightButton
+ //
+ this.NewLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.NewLightButton.Location = new System.Drawing.Point(3, 686);
+ this.NewLightButton.Name = "NewLightButton";
+ this.NewLightButton.Size = new System.Drawing.Size(75, 23);
+ this.NewLightButton.TabIndex = 6;
+ this.NewLightButton.Text = "New Light";
+ this.NewLightButton.UseVisualStyleBackColor = true;
+ this.NewLightButton.Click += new System.EventHandler(this.NewLightButton_Click);
+ //
+ // DeleteLightButton
+ //
+ this.DeleteLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.DeleteLightButton.Enabled = false;
+ this.DeleteLightButton.Location = new System.Drawing.Point(86, 686);
+ this.DeleteLightButton.Name = "DeleteLightButton";
+ this.DeleteLightButton.Size = new System.Drawing.Size(75, 23);
+ this.DeleteLightButton.TabIndex = 7;
+ this.DeleteLightButton.Text = "Delete Light";
+ this.DeleteLightButton.UseVisualStyleBackColor = true;
+ this.DeleteLightButton.Click += new System.EventHandler(this.DeleteLightButton_Click);
+ //
+ // DuplicateLightButton
+ //
+ this.DuplicateLightButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.DuplicateLightButton.Location = new System.Drawing.Point(3, 718);
+ this.DuplicateLightButton.Name = "DuplicateLightButton";
+ this.DuplicateLightButton.Size = new System.Drawing.Size(158, 23);
+ this.DuplicateLightButton.TabIndex = 8;
+ this.DuplicateLightButton.Text = "Duplicate Light";
+ this.DuplicateLightButton.UseVisualStyleBackColor = true;
+ this.DuplicateLightButton.Click += new System.EventHandler(this.DuplicateLightButton_Click);
+ //
+ // LightPropertiesPanel2
+ //
+ this.LightPropertiesPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.LightPropertiesPanel.AutoScroll = true;
- this.LightPropertiesPanel.Controls.Add(this.VolumetricFadeDistanceUpDown);
- this.LightPropertiesPanel.Controls.Add(this.SpecularFadeDistanceUpDown);
- this.LightPropertiesPanel.Controls.Add(this.ShadowFadeDistanceUpDown);
- this.LightPropertiesPanel.Controls.Add(this.LightFadeDistanceUpDown);
- this.LightPropertiesPanel.Controls.Add(this.ShadowBlurUpDown);
- this.LightPropertiesPanel.Controls.Add(this.GroupIDUpDown);
- this.LightPropertiesPanel.Controls.Add(this.BoneIDUpDown);
- this.LightPropertiesPanel.Controls.Add(this.FlashinessUpDown);
- this.LightPropertiesPanel.Controls.Add(this.CoronaIntensityTextBox);
- this.LightPropertiesPanel.Controls.Add(this.OuterAngleTextBox);
- this.LightPropertiesPanel.Controls.Add(this.InnerAngleTextBox);
- this.LightPropertiesPanel.Controls.Add(this.IntensityTextBox);
- this.LightPropertiesPanel.Controls.Add(this.FlagsTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label32);
- this.LightPropertiesPanel.Controls.Add(this.NormalizeTangentButton);
- this.LightPropertiesPanel.Controls.Add(this.label1);
- this.LightPropertiesPanel.Controls.Add(this.TangentTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label30);
- this.LightPropertiesPanel.Controls.Add(this.CullingPlaneOffsetTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label24);
- this.LightPropertiesPanel.Controls.Add(this.CullingPlaneNormalTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label29);
- this.LightPropertiesPanel.Controls.Add(this.TimeFlagsPMCheckedListBox);
- this.LightPropertiesPanel.Controls.Add(this.TimeFlagsAMCheckedListBox);
- this.LightPropertiesPanel.Controls.Add(this.ExtentTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label10);
- this.LightPropertiesPanel.Controls.Add(this.label28);
- this.LightPropertiesPanel.Controls.Add(this.TimeFlagsTextBox);
- this.LightPropertiesPanel.Controls.Add(this.CoronaZBiasTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label27);
- this.LightPropertiesPanel.Controls.Add(this.ShadowNearClipTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label26);
- this.LightPropertiesPanel.Controls.Add(this.label25);
- this.LightPropertiesPanel.Controls.Add(this.VolumeColorBUpDown);
- this.LightPropertiesPanel.Controls.Add(this.VolumeColorGUpDown);
- this.LightPropertiesPanel.Controls.Add(this.VolumeColorRUpDown);
- this.LightPropertiesPanel.Controls.Add(this.VolumeColorLabel);
- this.LightPropertiesPanel.Controls.Add(this.label22);
- this.LightPropertiesPanel.Controls.Add(this.label23);
- this.LightPropertiesPanel.Controls.Add(this.label21);
- this.LightPropertiesPanel.Controls.Add(this.VolumeOuterExponentTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label20);
- this.LightPropertiesPanel.Controls.Add(this.label19);
- this.LightPropertiesPanel.Controls.Add(this.VolumeSizeScaleTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label18);
- this.LightPropertiesPanel.Controls.Add(this.VolumeIntensityTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label16);
- this.LightPropertiesPanel.Controls.Add(this.label12);
- this.LightPropertiesPanel.Controls.Add(this.label11);
- this.LightPropertiesPanel.Controls.Add(this.label15);
- this.LightPropertiesPanel.Controls.Add(this.CoronaSizeTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label14);
- this.LightPropertiesPanel.Controls.Add(this.ColourBUpDown);
- this.LightPropertiesPanel.Controls.Add(this.ColourGUpDown);
- this.LightPropertiesPanel.Controls.Add(this.ColourRUpDown);
- this.LightPropertiesPanel.Controls.Add(this.label9);
- this.LightPropertiesPanel.Controls.Add(this.label8);
- this.LightPropertiesPanel.Controls.Add(this.label7);
- this.LightPropertiesPanel.Controls.Add(this.label6);
- this.LightPropertiesPanel.Controls.Add(this.TextureHashTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label5);
- this.LightPropertiesPanel.Controls.Add(this.FalloffExponentTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label4);
- this.LightPropertiesPanel.Controls.Add(this.FalloffTextBox);
- this.LightPropertiesPanel.Controls.Add(this.TypeComboBox);
- this.LightPropertiesPanel.Controls.Add(this.label3);
- this.LightPropertiesPanel.Controls.Add(this.label2);
- this.LightPropertiesPanel.Controls.Add(this.label13);
- this.LightPropertiesPanel.Controls.Add(this.ColourLabel);
- this.LightPropertiesPanel.Controls.Add(this.NormalizeDirectionButton);
- this.LightPropertiesPanel.Controls.Add(this.label17);
- this.LightPropertiesPanel.Controls.Add(this.DirectionTextBox);
- this.LightPropertiesPanel.Controls.Add(this.GoToButton);
- this.LightPropertiesPanel.Controls.Add(this.PositionTextBox);
- this.LightPropertiesPanel.Controls.Add(this.label31);
- this.LightPropertiesPanel.Location = new System.Drawing.Point(4, 3);
- this.LightPropertiesPanel.Name = "LightPropertiesPanel";
- this.LightPropertiesPanel.Size = new System.Drawing.Size(529, 513);
- this.LightPropertiesPanel.TabIndex = 1;
+ this.LightPropertiesPanel2.AutoScroll = true;
+ this.LightPropertiesPanel2.Controls.Add(this.PositionLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.PositionTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.GoToButton);
+ this.LightPropertiesPanel2.Controls.Add(this.DirectionLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.DirectionTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.ResetDirectionButton);
+ this.LightPropertiesPanel2.Controls.Add(this.NormalizeDirectionButton);
+ this.LightPropertiesPanel2.Controls.Add(this.TangentLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.TangentTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CalculateTangentButton);
+ this.LightPropertiesPanel2.Controls.Add(this.NormalizeTangentButton);
+ this.LightPropertiesPanel2.Controls.Add(this.TypeLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.TypeComboBox);
+ this.LightPropertiesPanel2.Controls.Add(this.ColourRGBLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ColourLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ColourRUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.ColourGUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.ColourBUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.IntensityLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.IntensityTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.FlashinessLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.FlashinessComboBox);
+ this.LightPropertiesPanel2.Controls.Add(this.LightHashLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.LightHashUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.BoneIDLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.BoneIDUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.GroupIDLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.GroupIDUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.FallofLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.FalloffTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.FalloffExponentLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.FalloffExponentTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.InnerAngleLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.InnerAngleTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.OuterAngleLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.OuterAngleTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.ExtentLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ExtentTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.TextureHashLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.TextureHashTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaSizeLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaSizeTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaIntensityLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaIntensityTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaZBiasLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.CoronaZBiasTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowNearClipLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowNearClipTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowBlurLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowBlurUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowFadeDistanceLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.ShadowFadeDistanceUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.LightFadeDistanceLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.LightFadeDistanceUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.SpecularFadeDistanceLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.SpecularFadeDistanceUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumetricFadeDistanceLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumetricFadeDistanceUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeColorRGBLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeColorLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeColorRUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeColorGUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeColorBUpDown);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeIntensityLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeIntensityTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeSizeScaleLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeSizeScaleTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeOuterExponentLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.VolumeOuterExponentTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CullingPlaneNormalLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.CullingPlaneNormalTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.CullingPlaneOffsetLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.CullingPlaneOffsetTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.TimeFlagsLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.TimeFlagsTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.TimeFlagsAMCheckedListBox);
+ this.LightPropertiesPanel2.Controls.Add(this.TimeFlagsPMCheckedListBox);
+ this.LightPropertiesPanel2.Controls.Add(this.FlagsLabel);
+ this.LightPropertiesPanel2.Controls.Add(this.FlagsTextBox);
+ this.LightPropertiesPanel2.Controls.Add(this.FlagsCheckedListBox);
+ this.LightPropertiesPanel2.Location = new System.Drawing.Point(3, 3);
+ this.LightPropertiesPanel2.Name = "LightPropertiesPanel2";
+ this.LightPropertiesPanel2.Size = new System.Drawing.Size(495, 741);
+ this.LightPropertiesPanel2.TabIndex = 1;
//
- // VolumetricFadeDistanceUpDown
+ // PositionLabel
//
- this.VolumetricFadeDistanceUpDown.Location = new System.Drawing.Point(372, 212);
- this.VolumetricFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ this.PositionLabel.AutoSize = true;
+ this.PositionLabel.Location = new System.Drawing.Point(3, 5);
+ this.PositionLabel.Name = "PositionLabel";
+ this.PositionLabel.Size = new System.Drawing.Size(47, 13);
+ this.PositionLabel.TabIndex = 100;
+ this.PositionLabel.Text = "Position:";
+ //
+ // PositionTextBox
+ //
+ this.PositionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.PositionTextBox.Location = new System.Drawing.Point(88, 2);
+ this.PositionTextBox.Name = "PositionTextBox";
+ this.PositionTextBox.Size = new System.Drawing.Size(339, 20);
+ this.PositionTextBox.TabIndex = 101;
+ this.PositionTextBox.TextChanged += new System.EventHandler(this.PositionTextBox_TextChanged);
+ //
+ // GoToButton
+ //
+ this.GoToButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.GoToButton.Location = new System.Drawing.Point(429, 0);
+ this.GoToButton.Name = "GoToButton";
+ this.GoToButton.Size = new System.Drawing.Size(63, 23);
+ this.GoToButton.TabIndex = 102;
+ this.GoToButton.Text = "Go to";
+ this.GoToButton.UseVisualStyleBackColor = true;
+ this.GoToButton.Click += new System.EventHandler(this.GoToButton_Click);
+ //
+ // DirectionLabel
+ //
+ this.DirectionLabel.AutoSize = true;
+ this.DirectionLabel.Location = new System.Drawing.Point(3, 28);
+ this.DirectionLabel.Name = "DirectionLabel";
+ this.DirectionLabel.Size = new System.Drawing.Size(52, 13);
+ this.DirectionLabel.TabIndex = 111;
+ this.DirectionLabel.Text = "Direction:";
+ //
+ // DirectionTextBox
+ //
+ this.DirectionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.DirectionTextBox.Location = new System.Drawing.Point(88, 26);
+ this.DirectionTextBox.Name = "DirectionTextBox";
+ this.DirectionTextBox.Size = new System.Drawing.Size(274, 20);
+ this.DirectionTextBox.TabIndex = 112;
+ this.DirectionTextBox.TextChanged += new System.EventHandler(this.DirectionTextBox_TextChanged);
+ //
+ // ResetDirectionButton
+ //
+ this.ResetDirectionButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.ResetDirectionButton.Location = new System.Drawing.Point(429, 24);
+ this.ResetDirectionButton.Name = "ResetDirectionButton";
+ this.ResetDirectionButton.Size = new System.Drawing.Size(63, 23);
+ this.ResetDirectionButton.TabIndex = 113;
+ this.ResetDirectionButton.Text = "Reset";
+ this.ResetDirectionButton.UseVisualStyleBackColor = true;
+ this.ResetDirectionButton.Click += new System.EventHandler(this.ResetDirectionButton_Click);
+ //
+ // NormalizeDirectionButton
+ //
+ this.NormalizeDirectionButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.NormalizeDirectionButton.Location = new System.Drawing.Point(363, 24);
+ this.NormalizeDirectionButton.Name = "NormalizeDirectionButton";
+ this.NormalizeDirectionButton.Size = new System.Drawing.Size(63, 23);
+ this.NormalizeDirectionButton.TabIndex = 113;
+ this.NormalizeDirectionButton.Text = "Normalize";
+ this.NormalizeDirectionButton.UseVisualStyleBackColor = true;
+ this.NormalizeDirectionButton.Click += new System.EventHandler(this.NormalizeDirectionButton_Click);
+ //
+ // TangentLabel
+ //
+ this.TangentLabel.AutoSize = true;
+ this.TangentLabel.Location = new System.Drawing.Point(3, 52);
+ this.TangentLabel.Name = "TangentLabel";
+ this.TangentLabel.Size = new System.Drawing.Size(50, 13);
+ this.TangentLabel.TabIndex = 121;
+ this.TangentLabel.Text = "Tangent:";
+ //
+ // TangentTextBox
+ //
+ this.TangentTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.TangentTextBox.Location = new System.Drawing.Point(88, 50);
+ this.TangentTextBox.Name = "TangentTextBox";
+ this.TangentTextBox.Size = new System.Drawing.Size(274, 20);
+ this.TangentTextBox.TabIndex = 122;
+ this.TangentTextBox.TextChanged += new System.EventHandler(this.TangentTextBox_TextChanged);
+ //
+ // CalculateTangentButton
+ //
+ this.CalculateTangentButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.CalculateTangentButton.Location = new System.Drawing.Point(429, 47);
+ this.CalculateTangentButton.Name = "CalculateTangentButton";
+ this.CalculateTangentButton.Size = new System.Drawing.Size(63, 23);
+ this.CalculateTangentButton.TabIndex = 123;
+ this.CalculateTangentButton.Text = "Calculate";
+ this.CalculateTangentButton.UseVisualStyleBackColor = true;
+ this.CalculateTangentButton.Click += new System.EventHandler(this.CalculateTangentButton_Click);
+ //
+ // NormalizeTangentButton
+ //
+ this.NormalizeTangentButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.NormalizeTangentButton.Location = new System.Drawing.Point(363, 47);
+ this.NormalizeTangentButton.Name = "NormalizeTangentButton";
+ this.NormalizeTangentButton.Size = new System.Drawing.Size(63, 23);
+ this.NormalizeTangentButton.TabIndex = 123;
+ this.NormalizeTangentButton.Text = "Normalize";
+ this.NormalizeTangentButton.UseVisualStyleBackColor = true;
+ this.NormalizeTangentButton.Click += new System.EventHandler(this.NormalizeTangentButton_Click);
+ //
+ // TypeLabel
+ //
+ this.TypeLabel.AutoSize = true;
+ this.TypeLabel.Location = new System.Drawing.Point(3, 76);
+ this.TypeLabel.Name = "TypeLabel";
+ this.TypeLabel.Size = new System.Drawing.Size(34, 13);
+ this.TypeLabel.TabIndex = 131;
+ this.TypeLabel.Text = "Type:";
+ //
+ // TypeComboBox
+ //
+ this.TypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.TypeComboBox.FormattingEnabled = true;
+ this.TypeComboBox.Items.AddRange(new object[] {
+ "Point",
+ "Spot",
+ "Capsule"});
+ this.TypeComboBox.Location = new System.Drawing.Point(113, 73);
+ this.TypeComboBox.Name = "TypeComboBox";
+ this.TypeComboBox.Size = new System.Drawing.Size(166, 21);
+ this.TypeComboBox.TabIndex = 132;
+ this.TypeComboBox.SelectedIndexChanged += new System.EventHandler(this.TypeComboBox_SelectedIndexChanged);
+ //
+ // ColourRGBLabel
+ //
+ this.ColourRGBLabel.AutoSize = true;
+ this.ColourRGBLabel.Location = new System.Drawing.Point(3, 101);
+ this.ColourRGBLabel.Name = "ColourRGBLabel";
+ this.ColourRGBLabel.Size = new System.Drawing.Size(72, 13);
+ this.ColourRGBLabel.TabIndex = 141;
+ this.ColourRGBLabel.Text = "Colour (RGB):";
+ //
+ // ColourLabel
+ //
+ this.ColourLabel.BackColor = System.Drawing.Color.White;
+ this.ColourLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.ColourLabel.Location = new System.Drawing.Point(113, 98);
+ this.ColourLabel.Name = "ColourLabel";
+ this.ColourLabel.Size = new System.Drawing.Size(30, 20);
+ this.ColourLabel.TabIndex = 142;
+ this.ColourLabel.Click += new System.EventHandler(this.ColourLabel_Click);
+ //
+ // ColourRUpDown
+ //
+ this.ColourRUpDown.Location = new System.Drawing.Point(149, 98);
+ this.ColourRUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.VolumetricFadeDistanceUpDown.Name = "VolumetricFadeDistanceUpDown";
- this.VolumetricFadeDistanceUpDown.Size = new System.Drawing.Size(156, 20);
- this.VolumetricFadeDistanceUpDown.TabIndex = 372;
- this.VolumetricFadeDistanceUpDown.Value = new decimal(new int[] {
+ this.ColourRUpDown.Name = "ColourRUpDown";
+ this.ColourRUpDown.Size = new System.Drawing.Size(38, 20);
+ this.ColourRUpDown.TabIndex = 143;
+ this.ColourRUpDown.Value = new decimal(new int[] {
255,
0,
0,
0});
- this.VolumetricFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.VolumetricFadeDistanceUpDown_ValueChanged);
+ this.ColourRUpDown.ValueChanged += new System.EventHandler(this.ColourRUpDown_ValueChanged);
//
- // SpecularFadeDistanceUpDown
+ // ColourGUpDown
//
- this.SpecularFadeDistanceUpDown.Location = new System.Drawing.Point(372, 189);
- this.SpecularFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ this.ColourGUpDown.Location = new System.Drawing.Point(194, 98);
+ this.ColourGUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.SpecularFadeDistanceUpDown.Name = "SpecularFadeDistanceUpDown";
- this.SpecularFadeDistanceUpDown.Size = new System.Drawing.Size(156, 20);
- this.SpecularFadeDistanceUpDown.TabIndex = 362;
- this.SpecularFadeDistanceUpDown.Value = new decimal(new int[] {
+ this.ColourGUpDown.Name = "ColourGUpDown";
+ this.ColourGUpDown.Size = new System.Drawing.Size(38, 20);
+ this.ColourGUpDown.TabIndex = 144;
+ this.ColourGUpDown.Value = new decimal(new int[] {
255,
0,
0,
0});
- this.SpecularFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.SpecularFadeDistanceUpDown_ValueChanged);
+ this.ColourGUpDown.ValueChanged += new System.EventHandler(this.ColourGUpDown_ValueChanged);
//
- // ShadowFadeDistanceUpDown
+ // ColourBUpDown
//
- this.ShadowFadeDistanceUpDown.Location = new System.Drawing.Point(372, 166);
- this.ShadowFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ this.ColourBUpDown.Location = new System.Drawing.Point(239, 98);
+ this.ColourBUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.ShadowFadeDistanceUpDown.Name = "ShadowFadeDistanceUpDown";
- this.ShadowFadeDistanceUpDown.Size = new System.Drawing.Size(156, 20);
- this.ShadowFadeDistanceUpDown.TabIndex = 352;
- this.ShadowFadeDistanceUpDown.Value = new decimal(new int[] {
+ this.ColourBUpDown.Name = "ColourBUpDown";
+ this.ColourBUpDown.Size = new System.Drawing.Size(38, 20);
+ this.ColourBUpDown.TabIndex = 145;
+ this.ColourBUpDown.Value = new decimal(new int[] {
255,
0,
0,
0});
- this.ShadowFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.ShadowFadeDistanceUpDown_ValueChanged);
+ this.ColourBUpDown.ValueChanged += new System.EventHandler(this.ColourBUpDown_ValueChanged);
//
- // LightFadeDistanceUpDown
+ // IntensityLabel
//
- this.LightFadeDistanceUpDown.Location = new System.Drawing.Point(88, 419);
- this.LightFadeDistanceUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.LightFadeDistanceUpDown.Name = "LightFadeDistanceUpDown";
- this.LightFadeDistanceUpDown.Size = new System.Drawing.Size(154, 20);
- this.LightFadeDistanceUpDown.TabIndex = 282;
- this.LightFadeDistanceUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.LightFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.LightFadeDistanceUpDown_ValueChanged);
+ this.IntensityLabel.AutoSize = true;
+ this.IntensityLabel.Location = new System.Drawing.Point(3, 124);
+ this.IntensityLabel.Name = "IntensityLabel";
+ this.IntensityLabel.Size = new System.Drawing.Size(49, 13);
+ this.IntensityLabel.TabIndex = 151;
+ this.IntensityLabel.Text = "Intensity:";
//
- // ShadowBlurUpDown
+ // IntensityTextBox
//
- this.ShadowBlurUpDown.Location = new System.Drawing.Point(88, 396);
- this.ShadowBlurUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ShadowBlurUpDown.Name = "ShadowBlurUpDown";
- this.ShadowBlurUpDown.Size = new System.Drawing.Size(154, 20);
- this.ShadowBlurUpDown.TabIndex = 272;
- this.ShadowBlurUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ShadowBlurUpDown.ValueChanged += new System.EventHandler(this.ShadowBlurUpDown_ValueChanged);
+ this.IntensityTextBox.Location = new System.Drawing.Point(113, 122);
+ this.IntensityTextBox.Name = "IntensityTextBox";
+ this.IntensityTextBox.Size = new System.Drawing.Size(166, 20);
+ this.IntensityTextBox.TabIndex = 152;
+ this.IntensityTextBox.TextChanged += new System.EventHandler(this.IntensityTextBox_TextChanged);
//
- // GroupIDUpDown
+ // FlashinessLabel
//
- this.GroupIDUpDown.Location = new System.Drawing.Point(88, 212);
- this.GroupIDUpDown.Maximum = new decimal(new int[] {
+ this.FlashinessLabel.AutoSize = true;
+ this.FlashinessLabel.Location = new System.Drawing.Point(3, 149);
+ this.FlashinessLabel.Name = "FlashinessLabel";
+ this.FlashinessLabel.Size = new System.Drawing.Size(59, 13);
+ this.FlashinessLabel.TabIndex = 171;
+ this.FlashinessLabel.Text = "Flashiness:";
+ //
+ // FlashinessComboBox
+ //
+ this.FlashinessComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.FlashinessComboBox.FormattingEnabled = true;
+ this.FlashinessComboBox.Items.AddRange(new object[] {
+ "0 - Constant",
+ "1 - Random",
+ "2 - RandomOverrideIfWet",
+ "3 - OnceSecond",
+ "4 - TwiceSecond",
+ "5 - FiveSecond",
+ "6 - RandomFlashiness",
+ "7 - Off",
+ "8 - Unused1",
+ "9 - Alarm",
+ "10 - OnWhenRaining",
+ "11 - Cycle1",
+ "12 - Cycle2",
+ "13 - Cycle3",
+ "14 - Disco",
+ "15 - Candle",
+ "16 - Plane",
+ "17 - Fire",
+ "18 - Threshold",
+ "19 - Electric",
+ "20 - Strobe",
+ "21 - Count"});
+ this.FlashinessComboBox.Location = new System.Drawing.Point(113, 145);
+ this.FlashinessComboBox.Name = "FlashinessComboBox";
+ this.FlashinessComboBox.Size = new System.Drawing.Size(166, 21);
+ this.FlashinessComboBox.TabIndex = 172;
+ this.FlashinessComboBox.SelectedIndexChanged += new System.EventHandler(this.FlashinessComboBox_SelectedIndexChanged);
+ //
+ // LightHashLabel
+ //
+ this.LightHashLabel.AutoSize = true;
+ this.LightHashLabel.Location = new System.Drawing.Point(3, 173);
+ this.LightHashLabel.Name = "LightHashLabel";
+ this.LightHashLabel.Size = new System.Drawing.Size(58, 13);
+ this.LightHashLabel.TabIndex = 301;
+ this.LightHashLabel.Text = "LightHash:";
+ //
+ // LightHashUpDown
+ //
+ this.LightHashUpDown.Location = new System.Drawing.Point(113, 171);
+ this.LightHashUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.GroupIDUpDown.Name = "GroupIDUpDown";
- this.GroupIDUpDown.Size = new System.Drawing.Size(154, 20);
- this.GroupIDUpDown.TabIndex = 192;
- this.GroupIDUpDown.Value = new decimal(new int[] {
+ this.LightHashUpDown.Name = "LightHashUpDown";
+ this.LightHashUpDown.Size = new System.Drawing.Size(165, 20);
+ this.LightHashUpDown.TabIndex = 152;
+ this.LightHashUpDown.Value = new decimal(new int[] {
255,
0,
0,
0});
- this.GroupIDUpDown.ValueChanged += new System.EventHandler(this.GroupIDUpDown_ValueChanged);
+ this.LightHashUpDown.TextChanged += new System.EventHandler(this.LightHash_ValueChanged);
+ //
+ // BoneIDLabel
+ //
+ this.BoneIDLabel.AutoSize = true;
+ this.BoneIDLabel.Location = new System.Drawing.Point(3, 197);
+ this.BoneIDLabel.Name = "BoneIDLabel";
+ this.BoneIDLabel.Size = new System.Drawing.Size(49, 13);
+ this.BoneIDLabel.TabIndex = 181;
+ this.BoneIDLabel.Text = "Bone ID:";
//
// BoneIDUpDown
//
- this.BoneIDUpDown.Location = new System.Drawing.Point(88, 189);
+ this.BoneIDUpDown.Location = new System.Drawing.Point(113, 194);
this.BoneIDUpDown.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.BoneIDUpDown.Name = "BoneIDUpDown";
- this.BoneIDUpDown.Size = new System.Drawing.Size(154, 20);
+ this.BoneIDUpDown.Size = new System.Drawing.Size(165, 20);
this.BoneIDUpDown.TabIndex = 182;
this.BoneIDUpDown.Value = new decimal(new int[] {
65535,
@@ -429,168 +668,512 @@
0});
this.BoneIDUpDown.ValueChanged += new System.EventHandler(this.BoneIDUpDown_ValueChanged);
//
- // FlashinessUpDown
+ // GroupIDLabel
//
- this.FlashinessUpDown.Location = new System.Drawing.Point(88, 166);
- this.FlashinessUpDown.Maximum = new decimal(new int[] {
+ this.GroupIDLabel.AutoSize = true;
+ this.GroupIDLabel.Location = new System.Drawing.Point(3, 220);
+ this.GroupIDLabel.Name = "GroupIDLabel";
+ this.GroupIDLabel.Size = new System.Drawing.Size(53, 13);
+ this.GroupIDLabel.TabIndex = 191;
+ this.GroupIDLabel.Text = "Group ID:";
+ //
+ // GroupIDUpDown
+ //
+ this.GroupIDUpDown.Location = new System.Drawing.Point(113, 218);
+ this.GroupIDUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.FlashinessUpDown.Name = "FlashinessUpDown";
- this.FlashinessUpDown.Size = new System.Drawing.Size(154, 20);
- this.FlashinessUpDown.TabIndex = 172;
- this.FlashinessUpDown.Value = new decimal(new int[] {
+ this.GroupIDUpDown.Name = "GroupIDUpDown";
+ this.GroupIDUpDown.Size = new System.Drawing.Size(165, 20);
+ this.GroupIDUpDown.TabIndex = 192;
+ this.GroupIDUpDown.Value = new decimal(new int[] {
255,
0,
0,
0});
- this.FlashinessUpDown.ValueChanged += new System.EventHandler(this.FlashinessUpDown_ValueChanged);
+ this.GroupIDUpDown.ValueChanged += new System.EventHandler(this.GroupIDUpDown_ValueChanged);
//
- // CoronaIntensityTextBox
+ // FallofLabel
//
- this.CoronaIntensityTextBox.Location = new System.Drawing.Point(88, 350);
- this.CoronaIntensityTextBox.Name = "CoronaIntensityTextBox";
- this.CoronaIntensityTextBox.Size = new System.Drawing.Size(154, 20);
- this.CoronaIntensityTextBox.TabIndex = 252;
- this.CoronaIntensityTextBox.TextChanged += new System.EventHandler(this.CoronaIntensityTextBox_TextChanged);
+ this.FallofLabel.AutoSize = true;
+ this.FallofLabel.Location = new System.Drawing.Point(3, 244);
+ this.FallofLabel.Name = "FallofLabel";
+ this.FallofLabel.Size = new System.Drawing.Size(38, 13);
+ this.FallofLabel.TabIndex = 201;
+ this.FallofLabel.Text = "Falloff:";
//
- // OuterAngleTextBox
+ // FalloffTextBox
//
- this.OuterAngleTextBox.Location = new System.Drawing.Point(88, 304);
- this.OuterAngleTextBox.Name = "OuterAngleTextBox";
- this.OuterAngleTextBox.Size = new System.Drawing.Size(154, 20);
- this.OuterAngleTextBox.TabIndex = 232;
- this.OuterAngleTextBox.TextChanged += new System.EventHandler(this.OuterAngleTextBox_TextChanged);
+ this.FalloffTextBox.Location = new System.Drawing.Point(113, 241);
+ this.FalloffTextBox.Name = "FalloffTextBox";
+ this.FalloffTextBox.Size = new System.Drawing.Size(166, 20);
+ this.FalloffTextBox.TabIndex = 202;
+ this.FalloffTextBox.TextChanged += new System.EventHandler(this.FalloffTextBox_TextChanged);
+ //
+ // FalloffExponentLabel
+ //
+ this.FalloffExponentLabel.AutoSize = true;
+ this.FalloffExponentLabel.Location = new System.Drawing.Point(3, 267);
+ this.FalloffExponentLabel.Name = "FalloffExponentLabel";
+ this.FalloffExponentLabel.Size = new System.Drawing.Size(58, 13);
+ this.FalloffExponentLabel.TabIndex = 211;
+ this.FalloffExponentLabel.Text = "Falloff exp:";
+ //
+ // FalloffExponentTextBox
+ //
+ this.FalloffExponentTextBox.Location = new System.Drawing.Point(113, 265);
+ this.FalloffExponentTextBox.Name = "FalloffExponentTextBox";
+ this.FalloffExponentTextBox.Size = new System.Drawing.Size(166, 20);
+ this.FalloffExponentTextBox.TabIndex = 212;
+ this.FalloffExponentTextBox.TextChanged += new System.EventHandler(this.FalloffExponentTextBox_TextChanged);
+ //
+ // InnerAngleLabel
+ //
+ this.InnerAngleLabel.AutoSize = true;
+ this.InnerAngleLabel.Location = new System.Drawing.Point(3, 291);
+ this.InnerAngleLabel.Name = "InnerAngleLabel";
+ this.InnerAngleLabel.Size = new System.Drawing.Size(63, 13);
+ this.InnerAngleLabel.TabIndex = 221;
+ this.InnerAngleLabel.Text = "Inner angle:";
//
// InnerAngleTextBox
//
- this.InnerAngleTextBox.Location = new System.Drawing.Point(88, 281);
+ this.InnerAngleTextBox.Location = new System.Drawing.Point(113, 288);
this.InnerAngleTextBox.Name = "InnerAngleTextBox";
- this.InnerAngleTextBox.Size = new System.Drawing.Size(154, 20);
+ this.InnerAngleTextBox.Size = new System.Drawing.Size(166, 20);
this.InnerAngleTextBox.TabIndex = 222;
this.InnerAngleTextBox.TextChanged += new System.EventHandler(this.InnerAngleTextBox_TextChanged);
//
- // IntensityTextBox
+ // OuterAngleLabel
//
- this.IntensityTextBox.Location = new System.Drawing.Point(88, 120);
- this.IntensityTextBox.Name = "IntensityTextBox";
- this.IntensityTextBox.Size = new System.Drawing.Size(154, 20);
- this.IntensityTextBox.TabIndex = 152;
- this.IntensityTextBox.TextChanged += new System.EventHandler(this.IntensityTextBox_TextChanged);
+ this.OuterAngleLabel.AutoSize = true;
+ this.OuterAngleLabel.Location = new System.Drawing.Point(3, 314);
+ this.OuterAngleLabel.Name = "OuterAngleLabel";
+ this.OuterAngleLabel.Size = new System.Drawing.Size(65, 13);
+ this.OuterAngleLabel.TabIndex = 231;
+ this.OuterAngleLabel.Text = "Outer angle:";
//
- // FlagsTextBox
+ // OuterAngleTextBox
//
- this.FlagsTextBox.Location = new System.Drawing.Point(88, 143);
- this.FlagsTextBox.Name = "FlagsTextBox";
- this.FlagsTextBox.Size = new System.Drawing.Size(154, 20);
- this.FlagsTextBox.TabIndex = 162;
- this.FlagsTextBox.TextChanged += new System.EventHandler(this.FlagsTextBox_TextChanged);
+ this.OuterAngleTextBox.Location = new System.Drawing.Point(113, 312);
+ this.OuterAngleTextBox.Name = "OuterAngleTextBox";
+ this.OuterAngleTextBox.Size = new System.Drawing.Size(166, 20);
+ this.OuterAngleTextBox.TabIndex = 232;
+ this.OuterAngleTextBox.TextChanged += new System.EventHandler(this.OuterAngleTextBox_TextChanged);
//
- // label32
+ // ExtentLabel
//
- this.label32.AutoSize = true;
- this.label32.Location = new System.Drawing.Point(3, 146);
- this.label32.Name = "label32";
- this.label32.Size = new System.Drawing.Size(35, 13);
- this.label32.TabIndex = 161;
- this.label32.Text = "Flags:";
+ this.ExtentLabel.AutoSize = true;
+ this.ExtentLabel.Location = new System.Drawing.Point(3, 338);
+ this.ExtentLabel.Name = "ExtentLabel";
+ this.ExtentLabel.Size = new System.Drawing.Size(40, 13);
+ this.ExtentLabel.TabIndex = 261;
+ this.ExtentLabel.Text = "Extent:";
//
- // NormalizeTangentButton
+ // ExtentTextBox
//
- this.NormalizeTangentButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.NormalizeTangentButton.Location = new System.Drawing.Point(461, 46);
- this.NormalizeTangentButton.Name = "NormalizeTangentButton";
- this.NormalizeTangentButton.Size = new System.Drawing.Size(68, 23);
- this.NormalizeTangentButton.TabIndex = 123;
- this.NormalizeTangentButton.Text = "Normalize";
- this.NormalizeTangentButton.UseVisualStyleBackColor = true;
- this.NormalizeTangentButton.Click += new System.EventHandler(this.NormalizeTangentButton_Click);
+ this.ExtentTextBox.Location = new System.Drawing.Point(113, 336);
+ this.ExtentTextBox.Name = "ExtentTextBox";
+ this.ExtentTextBox.Size = new System.Drawing.Size(166, 20);
+ this.ExtentTextBox.TabIndex = 262;
+ this.ExtentTextBox.TextChanged += new System.EventHandler(this.ExtentTextBox_TextChanged);
//
- // label1
+ // TextureHashLabel
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(3, 51);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(50, 13);
- this.label1.TabIndex = 121;
- this.label1.Text = "Tangent:";
+ this.TextureHashLabel.AutoSize = true;
+ this.TextureHashLabel.Location = new System.Drawing.Point(3, 362);
+ this.TextureHashLabel.Name = "TextureHashLabel";
+ this.TextureHashLabel.Size = new System.Drawing.Size(72, 13);
+ this.TextureHashLabel.TabIndex = 301;
+ this.TextureHashLabel.Text = "Texture hash:";
//
- // TangentTextBox
+ // TextureHashTextBox
//
- this.TangentTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.TangentTextBox.Location = new System.Drawing.Point(88, 48);
- this.TangentTextBox.Name = "TangentTextBox";
- this.TangentTextBox.Size = new System.Drawing.Size(367, 20);
- this.TangentTextBox.TabIndex = 122;
- this.TangentTextBox.TextChanged += new System.EventHandler(this.TangentTextBox_TextChanged);
+ this.TextureHashTextBox.Location = new System.Drawing.Point(113, 359);
+ this.TextureHashTextBox.Name = "TextureHashTextBox";
+ this.TextureHashTextBox.Size = new System.Drawing.Size(166, 20);
+ this.TextureHashTextBox.TabIndex = 302;
+ this.TextureHashTextBox.TextChanged += new System.EventHandler(this.TextureHashTextBox_TextChanged);
//
- // label30
+ // CoronaSizeLabel
//
- this.label30.AutoSize = true;
- this.label30.Location = new System.Drawing.Point(262, 284);
- this.label30.Name = "label30";
- this.label30.Size = new System.Drawing.Size(99, 13);
- this.label30.TabIndex = 401;
- this.label30.Text = "Culling plane offset:";
+ this.CoronaSizeLabel.AutoSize = true;
+ this.CoronaSizeLabel.Location = new System.Drawing.Point(3, 385);
+ this.CoronaSizeLabel.Name = "CoronaSizeLabel";
+ this.CoronaSizeLabel.Size = new System.Drawing.Size(65, 13);
+ this.CoronaSizeLabel.TabIndex = 241;
+ this.CoronaSizeLabel.Text = "Corona size:";
//
- // CullingPlaneOffsetTextBox
+ // CoronaSizeTextBox
//
- this.CullingPlaneOffsetTextBox.Location = new System.Drawing.Point(372, 281);
- this.CullingPlaneOffsetTextBox.Name = "CullingPlaneOffsetTextBox";
- this.CullingPlaneOffsetTextBox.Size = new System.Drawing.Size(156, 20);
- this.CullingPlaneOffsetTextBox.TabIndex = 402;
- this.CullingPlaneOffsetTextBox.TextChanged += new System.EventHandler(this.CullingPlaneOffsetTextBox_TextChanged);
+ this.CoronaSizeTextBox.Location = new System.Drawing.Point(113, 383);
+ this.CoronaSizeTextBox.Name = "CoronaSizeTextBox";
+ this.CoronaSizeTextBox.Size = new System.Drawing.Size(166, 20);
+ this.CoronaSizeTextBox.TabIndex = 242;
+ this.CoronaSizeTextBox.TextChanged += new System.EventHandler(this.CoronaSizeTextBox_TextChanged);
//
- // label24
+ // CoronaIntensityLabel
//
- this.label24.AutoSize = true;
- this.label24.Location = new System.Drawing.Point(262, 261);
- this.label24.Name = "label24";
- this.label24.Size = new System.Drawing.Size(104, 13);
- this.label24.TabIndex = 391;
- this.label24.Text = "Culling plane normal:";
+ this.CoronaIntensityLabel.AutoSize = true;
+ this.CoronaIntensityLabel.Location = new System.Drawing.Point(3, 409);
+ this.CoronaIntensityLabel.Name = "CoronaIntensityLabel";
+ this.CoronaIntensityLabel.Size = new System.Drawing.Size(85, 13);
+ this.CoronaIntensityLabel.TabIndex = 251;
+ this.CoronaIntensityLabel.Text = "Corona intensity:";
+ //
+ // CoronaIntensityTextBox
+ //
+ this.CoronaIntensityTextBox.Location = new System.Drawing.Point(113, 406);
+ this.CoronaIntensityTextBox.Name = "CoronaIntensityTextBox";
+ this.CoronaIntensityTextBox.Size = new System.Drawing.Size(166, 20);
+ this.CoronaIntensityTextBox.TabIndex = 252;
+ this.CoronaIntensityTextBox.TextChanged += new System.EventHandler(this.CoronaIntensityTextBox_TextChanged);
+ //
+ // CoronaZBiasLabel
+ //
+ this.CoronaZBiasLabel.AutoSize = true;
+ this.CoronaZBiasLabel.Location = new System.Drawing.Point(3, 432);
+ this.CoronaZBiasLabel.Name = "CoronaZBiasLabel";
+ this.CoronaZBiasLabel.Size = new System.Drawing.Size(71, 13);
+ this.CoronaZBiasLabel.TabIndex = 291;
+ this.CoronaZBiasLabel.Text = "Corona zbias:";
+ //
+ // CoronaZBiasTextBox
+ //
+ this.CoronaZBiasTextBox.Location = new System.Drawing.Point(113, 430);
+ this.CoronaZBiasTextBox.Name = "CoronaZBiasTextBox";
+ this.CoronaZBiasTextBox.Size = new System.Drawing.Size(166, 20);
+ this.CoronaZBiasTextBox.TabIndex = 292;
+ this.CoronaZBiasTextBox.TextChanged += new System.EventHandler(this.CoronaZBiasTextBox_TextChanged);
+ //
+ // ShadowNearClipLabel
+ //
+ this.ShadowNearClipLabel.AutoSize = true;
+ this.ShadowNearClipLabel.Location = new System.Drawing.Point(3, 456);
+ this.ShadowNearClipLabel.Name = "ShadowNearClipLabel";
+ this.ShadowNearClipLabel.Size = new System.Drawing.Size(92, 13);
+ this.ShadowNearClipLabel.TabIndex = 381;
+ this.ShadowNearClipLabel.Text = "Shadow near clip:";
+ //
+ // ShadowNearClipTextBox
+ //
+ this.ShadowNearClipTextBox.Location = new System.Drawing.Point(113, 453);
+ this.ShadowNearClipTextBox.Name = "ShadowNearClipTextBox";
+ this.ShadowNearClipTextBox.Size = new System.Drawing.Size(166, 20);
+ this.ShadowNearClipTextBox.TabIndex = 382;
+ this.ShadowNearClipTextBox.TextChanged += new System.EventHandler(this.ShadowNearClipTextBox_TextChanged);
+ //
+ // ShadowBlurLabel
+ //
+ this.ShadowBlurLabel.AutoSize = true;
+ this.ShadowBlurLabel.Location = new System.Drawing.Point(3, 479);
+ this.ShadowBlurLabel.Name = "ShadowBlurLabel";
+ this.ShadowBlurLabel.Size = new System.Drawing.Size(69, 13);
+ this.ShadowBlurLabel.TabIndex = 271;
+ this.ShadowBlurLabel.Text = "Shadow blur:";
+ //
+ // ShadowBlurUpDown
+ //
+ this.ShadowBlurUpDown.Location = new System.Drawing.Point(113, 477);
+ this.ShadowBlurUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.ShadowBlurUpDown.Name = "ShadowBlurUpDown";
+ this.ShadowBlurUpDown.Size = new System.Drawing.Size(165, 20);
+ this.ShadowBlurUpDown.TabIndex = 272;
+ this.ShadowBlurUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.ShadowBlurUpDown.ValueChanged += new System.EventHandler(this.ShadowBlurUpDown_ValueChanged);
+ //
+ // ShadowFadeDistanceLabel
+ //
+ this.ShadowFadeDistanceLabel.AutoSize = true;
+ this.ShadowFadeDistanceLabel.Location = new System.Drawing.Point(3, 503);
+ this.ShadowFadeDistanceLabel.Name = "ShadowFadeDistanceLabel";
+ this.ShadowFadeDistanceLabel.Size = new System.Drawing.Size(90, 13);
+ this.ShadowFadeDistanceLabel.TabIndex = 351;
+ this.ShadowFadeDistanceLabel.Text = "Shadow fade dst:";
+ //
+ // ShadowFadeDistanceUpDown
+ //
+ this.ShadowFadeDistanceUpDown.Location = new System.Drawing.Point(113, 500);
+ this.ShadowFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.ShadowFadeDistanceUpDown.Name = "ShadowFadeDistanceUpDown";
+ this.ShadowFadeDistanceUpDown.Size = new System.Drawing.Size(165, 20);
+ this.ShadowFadeDistanceUpDown.TabIndex = 352;
+ this.ShadowFadeDistanceUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.ShadowFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.ShadowFadeDistanceUpDown_ValueChanged);
+ //
+ // LightFadeDistanceLabel
+ //
+ this.LightFadeDistanceLabel.AutoSize = true;
+ this.LightFadeDistanceLabel.Location = new System.Drawing.Point(3, 526);
+ this.LightFadeDistanceLabel.Name = "LightFadeDistanceLabel";
+ this.LightFadeDistanceLabel.Size = new System.Drawing.Size(74, 13);
+ this.LightFadeDistanceLabel.TabIndex = 281;
+ this.LightFadeDistanceLabel.Text = "Light fade dst:";
+ //
+ // LightFadeDistanceUpDown
+ //
+ this.LightFadeDistanceUpDown.Location = new System.Drawing.Point(113, 524);
+ this.LightFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.LightFadeDistanceUpDown.Name = "LightFadeDistanceUpDown";
+ this.LightFadeDistanceUpDown.Size = new System.Drawing.Size(165, 20);
+ this.LightFadeDistanceUpDown.TabIndex = 282;
+ this.LightFadeDistanceUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.LightFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.LightFadeDistanceUpDown_ValueChanged);
+ //
+ // SpecularFadeDistanceLabel
+ //
+ this.SpecularFadeDistanceLabel.AutoSize = true;
+ this.SpecularFadeDistanceLabel.Location = new System.Drawing.Point(3, 550);
+ this.SpecularFadeDistanceLabel.Name = "SpecularFadeDistanceLabel";
+ this.SpecularFadeDistanceLabel.Size = new System.Drawing.Size(93, 13);
+ this.SpecularFadeDistanceLabel.TabIndex = 361;
+ this.SpecularFadeDistanceLabel.Text = "Specular fade dst:";
+ //
+ // SpecularFadeDistanceUpDown
+ //
+ this.SpecularFadeDistanceUpDown.Location = new System.Drawing.Point(113, 548);
+ this.SpecularFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.SpecularFadeDistanceUpDown.Name = "SpecularFadeDistanceUpDown";
+ this.SpecularFadeDistanceUpDown.Size = new System.Drawing.Size(165, 20);
+ this.SpecularFadeDistanceUpDown.TabIndex = 362;
+ this.SpecularFadeDistanceUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.SpecularFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.SpecularFadeDistanceUpDown_ValueChanged);
+ //
+ // VolumetricFadeDistanceLabel
+ //
+ this.VolumetricFadeDistanceLabel.AutoSize = true;
+ this.VolumetricFadeDistanceLabel.Location = new System.Drawing.Point(3, 574);
+ this.VolumetricFadeDistanceLabel.Name = "VolumetricFadeDistanceLabel";
+ this.VolumetricFadeDistanceLabel.Size = new System.Drawing.Size(100, 13);
+ this.VolumetricFadeDistanceLabel.TabIndex = 371;
+ this.VolumetricFadeDistanceLabel.Text = "Volumetric fade dst:";
+ //
+ // VolumetricFadeDistanceUpDown
+ //
+ this.VolumetricFadeDistanceUpDown.Location = new System.Drawing.Point(113, 571);
+ this.VolumetricFadeDistanceUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumetricFadeDistanceUpDown.Name = "VolumetricFadeDistanceUpDown";
+ this.VolumetricFadeDistanceUpDown.Size = new System.Drawing.Size(165, 20);
+ this.VolumetricFadeDistanceUpDown.TabIndex = 372;
+ this.VolumetricFadeDistanceUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumetricFadeDistanceUpDown.ValueChanged += new System.EventHandler(this.VolumetricFadeDistanceUpDown_ValueChanged);
+ //
+ // VolumeColorRGBLabel
+ //
+ this.VolumeColorRGBLabel.AutoSize = true;
+ this.VolumeColorRGBLabel.Location = new System.Drawing.Point(3, 597);
+ this.VolumeColorRGBLabel.Name = "VolumeColorRGBLabel";
+ this.VolumeColorRGBLabel.Size = new System.Drawing.Size(109, 13);
+ this.VolumeColorRGBLabel.TabIndex = 331;
+ this.VolumeColorRGBLabel.Text = "Volume colour (RGB):";
+ //
+ // VolumeColorLabel
+ //
+ this.VolumeColorLabel.BackColor = System.Drawing.Color.White;
+ this.VolumeColorLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.VolumeColorLabel.Location = new System.Drawing.Point(113, 595);
+ this.VolumeColorLabel.Name = "VolumeColorLabel";
+ this.VolumeColorLabel.Size = new System.Drawing.Size(30, 20);
+ this.VolumeColorLabel.TabIndex = 332;
+ this.VolumeColorLabel.Click += new System.EventHandler(this.VolumeColorLabel_Click);
+ //
+ // VolumeColorRUpDown
+ //
+ this.VolumeColorRUpDown.Location = new System.Drawing.Point(149, 595);
+ this.VolumeColorRUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorRUpDown.Name = "VolumeColorRUpDown";
+ this.VolumeColorRUpDown.Size = new System.Drawing.Size(38, 20);
+ this.VolumeColorRUpDown.TabIndex = 333;
+ this.VolumeColorRUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorRUpDown.ValueChanged += new System.EventHandler(this.VolumeColorRUpDown_ValueChanged);
+ //
+ // VolumeColorGUpDown
+ //
+ this.VolumeColorGUpDown.Location = new System.Drawing.Point(194, 595);
+ this.VolumeColorGUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorGUpDown.Name = "VolumeColorGUpDown";
+ this.VolumeColorGUpDown.Size = new System.Drawing.Size(38, 20);
+ this.VolumeColorGUpDown.TabIndex = 334;
+ this.VolumeColorGUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorGUpDown.ValueChanged += new System.EventHandler(this.VolumeColorGUpDown_ValueChanged);
+ //
+ // VolumeColorBUpDown
+ //
+ this.VolumeColorBUpDown.Location = new System.Drawing.Point(239, 595);
+ this.VolumeColorBUpDown.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorBUpDown.Name = "VolumeColorBUpDown";
+ this.VolumeColorBUpDown.Size = new System.Drawing.Size(38, 20);
+ this.VolumeColorBUpDown.TabIndex = 335;
+ this.VolumeColorBUpDown.Value = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.VolumeColorBUpDown.ValueChanged += new System.EventHandler(this.VolumeColorBUpDown_ValueChanged);
+ //
+ // VolumeIntensityLabel
+ //
+ this.VolumeIntensityLabel.AutoSize = true;
+ this.VolumeIntensityLabel.Location = new System.Drawing.Point(3, 621);
+ this.VolumeIntensityLabel.Name = "VolumeIntensityLabel";
+ this.VolumeIntensityLabel.Size = new System.Drawing.Size(86, 13);
+ this.VolumeIntensityLabel.TabIndex = 311;
+ this.VolumeIntensityLabel.Text = "Volume intensity:";
+ //
+ // VolumeIntensityTextBox
+ //
+ this.VolumeIntensityTextBox.Location = new System.Drawing.Point(113, 618);
+ this.VolumeIntensityTextBox.Name = "VolumeIntensityTextBox";
+ this.VolumeIntensityTextBox.Size = new System.Drawing.Size(166, 20);
+ this.VolumeIntensityTextBox.TabIndex = 312;
+ this.VolumeIntensityTextBox.TextChanged += new System.EventHandler(this.VolumeIntensityTextBox_TextChanged);
+ //
+ // VolumeSizeScaleLabel
+ //
+ this.VolumeSizeScaleLabel.AutoSize = true;
+ this.VolumeSizeScaleLabel.Location = new System.Drawing.Point(3, 644);
+ this.VolumeSizeScaleLabel.Name = "VolumeSizeScaleLabel";
+ this.VolumeSizeScaleLabel.Size = new System.Drawing.Size(94, 13);
+ this.VolumeSizeScaleLabel.TabIndex = 321;
+ this.VolumeSizeScaleLabel.Text = "Volume size scale:";
+ //
+ // VolumeSizeScaleTextBox
+ //
+ this.VolumeSizeScaleTextBox.Location = new System.Drawing.Point(113, 642);
+ this.VolumeSizeScaleTextBox.Name = "VolumeSizeScaleTextBox";
+ this.VolumeSizeScaleTextBox.Size = new System.Drawing.Size(166, 20);
+ this.VolumeSizeScaleTextBox.TabIndex = 322;
+ this.VolumeSizeScaleTextBox.TextChanged += new System.EventHandler(this.VolumeSizeScaleTextBox_TextChanged);
+ //
+ // VolumeOuterExponentLabel
+ //
+ this.VolumeOuterExponentLabel.AutoSize = true;
+ this.VolumeOuterExponentLabel.Location = new System.Drawing.Point(3, 668);
+ this.VolumeOuterExponentLabel.Name = "VolumeOuterExponentLabel";
+ this.VolumeOuterExponentLabel.Size = new System.Drawing.Size(92, 13);
+ this.VolumeOuterExponentLabel.TabIndex = 341;
+ this.VolumeOuterExponentLabel.Text = "Volume outer exp:";
+ //
+ // VolumeOuterExponentTextBox
+ //
+ this.VolumeOuterExponentTextBox.Location = new System.Drawing.Point(113, 665);
+ this.VolumeOuterExponentTextBox.Name = "VolumeOuterExponentTextBox";
+ this.VolumeOuterExponentTextBox.Size = new System.Drawing.Size(166, 20);
+ this.VolumeOuterExponentTextBox.TabIndex = 342;
+ this.VolumeOuterExponentTextBox.TextChanged += new System.EventHandler(this.VolumeOuterExponentTextBox_TextChanged);
+ //
+ // CullingPlaneNormalLabel
+ //
+ this.CullingPlaneNormalLabel.AutoSize = true;
+ this.CullingPlaneNormalLabel.Location = new System.Drawing.Point(3, 691);
+ this.CullingPlaneNormalLabel.Name = "CullingPlaneNormalLabel";
+ this.CullingPlaneNormalLabel.Size = new System.Drawing.Size(57, 13);
+ this.CullingPlaneNormalLabel.TabIndex = 391;
+ this.CullingPlaneNormalLabel.Text = "Cull Plane:";
//
// CullingPlaneNormalTextBox
//
- this.CullingPlaneNormalTextBox.Location = new System.Drawing.Point(372, 258);
+ this.CullingPlaneNormalTextBox.Location = new System.Drawing.Point(66, 689);
this.CullingPlaneNormalTextBox.Name = "CullingPlaneNormalTextBox";
- this.CullingPlaneNormalTextBox.Size = new System.Drawing.Size(156, 20);
+ this.CullingPlaneNormalTextBox.Size = new System.Drawing.Size(213, 20);
this.CullingPlaneNormalTextBox.TabIndex = 392;
this.CullingPlaneNormalTextBox.TextChanged += new System.EventHandler(this.CullingPlaneNormalTextBox_TextChanged);
//
- // label29
+ // CullingPlaneOffsetLabel
//
- this.label29.AutoSize = true;
- this.label29.Location = new System.Drawing.Point(3, 376);
- this.label29.Name = "label29";
- this.label29.Size = new System.Drawing.Size(40, 13);
- this.label29.TabIndex = 261;
- this.label29.Text = "Extent:";
+ this.CullingPlaneOffsetLabel.AutoSize = true;
+ this.CullingPlaneOffsetLabel.Location = new System.Drawing.Point(3, 715);
+ this.CullingPlaneOffsetLabel.Name = "CullingPlaneOffsetLabel";
+ this.CullingPlaneOffsetLabel.Size = new System.Drawing.Size(86, 13);
+ this.CullingPlaneOffsetLabel.TabIndex = 401;
+ this.CullingPlaneOffsetLabel.Text = "Cull Plane offset:";
//
- // TimeFlagsPMCheckedListBox
+ // CullingPlaneOffsetTextBox
//
- this.TimeFlagsPMCheckedListBox.CheckOnClick = true;
- this.TimeFlagsPMCheckedListBox.FormattingEnabled = true;
- this.TimeFlagsPMCheckedListBox.Items.AddRange(new object[] {
- "12:00 - 13:00",
- "13:00 - 14:00",
- "14:00 - 15:00",
- "15:00 - 16:00",
- "16:00 - 17:00",
- "17:00 - 18:00",
- "18:00 - 19:00",
- "19:00 - 20:00",
- "20:00 - 21:00",
- "21:00 - 22:00",
- "22:00 - 23:00",
- "23:00 - 00:00"});
- this.TimeFlagsPMCheckedListBox.Location = new System.Drawing.Point(433, 327);
- this.TimeFlagsPMCheckedListBox.Name = "TimeFlagsPMCheckedListBox";
- this.TimeFlagsPMCheckedListBox.Size = new System.Drawing.Size(95, 184);
- this.TimeFlagsPMCheckedListBox.TabIndex = 414;
- this.TimeFlagsPMCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.TimeFlagsPMCheckedListBox_ItemCheck);
+ this.CullingPlaneOffsetTextBox.Location = new System.Drawing.Point(113, 713);
+ this.CullingPlaneOffsetTextBox.Name = "CullingPlaneOffsetTextBox";
+ this.CullingPlaneOffsetTextBox.Size = new System.Drawing.Size(166, 20);
+ this.CullingPlaneOffsetTextBox.TabIndex = 402;
+ this.CullingPlaneOffsetTextBox.TextChanged += new System.EventHandler(this.CullingPlaneOffsetTextBox_TextChanged);
+ //
+ // TimeFlagsLabel
+ //
+ this.TimeFlagsLabel.AutoSize = true;
+ this.TimeFlagsLabel.Location = new System.Drawing.Point(292, 76);
+ this.TimeFlagsLabel.Name = "TimeFlagsLabel";
+ this.TimeFlagsLabel.Size = new System.Drawing.Size(58, 13);
+ this.TimeFlagsLabel.TabIndex = 411;
+ this.TimeFlagsLabel.Text = "Time flags:";
+ //
+ // TimeFlagsTextBox
+ //
+ this.TimeFlagsTextBox.Location = new System.Drawing.Point(354, 73);
+ this.TimeFlagsTextBox.Name = "TimeFlagsTextBox";
+ this.TimeFlagsTextBox.Size = new System.Drawing.Size(136, 20);
+ this.TimeFlagsTextBox.TabIndex = 412;
+ this.TimeFlagsTextBox.TextChanged += new System.EventHandler(this.TimeFlagsTextBox_TextChanged);
//
// TimeFlagsAMCheckedListBox
//
@@ -609,529 +1192,100 @@
"09:00 - 10:00",
"10:00 - 11:00",
"11:00 - 12:00"});
- this.TimeFlagsAMCheckedListBox.Location = new System.Drawing.Point(332, 327);
+ this.TimeFlagsAMCheckedListBox.Location = new System.Drawing.Point(295, 98);
this.TimeFlagsAMCheckedListBox.Name = "TimeFlagsAMCheckedListBox";
this.TimeFlagsAMCheckedListBox.Size = new System.Drawing.Size(95, 184);
this.TimeFlagsAMCheckedListBox.TabIndex = 413;
this.TimeFlagsAMCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.TimeFlagsAMCheckedListBox_ItemCheck);
//
- // ExtentTextBox
- //
- this.ExtentTextBox.Location = new System.Drawing.Point(88, 373);
- this.ExtentTextBox.Name = "ExtentTextBox";
- this.ExtentTextBox.Size = new System.Drawing.Size(154, 20);
- this.ExtentTextBox.TabIndex = 262;
- this.ExtentTextBox.TextChanged += new System.EventHandler(this.ExtentTextBox_TextChanged);
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(262, 307);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(58, 13);
- this.label10.TabIndex = 411;
- this.label10.Text = "Time flags:";
- //
- // label28
- //
- this.label28.AutoSize = true;
- this.label28.Location = new System.Drawing.Point(3, 445);
- this.label28.Name = "label28";
- this.label28.Size = new System.Drawing.Size(71, 13);
- this.label28.TabIndex = 291;
- this.label28.Text = "Corona zbias:";
- //
- // TimeFlagsTextBox
- //
- this.TimeFlagsTextBox.Location = new System.Drawing.Point(372, 304);
- this.TimeFlagsTextBox.Name = "TimeFlagsTextBox";
- this.TimeFlagsTextBox.Size = new System.Drawing.Size(156, 20);
- this.TimeFlagsTextBox.TabIndex = 412;
- this.TimeFlagsTextBox.TextChanged += new System.EventHandler(this.TimeFlagsTextBox_TextChanged);
- //
- // CoronaZBiasTextBox
- //
- this.CoronaZBiasTextBox.Location = new System.Drawing.Point(88, 442);
- this.CoronaZBiasTextBox.Name = "CoronaZBiasTextBox";
- this.CoronaZBiasTextBox.Size = new System.Drawing.Size(154, 20);
- this.CoronaZBiasTextBox.TabIndex = 292;
- this.CoronaZBiasTextBox.TextChanged += new System.EventHandler(this.CoronaZBiasTextBox_TextChanged);
- //
- // label27
- //
- this.label27.AutoSize = true;
- this.label27.Location = new System.Drawing.Point(262, 238);
- this.label27.Name = "label27";
- this.label27.Size = new System.Drawing.Size(92, 13);
- this.label27.TabIndex = 381;
- this.label27.Text = "Shadow near clip:";
- //
- // ShadowNearClipTextBox
- //
- this.ShadowNearClipTextBox.Location = new System.Drawing.Point(372, 235);
- this.ShadowNearClipTextBox.Name = "ShadowNearClipTextBox";
- this.ShadowNearClipTextBox.Size = new System.Drawing.Size(156, 20);
- this.ShadowNearClipTextBox.TabIndex = 382;
- this.ShadowNearClipTextBox.TextChanged += new System.EventHandler(this.ShadowNearClipTextBox_TextChanged);
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Location = new System.Drawing.Point(262, 214);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(100, 13);
- this.label26.TabIndex = 371;
- this.label26.Text = "Volumetric fade dst:";
- //
- // label25
- //
- this.label25.AutoSize = true;
- this.label25.Location = new System.Drawing.Point(262, 191);
- this.label25.Name = "label25";
- this.label25.Size = new System.Drawing.Size(93, 13);
- this.label25.TabIndex = 361;
- this.label25.Text = "Specular fade dst:";
- //
- // VolumeColorBUpDown
- //
- this.VolumeColorBUpDown.Location = new System.Drawing.Point(483, 120);
- this.VolumeColorBUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorBUpDown.Name = "VolumeColorBUpDown";
- this.VolumeColorBUpDown.Size = new System.Drawing.Size(38, 20);
- this.VolumeColorBUpDown.TabIndex = 335;
- this.VolumeColorBUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorBUpDown.ValueChanged += new System.EventHandler(this.VolumeColorBUpDown_ValueChanged);
- //
- // VolumeColorGUpDown
- //
- this.VolumeColorGUpDown.Location = new System.Drawing.Point(447, 119);
- this.VolumeColorGUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorGUpDown.Name = "VolumeColorGUpDown";
- this.VolumeColorGUpDown.Size = new System.Drawing.Size(38, 20);
- this.VolumeColorGUpDown.TabIndex = 334;
- this.VolumeColorGUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorGUpDown.ValueChanged += new System.EventHandler(this.VolumeColorGUpDown_ValueChanged);
- //
- // VolumeColorRUpDown
- //
- this.VolumeColorRUpDown.Location = new System.Drawing.Point(406, 119);
- this.VolumeColorRUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorRUpDown.Name = "VolumeColorRUpDown";
- this.VolumeColorRUpDown.Size = new System.Drawing.Size(38, 20);
- this.VolumeColorRUpDown.TabIndex = 333;
- this.VolumeColorRUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.VolumeColorRUpDown.ValueChanged += new System.EventHandler(this.VolumeColorRUpDown_ValueChanged);
- //
- // VolumeColorLabel
- //
- this.VolumeColorLabel.BackColor = System.Drawing.Color.White;
- this.VolumeColorLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.VolumeColorLabel.Location = new System.Drawing.Point(372, 119);
- this.VolumeColorLabel.Name = "VolumeColorLabel";
- this.VolumeColorLabel.Size = new System.Drawing.Size(30, 20);
- this.VolumeColorLabel.TabIndex = 332;
- this.VolumeColorLabel.Click += new System.EventHandler(this.VolumeColorLabel_Click);
- //
- // label22
- //
- this.label22.AutoSize = true;
- this.label22.Location = new System.Drawing.Point(262, 168);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(90, 13);
- this.label22.TabIndex = 351;
- this.label22.Text = "Shadow fade dst:";
- //
- // label23
- //
- this.label23.AutoSize = true;
- this.label23.Location = new System.Drawing.Point(3, 421);
- this.label23.Name = "label23";
- this.label23.Size = new System.Drawing.Size(74, 13);
- this.label23.TabIndex = 281;
- this.label23.Text = "Light fade dst:";
- //
- // label21
- //
- this.label21.AutoSize = true;
- this.label21.Location = new System.Drawing.Point(262, 146);
- this.label21.Name = "label21";
- this.label21.Size = new System.Drawing.Size(92, 13);
- this.label21.TabIndex = 341;
- this.label21.Text = "Volume outer exp:";
- //
- // VolumeOuterExponentTextBox
- //
- this.VolumeOuterExponentTextBox.Location = new System.Drawing.Point(372, 143);
- this.VolumeOuterExponentTextBox.Name = "VolumeOuterExponentTextBox";
- this.VolumeOuterExponentTextBox.Size = new System.Drawing.Size(156, 20);
- this.VolumeOuterExponentTextBox.TabIndex = 342;
- this.VolumeOuterExponentTextBox.TextChanged += new System.EventHandler(this.VolumeOuterExponentTextBox_TextChanged);
- //
- // label20
- //
- this.label20.AutoSize = true;
- this.label20.Location = new System.Drawing.Point(262, 121);
- this.label20.Name = "label20";
- this.label20.Size = new System.Drawing.Size(109, 13);
- this.label20.TabIndex = 331;
- this.label20.Text = "Volume colour (RGB):";
- //
- // label19
- //
- this.label19.AutoSize = true;
- this.label19.Location = new System.Drawing.Point(262, 99);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(94, 13);
- this.label19.TabIndex = 321;
- this.label19.Text = "Volume size scale:";
- //
- // VolumeSizeScaleTextBox
- //
- this.VolumeSizeScaleTextBox.Location = new System.Drawing.Point(372, 96);
- this.VolumeSizeScaleTextBox.Name = "VolumeSizeScaleTextBox";
- this.VolumeSizeScaleTextBox.Size = new System.Drawing.Size(156, 20);
- this.VolumeSizeScaleTextBox.TabIndex = 322;
- this.VolumeSizeScaleTextBox.TextChanged += new System.EventHandler(this.VolumeSizeScaleTextBox_TextChanged);
- //
- // label18
- //
- this.label18.AutoSize = true;
- this.label18.Location = new System.Drawing.Point(262, 76);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(86, 13);
- this.label18.TabIndex = 311;
- this.label18.Text = "Volume intensity:";
- //
- // VolumeIntensityTextBox
- //
- this.VolumeIntensityTextBox.Location = new System.Drawing.Point(372, 73);
- this.VolumeIntensityTextBox.Name = "VolumeIntensityTextBox";
- this.VolumeIntensityTextBox.Size = new System.Drawing.Size(156, 20);
- this.VolumeIntensityTextBox.TabIndex = 312;
- this.VolumeIntensityTextBox.TextChanged += new System.EventHandler(this.VolumeIntensityTextBox_TextChanged);
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(3, 398);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(69, 13);
- this.label16.TabIndex = 271;
- this.label16.Text = "Shadow blur:";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(3, 214);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(53, 13);
- this.label12.TabIndex = 191;
- this.label12.Text = "Group ID:";
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(3, 191);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(49, 13);
- this.label11.TabIndex = 181;
- this.label11.Text = "Bone ID:";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.Location = new System.Drawing.Point(3, 168);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(59, 13);
- this.label15.TabIndex = 171;
- this.label15.Text = "Flashiness:";
- //
- // CoronaSizeTextBox
- //
- this.CoronaSizeTextBox.Location = new System.Drawing.Point(88, 327);
- this.CoronaSizeTextBox.Name = "CoronaSizeTextBox";
- this.CoronaSizeTextBox.Size = new System.Drawing.Size(154, 20);
- this.CoronaSizeTextBox.TabIndex = 242;
- this.CoronaSizeTextBox.TextChanged += new System.EventHandler(this.CoronaSizeTextBox_TextChanged);
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Location = new System.Drawing.Point(3, 330);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(65, 13);
- this.label14.TabIndex = 241;
- this.label14.Text = "Corona size:";
- //
- // ColourBUpDown
- //
- this.ColourBUpDown.Location = new System.Drawing.Point(204, 97);
- this.ColourBUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourBUpDown.Name = "ColourBUpDown";
- this.ColourBUpDown.Size = new System.Drawing.Size(38, 20);
- this.ColourBUpDown.TabIndex = 145;
- this.ColourBUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourBUpDown.ValueChanged += new System.EventHandler(this.ColourBUpDown_ValueChanged);
- //
- // ColourGUpDown
- //
- this.ColourGUpDown.Location = new System.Drawing.Point(163, 97);
- this.ColourGUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourGUpDown.Name = "ColourGUpDown";
- this.ColourGUpDown.Size = new System.Drawing.Size(38, 20);
- this.ColourGUpDown.TabIndex = 144;
- this.ColourGUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourGUpDown.ValueChanged += new System.EventHandler(this.ColourGUpDown_ValueChanged);
- //
- // ColourRUpDown
- //
- this.ColourRUpDown.Location = new System.Drawing.Point(122, 97);
- this.ColourRUpDown.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourRUpDown.Name = "ColourRUpDown";
- this.ColourRUpDown.Size = new System.Drawing.Size(38, 20);
- this.ColourRUpDown.TabIndex = 143;
- this.ColourRUpDown.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.ColourRUpDown.ValueChanged += new System.EventHandler(this.ColourRUpDown_ValueChanged);
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(3, 353);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(85, 13);
- this.label9.TabIndex = 251;
- this.label9.Text = "Corona intensity:";
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(3, 307);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(65, 13);
- this.label8.TabIndex = 231;
- this.label8.Text = "Outer angle:";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(3, 284);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(63, 13);
- this.label7.TabIndex = 221;
- this.label7.Text = "Inner angle:";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(3, 468);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(72, 13);
- this.label6.TabIndex = 301;
- this.label6.Text = "Texture hash:";
- //
- // TextureHashTextBox
- //
- this.TextureHashTextBox.Location = new System.Drawing.Point(88, 465);
- this.TextureHashTextBox.Name = "TextureHashTextBox";
- this.TextureHashTextBox.Size = new System.Drawing.Size(154, 20);
- this.TextureHashTextBox.TabIndex = 302;
- this.TextureHashTextBox.TextChanged += new System.EventHandler(this.TextureHashTextBox_TextChanged);
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(3, 261);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(58, 13);
- this.label5.TabIndex = 211;
- this.label5.Text = "Falloff exp:";
- //
- // FalloffExponentTextBox
- //
- this.FalloffExponentTextBox.Location = new System.Drawing.Point(88, 258);
- this.FalloffExponentTextBox.Name = "FalloffExponentTextBox";
- this.FalloffExponentTextBox.Size = new System.Drawing.Size(154, 20);
- this.FalloffExponentTextBox.TabIndex = 212;
- this.FalloffExponentTextBox.TextChanged += new System.EventHandler(this.FalloffExponentTextBox_TextChanged);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(3, 238);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(38, 13);
- this.label4.TabIndex = 201;
- this.label4.Text = "Falloff:";
- //
- // FalloffTextBox
- //
- this.FalloffTextBox.Location = new System.Drawing.Point(88, 235);
- this.FalloffTextBox.Name = "FalloffTextBox";
- this.FalloffTextBox.Size = new System.Drawing.Size(154, 20);
- this.FalloffTextBox.TabIndex = 202;
- this.FalloffTextBox.TextChanged += new System.EventHandler(this.FalloffTextBox_TextChanged);
- //
- // TypeComboBox
- //
- this.TypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.TypeComboBox.FormattingEnabled = true;
- this.TypeComboBox.Items.AddRange(new object[] {
- "Point",
- "Spot",
- "Capsule"});
- this.TypeComboBox.Location = new System.Drawing.Point(88, 73);
- this.TypeComboBox.Name = "TypeComboBox";
- this.TypeComboBox.Size = new System.Drawing.Size(154, 21);
- this.TypeComboBox.TabIndex = 132;
- this.TypeComboBox.SelectedIndexChanged += new System.EventHandler(this.TypeComboBox_SelectedIndexChanged);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(3, 123);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(49, 13);
- this.label3.TabIndex = 151;
- this.label3.Text = "Intensity:";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(3, 99);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(72, 13);
- this.label2.TabIndex = 141;
- this.label2.Text = "Colour (RGB):";
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.Location = new System.Drawing.Point(3, 76);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(34, 13);
- this.label13.TabIndex = 131;
- this.label13.Text = "Type:";
- //
- // ColourLabel
- //
- this.ColourLabel.BackColor = System.Drawing.Color.White;
- this.ColourLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.ColourLabel.Location = new System.Drawing.Point(88, 97);
- this.ColourLabel.Name = "ColourLabel";
- this.ColourLabel.Size = new System.Drawing.Size(30, 20);
- this.ColourLabel.TabIndex = 142;
- this.ColourLabel.Click += new System.EventHandler(this.ColourLabel_Click);
- //
- // NormalizeDirectionButton
- //
- this.NormalizeDirectionButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.NormalizeDirectionButton.Location = new System.Drawing.Point(461, 23);
- this.NormalizeDirectionButton.Name = "NormalizeDirectionButton";
- this.NormalizeDirectionButton.Size = new System.Drawing.Size(68, 23);
- this.NormalizeDirectionButton.TabIndex = 113;
- this.NormalizeDirectionButton.Text = "Normalize";
- this.NormalizeDirectionButton.UseVisualStyleBackColor = true;
- this.NormalizeDirectionButton.Click += new System.EventHandler(this.NormalizeDirectionButton_Click);
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(3, 28);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(52, 13);
- this.label17.TabIndex = 111;
- this.label17.Text = "Direction:";
- //
- // DirectionTextBox
- //
- this.DirectionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.DirectionTextBox.Location = new System.Drawing.Point(88, 25);
- this.DirectionTextBox.Name = "DirectionTextBox";
- this.DirectionTextBox.Size = new System.Drawing.Size(367, 20);
- this.DirectionTextBox.TabIndex = 112;
- this.DirectionTextBox.TextChanged += new System.EventHandler(this.DirectionTextBox_TextChanged);
- //
- // GoToButton
- //
- this.GoToButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.GoToButton.Location = new System.Drawing.Point(461, 0);
- this.GoToButton.Name = "GoToButton";
- this.GoToButton.Size = new System.Drawing.Size(68, 23);
- this.GoToButton.TabIndex = 102;
- this.GoToButton.Text = "Go to";
- this.GoToButton.UseVisualStyleBackColor = true;
- this.GoToButton.Click += new System.EventHandler(this.GoToButton_Click);
- //
- // PositionTextBox
- //
- this.PositionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.PositionTextBox.Location = new System.Drawing.Point(88, 2);
- this.PositionTextBox.Name = "PositionTextBox";
- this.PositionTextBox.Size = new System.Drawing.Size(367, 20);
- this.PositionTextBox.TabIndex = 101;
- this.PositionTextBox.TextChanged += new System.EventHandler(this.PositionTextBox_TextChanged);
- //
- // label31
- //
- this.label31.AutoSize = true;
- this.label31.Location = new System.Drawing.Point(3, 5);
- this.label31.Name = "label31";
- this.label31.Size = new System.Drawing.Size(47, 13);
- this.label31.TabIndex = 100;
- this.label31.Text = "Position:";
+ // TimeFlagsPMCheckedListBox
+ //
+ this.TimeFlagsPMCheckedListBox.CheckOnClick = true;
+ this.TimeFlagsPMCheckedListBox.FormattingEnabled = true;
+ this.TimeFlagsPMCheckedListBox.Items.AddRange(new object[] {
+ "12:00 - 13:00",
+ "13:00 - 14:00",
+ "14:00 - 15:00",
+ "15:00 - 16:00",
+ "16:00 - 17:00",
+ "17:00 - 18:00",
+ "18:00 - 19:00",
+ "19:00 - 20:00",
+ "20:00 - 21:00",
+ "21:00 - 22:00",
+ "22:00 - 23:00",
+ "23:00 - 00:00"});
+ this.TimeFlagsPMCheckedListBox.Location = new System.Drawing.Point(395, 98);
+ this.TimeFlagsPMCheckedListBox.Name = "TimeFlagsPMCheckedListBox";
+ this.TimeFlagsPMCheckedListBox.Size = new System.Drawing.Size(95, 184);
+ this.TimeFlagsPMCheckedListBox.TabIndex = 414;
+ this.TimeFlagsPMCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.TimeFlagsPMCheckedListBox_ItemCheck);
+ //
+ // FlagsLabel
+ //
+ this.FlagsLabel.AutoSize = true;
+ this.FlagsLabel.Location = new System.Drawing.Point(293, 291);
+ this.FlagsLabel.Name = "FlagsLabel";
+ this.FlagsLabel.Size = new System.Drawing.Size(35, 13);
+ this.FlagsLabel.TabIndex = 161;
+ this.FlagsLabel.Text = "Flags:";
+ //
+ // FlagsTextBox
+ //
+ this.FlagsTextBox.Location = new System.Drawing.Point(333, 288);
+ this.FlagsTextBox.Name = "FlagsTextBox";
+ this.FlagsTextBox.Size = new System.Drawing.Size(157, 20);
+ this.FlagsTextBox.TabIndex = 162;
+ this.FlagsTextBox.TextChanged += new System.EventHandler(this.FlagsTextBox_TextChanged);
+ //
+ // FlagsCheckedListBox
+ //
+ this.FlagsCheckedListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
+ this.FlagsCheckedListBox.CheckOnClick = true;
+ this.FlagsCheckedListBox.FormattingEnabled = true;
+ this.FlagsCheckedListBox.Items.AddRange(new object[] {
+ "Interior Only",
+ "Exterior Only",
+ "Dont Use In Cutscene",
+ "Vehicle",
+ "Fx",
+ "Texture Projection",
+ "Cast Shadows",
+ "Cast Static Geom Shadows",
+ "Cast Dynamic Geom Shadows",
+ "Calc From Sun",
+ "Enable Buzzing",
+ "Force Buzzing",
+ "Draw Volume",
+ "No Specular",
+ "Both Interior And Exterior",
+ "Corona Only",
+ "Not In Reflection",
+ "Only In Reflection",
+ "Use Cull Plane",
+ "Use Volume Outer Colour",
+ "Cast Higher Res Shadows",
+ "Cast Only Lowres Shadows",
+ "Far Lod Light",
+ "Dont Light Alpha",
+ "Cast Shadows If Possible",
+ "Cutscene",
+ "Moving Light Source",
+ "Use Vehicle Twin",
+ "Force Medium Lod Light",
+ "Corona Only Lod Light",
+ "Delay Render",
+ "Already Tested For Occlusion"});
+ this.FlagsCheckedListBox.Location = new System.Drawing.Point(295, 313);
+ this.FlagsCheckedListBox.Name = "FlagsCheckedListBox";
+ this.FlagsCheckedListBox.Size = new System.Drawing.Size(195, 409);
+ this.FlagsCheckedListBox.TabIndex = 413;
+ this.FlagsCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.FlagsCheckedListBox_ItemCheck);
//
// MainMenu
//
+ this.MainMenu.ImageScalingSize = new System.Drawing.Size(20, 20);
this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.EditMenu,
this.OptionsMenu,
@@ -1140,7 +1294,8 @@
this.ScaleMenuItem});
this.MainMenu.Location = new System.Drawing.Point(0, 0);
this.MainMenu.Name = "MainMenu";
- this.MainMenu.Size = new System.Drawing.Size(733, 24);
+ this.MainMenu.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
+ this.MainMenu.Size = new System.Drawing.Size(673, 28);
this.MainMenu.TabIndex = 1;
this.MainMenu.Text = "menuStripFix1";
//
@@ -1151,7 +1306,7 @@
this.EditDeleteLightMenu,
this.EditDuplicateLightMenu});
this.EditMenu.Name = "EditMenu";
- this.EditMenu.Size = new System.Drawing.Size(39, 20);
+ this.EditMenu.Size = new System.Drawing.Size(39, 24);
this.EditMenu.Text = "Edit";
//
// EditNewLightMenu
@@ -1182,8 +1337,9 @@
this.OptionsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.OptionsShowOutlinesMenu});
this.OptionsMenu.Name = "OptionsMenu";
- this.OptionsMenu.Size = new System.Drawing.Size(61, 20);
+ this.OptionsMenu.Size = new System.Drawing.Size(61, 24);
this.OptionsMenu.Text = "Options";
+ this.OptionsMenu.Visible = false;
//
// OptionsShowOutlinesMenu
//
@@ -1199,7 +1355,7 @@
this.MoveMenuItem.BackColor = System.Drawing.SystemColors.Control;
this.MoveMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("MoveMenuItem.Image")));
this.MoveMenuItem.Name = "MoveMenuItem";
- this.MoveMenuItem.Size = new System.Drawing.Size(28, 20);
+ this.MoveMenuItem.Size = new System.Drawing.Size(32, 24);
this.MoveMenuItem.ToolTipText = "Move";
this.MoveMenuItem.Click += new System.EventHandler(this.MoveMenuItem_Click);
//
@@ -1207,7 +1363,7 @@
//
this.RotateMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("RotateMenuItem.Image")));
this.RotateMenuItem.Name = "RotateMenuItem";
- this.RotateMenuItem.Size = new System.Drawing.Size(28, 20);
+ this.RotateMenuItem.Size = new System.Drawing.Size(32, 24);
this.RotateMenuItem.ToolTipText = "Rotate";
this.RotateMenuItem.Click += new System.EventHandler(this.RotateMenuItem_Click);
//
@@ -1215,37 +1371,15 @@
//
this.ScaleMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ScaleMenuItem.Image")));
this.ScaleMenuItem.Name = "ScaleMenuItem";
- this.ScaleMenuItem.Size = new System.Drawing.Size(28, 20);
+ this.ScaleMenuItem.Size = new System.Drawing.Size(32, 24);
this.ScaleMenuItem.ToolTipText = "Scale";
this.ScaleMenuItem.Click += new System.EventHandler(this.ScaleMenuItem_Click);
//
- // LightMenuStrip
- //
- this.LightMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.newLightToolStripMenuItem,
- this.deleteLightToolStripMenuItem});
- this.LightMenuStrip.Name = "LightMenuStrip";
- this.LightMenuStrip.Size = new System.Drawing.Size(138, 48);
- //
- // newLightToolStripMenuItem
- //
- this.newLightToolStripMenuItem.Name = "newLightToolStripMenuItem";
- this.newLightToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
- this.newLightToolStripMenuItem.Text = "New Light";
- this.newLightToolStripMenuItem.Click += new System.EventHandler(this.newLightToolStripMenuItem_Click);
- //
- // deleteLightToolStripMenuItem
- //
- this.deleteLightToolStripMenuItem.Name = "deleteLightToolStripMenuItem";
- this.deleteLightToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
- this.deleteLightToolStripMenuItem.Text = "Delete Light";
- this.deleteLightToolStripMenuItem.Click += new System.EventHandler(this.deleteLightToolStripMenuItem_Click);
- //
// ModelLightForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(733, 543);
+ this.ClientSize = new System.Drawing.Size(673, 774);
this.Controls.Add(this.MainSplitContainer);
this.Controls.Add(this.MainMenu);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -1257,25 +1391,26 @@
this.MainSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.MainSplitContainer)).EndInit();
this.MainSplitContainer.ResumeLayout(false);
- this.LightPropertiesPanel.ResumeLayout(false);
- this.LightPropertiesPanel.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.VolumetricFadeDistanceUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.SpecularFadeDistanceUpDown)).EndInit();
+ this.LightPropertiesPanel1.ResumeLayout(false);
+ this.LightMenuStrip.ResumeLayout(false);
+ this.LightPropertiesPanel2.ResumeLayout(false);
+ this.LightPropertiesPanel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourRUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourGUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ColourBUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LightHashUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.BoneIDUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.GroupIDUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.ShadowBlurUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ShadowFadeDistanceUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.LightFadeDistanceUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ShadowBlurUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.GroupIDUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.BoneIDUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.FlashinessUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.VolumeColorBUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.VolumeColorGUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SpecularFadeDistanceUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumetricFadeDistanceUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.VolumeColorRUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourBUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourGUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ColourRUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumeColorGUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VolumeColorBUpDown)).EndInit();
this.MainMenu.ResumeLayout(false);
this.MainMenu.PerformLayout();
- this.LightMenuStrip.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -1285,60 +1420,60 @@
private System.Windows.Forms.SplitContainer MainSplitContainer;
private WinForms.TreeViewFix LightsTreeView;
- private System.Windows.Forms.Panel LightPropertiesPanel;
+ private System.Windows.Forms.Panel LightPropertiesPanel2;
private System.Windows.Forms.NumericUpDown ColourBUpDown;
private System.Windows.Forms.NumericUpDown ColourGUpDown;
private System.Windows.Forms.NumericUpDown ColourRUpDown;
private System.Windows.Forms.TextBox TimeFlagsTextBox;
- private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label TimeFlagsLabel;
private System.Windows.Forms.CheckedListBox TimeFlagsPMCheckedListBox;
private System.Windows.Forms.CheckedListBox TimeFlagsAMCheckedListBox;
- private System.Windows.Forms.Label label9;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label CoronaIntensityLabel;
+ private System.Windows.Forms.Label OuterAngleLabel;
+ private System.Windows.Forms.Label InnerAngleLabel;
+ private System.Windows.Forms.Label TextureHashLabel;
private System.Windows.Forms.TextBox TextureHashTextBox;
- private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label FalloffExponentLabel;
private System.Windows.Forms.TextBox FalloffExponentTextBox;
- private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label FallofLabel;
private System.Windows.Forms.TextBox FalloffTextBox;
private System.Windows.Forms.ComboBox TypeComboBox;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label IntensityLabel;
+ private System.Windows.Forms.Label ColourRGBLabel;
+ private System.Windows.Forms.Label TypeLabel;
private System.Windows.Forms.Label ColourLabel;
private System.Windows.Forms.Button NormalizeDirectionButton;
- private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.Label DirectionLabel;
private System.Windows.Forms.TextBox DirectionTextBox;
private System.Windows.Forms.Button GoToButton;
private System.Windows.Forms.TextBox PositionTextBox;
- private System.Windows.Forms.Label label31;
+ private System.Windows.Forms.Label PositionLabel;
private System.Windows.Forms.TextBox CoronaSizeTextBox;
- private System.Windows.Forms.Label label14;
- private System.Windows.Forms.Label label15;
- private System.Windows.Forms.Label label11;
- private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label CoronaSizeLabel;
+ private System.Windows.Forms.Label FlashinessLabel;
+ private System.Windows.Forms.Label BoneIDLabel;
+ private System.Windows.Forms.Label GroupIDLabel;
private System.Windows.Forms.NumericUpDown VolumeColorBUpDown;
private System.Windows.Forms.NumericUpDown VolumeColorGUpDown;
private System.Windows.Forms.NumericUpDown VolumeColorRUpDown;
private System.Windows.Forms.Label VolumeColorLabel;
- private System.Windows.Forms.Label label22;
- private System.Windows.Forms.Label label23;
- private System.Windows.Forms.Label label21;
+ private System.Windows.Forms.Label ShadowFadeDistanceLabel;
+ private System.Windows.Forms.Label LightFadeDistanceLabel;
+ private System.Windows.Forms.Label VolumeOuterExponentLabel;
private System.Windows.Forms.TextBox VolumeOuterExponentTextBox;
- private System.Windows.Forms.Label label20;
- private System.Windows.Forms.Label label19;
+ private System.Windows.Forms.Label VolumeColorRGBLabel;
+ private System.Windows.Forms.Label VolumeSizeScaleLabel;
private System.Windows.Forms.TextBox VolumeSizeScaleTextBox;
- private System.Windows.Forms.Label label18;
+ private System.Windows.Forms.Label VolumeIntensityLabel;
private System.Windows.Forms.TextBox VolumeIntensityTextBox;
- private System.Windows.Forms.Label label16;
- private System.Windows.Forms.Label label28;
+ private System.Windows.Forms.Label ShadowBlurLabel;
+ private System.Windows.Forms.Label CoronaZBiasLabel;
private System.Windows.Forms.TextBox CoronaZBiasTextBox;
- private System.Windows.Forms.Label label27;
+ private System.Windows.Forms.Label ShadowNearClipLabel;
private System.Windows.Forms.TextBox ShadowNearClipTextBox;
- private System.Windows.Forms.Label label26;
- private System.Windows.Forms.Label label25;
- private System.Windows.Forms.Label label29;
+ private System.Windows.Forms.Label VolumetricFadeDistanceLabel;
+ private System.Windows.Forms.Label SpecularFadeDistanceLabel;
+ private System.Windows.Forms.Label ExtentLabel;
private System.Windows.Forms.TextBox ExtentTextBox;
private WinForms.MenuStripFix MainMenu;
private System.Windows.Forms.ToolStripMenuItem EditMenu;
@@ -1349,16 +1484,16 @@
private System.Windows.Forms.ToolStripMenuItem OptionsShowOutlinesMenu;
private System.Windows.Forms.ToolStripMenuItem MoveMenuItem;
private System.Windows.Forms.ToolStripMenuItem RotateMenuItem;
- private System.Windows.Forms.Label label24;
+ private System.Windows.Forms.Label CullingPlaneNormalLabel;
private System.Windows.Forms.TextBox CullingPlaneNormalTextBox;
- private System.Windows.Forms.Label label30;
+ private System.Windows.Forms.Label CullingPlaneOffsetLabel;
private System.Windows.Forms.TextBox CullingPlaneOffsetTextBox;
private System.Windows.Forms.ToolStripMenuItem ScaleMenuItem;
private System.Windows.Forms.Button NormalizeTangentButton;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label TangentLabel;
private System.Windows.Forms.TextBox TangentTextBox;
private System.Windows.Forms.TextBox FlagsTextBox;
- private System.Windows.Forms.Label label32;
+ private System.Windows.Forms.Label FlagsLabel;
private System.Windows.Forms.TextBox IntensityTextBox;
private System.Windows.Forms.TextBox OuterAngleTextBox;
private System.Windows.Forms.TextBox InnerAngleTextBox;
@@ -1370,12 +1505,18 @@
private System.Windows.Forms.NumericUpDown ShadowBlurUpDown;
private System.Windows.Forms.NumericUpDown GroupIDUpDown;
private System.Windows.Forms.NumericUpDown BoneIDUpDown;
- private System.Windows.Forms.NumericUpDown FlashinessUpDown;
+ private System.Windows.Forms.ComboBox FlashinessComboBox;
private System.Windows.Forms.Button DeleteLightButton;
private System.Windows.Forms.Button NewLightButton;
private System.Windows.Forms.Button DuplicateLightButton;
private System.Windows.Forms.ContextMenuStrip LightMenuStrip;
private System.Windows.Forms.ToolStripMenuItem newLightToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem deleteLightToolStripMenuItem;
+ private System.Windows.Forms.Label LightHashLabel;
+ private System.Windows.Forms.NumericUpDown LightHashUpDown;
+ private System.Windows.Forms.CheckedListBox FlagsCheckedListBox;
+ private System.Windows.Forms.Panel LightPropertiesPanel1;
+ private System.Windows.Forms.Button ResetDirectionButton;
+ private System.Windows.Forms.Button CalculateTangentButton;
}
-}
\ No newline at end of file
+}
diff --git a/CodeWalker/Forms/ModelLightForm.cs b/CodeWalker/Forms/ModelLightForm.cs
index 58b25e5..79edd2b 100644
--- a/CodeWalker/Forms/ModelLightForm.cs
+++ b/CodeWalker/Forms/ModelLightForm.cs
@@ -122,7 +122,8 @@ namespace CodeWalker.Forms
ColourBUpDown.Value = 0;
IntensityTextBox.Text = "";
FlagsTextBox.Text = "";
- FlashinessUpDown.Value = 0;
+ FlashinessComboBox.SelectedIndex = 0;
+ LightHashUpDown.Value = 0;
BoneIDUpDown.Value = 0;
GroupIDUpDown.Value = 0;
FalloffTextBox.Text = "";
@@ -167,7 +168,9 @@ namespace CodeWalker.Forms
ColourLabel.BackColor = System.Drawing.Color.FromArgb(light.ColorR, light.ColorG, light.ColorB);
IntensityTextBox.Text = FloatUtil.ToString(light.Intensity);
FlagsTextBox.Text = light.Flags.ToString();
- FlashinessUpDown.Value = light.Flashiness;
+ UpdateFlagsCheckBoxes();
+ FlashinessComboBox.SelectedIndex = light.Flashiness;
+ LightHashUpDown.Value = light.LightHash;
BoneIDUpDown.Value = light.BoneId;
GroupIDUpDown.Value = light.GroupId;
FalloffTextBox.Text = FloatUtil.ToString(light.Falloff);
@@ -195,7 +198,7 @@ namespace CodeWalker.Forms
CullingPlaneNormalTextBox.Text = FloatUtil.GetVector3String(light.CullingPlaneNormal);
CullingPlaneOffsetTextBox.Text = FloatUtil.ToString(light.CullingPlaneOffset);
TimeFlagsTextBox.Text = light.TimeFlags.ToString();
- UpdateFlagsCheckBoxes();
+ UpdateTimeFlagsCheckBoxes();
populatingui = false;
}
}
@@ -206,12 +209,37 @@ namespace CodeWalker.Forms
selectedLight.UpdateRenderable = true;
}
+ public void UpdateWidgetTransform()
+ {
+ var sl = selectedLight;
+ var pos = sl.Position;
+ Bone bone = null;
+ ModelForm.Skeleton?.BonesMap?.TryGetValue(sl.BoneId, out bone);
+ if (bone != null)
+ {
+ var xform = bone.AbsTransform;
+ pos = xform.Multiply(pos);
+ }
+ if (sl == null) return;
+ if (sl.Type == LightType.Capsule)
+ {
+ ModelForm.SetWidgetTransform(pos, sl.Orientation, new Vector3(sl.Falloff, sl.Falloff, sl.Extent.X));
+ }
+ else if (sl.Type == LightType.Spot)
+ {
+ ModelForm.SetWidgetTransform(pos, sl.Orientation, new Vector3(sl.ConeOuterAngle, sl.ConeInnerAngle, sl.Falloff));
+ }
+ else
+ {
+ ModelForm.SetWidgetTransform(pos, sl.Orientation, new Vector3(sl.Falloff));
+ }
+ }
private LightAttributes NewLightAttribute()
{
LightAttributes light = new LightAttributes();
light.Direction = Vector3.BackwardLH;
- light.Tangent = Vector3.Right;
+ light.Tangent = Vector3.Left;
light.Intensity = 5;
light.ConeInnerAngle = 5;
light.ConeOuterAngle = 35;
@@ -221,7 +249,7 @@ namespace CodeWalker.Forms
light.ColorR = 255;
light.ColorG = 255;
light.ColorB = 255;
- light.TimeFlags = 14680191;
+ light.TimeFlags = 16777215;
return light;
}
private LightAttributes DuplicateLightAttribute()
@@ -288,18 +316,7 @@ namespace CodeWalker.Forms
selectedLight = light;
ModelForm.selectedLight = light;
UpdateUI();
-
- var pos = light.Position;
- Bone bone = null;
- ModelForm.Skeleton?.BonesMap?.TryGetValue(light.BoneId, out bone);
- if (bone != null)
- {
- var xform = bone.AbsTransform;
- pos = xform.Multiply(pos);
- //TODO:? handle bone's rotation correctly for widget??
- }
-
- ModelForm.SetWidgetTransform(pos, light.Orientation, new Vector3(light.Falloff));
+ UpdateWidgetTransform();
}
}
private void SelectLightTreeNode(LightAttributes light)
@@ -445,7 +462,7 @@ namespace CodeWalker.Forms
SelectLightTreeNode(selectedLight);
}
- private void UpdateFlagsCheckBoxes()
+ private void UpdateTimeFlagsCheckBoxes()
{
var l = selectedLight;
var tfam = (l.TimeFlags >> 0) & 0xFFF;
@@ -460,6 +477,16 @@ namespace CodeWalker.Forms
}
}
+ private void UpdateFlagsCheckBoxes()
+ {
+ var l = selectedLight;
+ var f = l.Flags;
+ for (int i = 0; i < FlagsCheckedListBox.Items.Count; i++)
+ {
+ FlagsCheckedListBox.SetItemCheckState(i, ((f & (1u << i)) > 0) ? CheckState.Checked : CheckState.Unchecked);
+ }
+ }
+
private uint GetFlagsFromItemCheck(CheckedListBox clb, ItemCheckEventArgs e)
{
uint flags = 0;
@@ -533,6 +560,15 @@ namespace CodeWalker.Forms
}
+ private void UpdateLightTreeNodeText()
+ {
+ if (LightsTreeView.Nodes.Count == 0 || LightsTreeView.SelectedNode == null) return;
+ var lnode = LightsTreeView.SelectedNode;
+ if (lnode.Index >= 0)
+ {
+ lnode.Text = "Light" + (lnode.Index + 1).ToString() + " : " + selectedLight.Type.ToString();
+ }
+ }
private void LightsTreeView_AfterSelect(object sender, TreeViewEventArgs e)
@@ -558,6 +594,7 @@ namespace CodeWalker.Forms
if (selectedLight.Position != v)
{
selectedLight.Position = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -579,6 +616,8 @@ namespace CodeWalker.Forms
selectedLight.Type = LightType.Spot;
break;
}
+ UpdateWidgetTransform();
+ UpdateLightTreeNodeText();
UpdateLightParams();
}
@@ -629,6 +668,7 @@ namespace CodeWalker.Forms
if (selectedLight.Falloff != v)
{
selectedLight.Falloff = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -653,6 +693,7 @@ namespace CodeWalker.Forms
if (selectedLight.ConeInnerAngle != v)
{
selectedLight.ConeInnerAngle = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -665,6 +706,7 @@ namespace CodeWalker.Forms
if (selectedLight.ConeOuterAngle != v)
{
selectedLight.ConeOuterAngle = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -701,6 +743,7 @@ namespace CodeWalker.Forms
if (selectedLight.Direction != v)
{
selectedLight.Direction = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -711,6 +754,14 @@ namespace CodeWalker.Forms
DirectionTextBox.Text = FloatUtil.GetVector3String(d);
}
+ private void ResetDirectionButton_Click(object sender, EventArgs e)
+ {
+ Vector3 d = Vector3.ForwardRH;
+ Vector3 t = Vector3.Left;
+ DirectionTextBox.Text = FloatUtil.GetVector3String(d);
+ TangentTextBox.Text = FloatUtil.GetVector3String(t);
+ }
+
private void TangentTextBox_TextChanged(object sender, EventArgs e)
{
if (populatingui) return;
@@ -719,6 +770,7 @@ namespace CodeWalker.Forms
if (selectedLight.Tangent != v)
{
selectedLight.Tangent = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -729,27 +781,40 @@ namespace CodeWalker.Forms
TangentTextBox.Text = FloatUtil.GetVector3String(t);
}
- private void FlagsTextBox_TextChanged(object sender, EventArgs e)
+ private void CalculateTangentButton_Click(object sender, EventArgs e)
+ {
+ Vector3 d = Vector3.Normalize(FloatUtil.ParseVector3String(DirectionTextBox.Text));
+ Vector3 v = Vector3.Down;
+ Vector3 t = Vector3.Normalize(Vector3.Cross(d, v));
+ if (t == Vector3.Zero)
+ {
+ v = Vector3.Left;
+ t = Vector3.Normalize(Vector3.Cross(d, v));
+ }
+ TangentTextBox.Text = FloatUtil.GetVector3String(t);
+ }
+
+ private void FlashinessComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (populatingui) return;
if (selectedLight == null) return;
- uint.TryParse(FlagsTextBox.Text, out uint v);
- if (selectedLight.Flags != v)
+ var v = (byte)FlashinessComboBox.SelectedIndex;
+ if (selectedLight.Flashiness != v)
{
- selectedLight.Flags = v;
+ selectedLight.Flashiness = v;
UpdateLightParams();
}
}
- private void FlashinessUpDown_ValueChanged(object sender, EventArgs e)
+ private void LightHash_ValueChanged(object sender, EventArgs e)
{
if (populatingui) return;
if (selectedLight == null) return;
- var v = (byte)FlashinessUpDown.Value;
- if (selectedLight.Flashiness != v)
+ var v = (byte)LightHashUpDown.Value;
+ if (selectedLight.LightHash != v)
{
- selectedLight.Flashiness = v;
+ selectedLight.LightHash = v;
UpdateLightParams();
}
}
@@ -762,6 +827,7 @@ namespace CodeWalker.Forms
if (selectedLight.BoneId != v)
{
selectedLight.BoneId = v;
+ UpdateWidgetTransform();
UpdateLightParams();
}
}
@@ -947,7 +1013,7 @@ namespace CodeWalker.Forms
selectedLight.TimeFlags = v;
}
populatingui = true;
- UpdateFlagsCheckBoxes();
+ UpdateTimeFlagsCheckBoxes();
populatingui = false;
}
@@ -983,6 +1049,34 @@ namespace CodeWalker.Forms
populatingui = false;
}
+ private void FlagsTextBox_TextChanged(object sender, EventArgs e)
+ {
+ if (populatingui) return;
+ if (selectedLight == null) return;
+ uint.TryParse(FlagsTextBox.Text, out uint v);
+ if (selectedLight.Flags != v)
+ {
+ selectedLight.Flags = v;
+ }
+ populatingui = true;
+ UpdateFlagsCheckBoxes();
+ populatingui = false;
+ }
+
+ private void FlagsCheckedListBox_ItemCheck(object sender, ItemCheckEventArgs e)
+ {
+ if (populatingui) return;
+ if (selectedLight == null) return;
+ var v = GetFlagsFromItemCheck(FlagsCheckedListBox, e);
+ if (selectedLight.Flags != v)
+ {
+ selectedLight.Flags = v;
+ }
+ populatingui = true;
+ FlagsTextBox.Text = selectedLight.Flags.ToString();
+ populatingui = false;
+ }
+
private void TextureHashTextBox_TextChanged(object sender, EventArgs e)
{
if (populatingui) return;
@@ -1005,6 +1099,7 @@ namespace CodeWalker.Forms
if (selectedLight.CullingPlaneNormal != v)
{
selectedLight.CullingPlaneNormal = v;
+ UpdateLightParams();
}
}
@@ -1077,11 +1172,6 @@ namespace CodeWalker.Forms
DuplicateLight();
}
- private void MainSplitContainer_Panel2_Paint(object sender, PaintEventArgs e)
- {
-
- }
-
private void newLightToolStripMenuItem_Click(object sender, EventArgs e)
{
CreateLight();
diff --git a/CodeWalker/Forms/ModelLightForm.resx b/CodeWalker/Forms/ModelLightForm.resx
index d282b87..2a9de69 100644
--- a/CodeWalker/Forms/ModelLightForm.resx
+++ b/CodeWalker/Forms/ModelLightForm.resx
@@ -148,7 +148,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAHhJREFUOE/dkLsNwCAMRBkpMzAc69IgWuJLsGUQH4cyJz1Alu8VOEtSSlfOORKl
+ wgAADsIBFShKgAAAAHhJREFUOE/dkLsNwCAMRBkpMzAc69IgWuJLsGUQH4cyJz1Alu8VOEtSSlfOORKl
p67Mw+UQQvHeN2wFq7IIcFjpRZg9Aj3coSWNAPeMvoQbM3rHRsBLI1jCQpTxR2aB3pMyciKQMnIiqNU3
PxPsWAqsDAVfqVWKczdonTmVYM9FFwAAAABJRU5ErkJggg==
diff --git a/CodeWalker/Rendering/Renderable.cs b/CodeWalker/Rendering/Renderable.cs
index 9aedf5b..f27eba1 100644
--- a/CodeWalker/Rendering/Renderable.cs
+++ b/CodeWalker/Rendering/Renderable.cs
@@ -1384,6 +1384,7 @@ namespace CodeWalker.Rendering
public Vector3 CullingPlaneNormal;
public float CullingPlaneOffset;
public uint TimeFlags;
+ public uint Flags;
public MetaHash TextureHash;
public void Init(LightAttributes l)
@@ -1409,6 +1410,7 @@ namespace CodeWalker.Rendering
CullingPlaneNormal = l.CullingPlaneNormal;
CullingPlaneOffset = l.CullingPlaneOffset;
TimeFlags = l.TimeFlags;
+ Flags = l.Flags;
TextureHash = l.ProjectedTextureHash;
}
}
diff --git a/CodeWalker/Rendering/Shaders/DeferredScene.cs b/CodeWalker/Rendering/Shaders/DeferredScene.cs
index 8a93384..0792674 100644
--- a/CodeWalker/Rendering/Shaders/DeferredScene.cs
+++ b/CodeWalker/Rendering/Shaders/DeferredScene.cs
@@ -56,6 +56,10 @@ namespace CodeWalker.Rendering
public uint InstType;
public Vector3 InstCullingPlaneNormal;
public float InstCullingPlaneOffset;
+ public uint InstCullingPlaneEnable;
+ public uint InstUnused1;
+ public uint InstUnused2;
+ public uint InstUnused3;
}
public struct DeferredSSAAPSVars
@@ -573,6 +577,7 @@ namespace CodeWalker.Rendering
LightInstVars.Vars.InstConeOuterAngle = rl.ConeOuterAngle;
LightInstVars.Vars.InstType = (uint)rl.Type;
LightInstVars.Vars.InstCullingPlaneOffset = rl.CullingPlaneOffset;
+ LightInstVars.Vars.InstCullingPlaneEnable = ((rl.Flags & 0x40000) != 0) ? 1u : 0u;
LightInstVars.Update(context);
LightInstVars.SetVSCBuffer(context, 1);
LightInstVars.SetPSCBuffer(context, 2);
diff --git a/Shaders/LightPS.cso b/Shaders/LightPS.cso
index 0f0d80f..923e8ce 100644
Binary files a/Shaders/LightPS.cso and b/Shaders/LightPS.cso differ
diff --git a/Shaders/LightPS_MS.cso b/Shaders/LightPS_MS.cso
index 1987339..eb9bb7f 100644
Binary files a/Shaders/LightPS_MS.cso and b/Shaders/LightPS_MS.cso differ
diff --git a/Shaders/LightVS.cso b/Shaders/LightVS.cso
index c8d42a6..9686134 100644
Binary files a/Shaders/LightVS.cso and b/Shaders/LightVS.cso differ