123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- object Form1: TForm1
- Left = 293
- Top = 145
- Caption = 'Fog'
- ClientHeight = 452
- ClientWidth = 598
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -10
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- Position = poScreenCenter
- WindowState = wsMaximized
- OnMouseWheel = FormMouseWheel
- PixelsPerInch = 96
- TextHeight = 13
- object GLSceneViewer1: TGLSceneViewer
- Left = 0
- Top = 0
- Width = 598
- Height = 312
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Camera = GLCamera1
- FieldOfView = 144.457351684570300000
- Align = alClient
- OnMouseDown = GLSceneViewer1MouseDown
- OnMouseMove = GLSceneViewer1MouseMove
- TabOrder = 0
- end
- object Panel1: TPanel
- Left = 0
- Top = 312
- Width = 598
- Height = 140
- Align = alBottom
- TabOrder = 1
- object LFogStart: TLabel
- Left = 16
- Top = 49
- Width = 38
- Height = 13
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'fog start'
- end
- object LFogEnd: TLabel
- Left = 16
- Top = 81
- Width = 36
- Height = 13
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'fog end'
- end
- object SFogColor: TShape
- Left = 480
- Top = 101
- Width = 57
- Height = 16
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- OnMouseDown = SFogColorMouseDown
- end
- object LFogColor: TLabel
- Left = 409
- Top = 104
- Width = 41
- Height = 13
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'fog color'
- end
- object LFogDensity: TLabel
- Left = 409
- Top = 43
- Width = 144
- Height = 13
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'fog density (for fmExp/fmExp2)'
- end
- object CBFogEnable: TCheckBox
- Left = 16
- Top = 12
- Width = 73
- Height = 17
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'fog on/off'
- TabOrder = 0
- OnClick = CBFogEnableClick
- end
- object EFogStart: TEdit
- Left = 80
- Top = 41
- Width = 57
- Height = 21
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- TabOrder = 1
- Text = '-30'
- OnChange = EFogStartChange
- end
- object EFogEnd: TEdit
- Left = 80
- Top = 72
- Width = 57
- Height = 21
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- TabOrder = 2
- Text = '30'
- OnChange = EFogStartChange
- end
- object GBTexture: TGroupBox
- Left = 156
- Top = 9
- Width = 232
- Height = 120
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = '[ texture ]'
- TabOrder = 3
- object CBTextureEnabled: TCheckBox
- Left = 24
- Top = 15
- Width = 65
- Height = 17
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'enabled'
- Checked = True
- State = cbChecked
- TabOrder = 0
- OnClick = CBTextureEnabledClick
- end
- object CBTextureIgnoreFog: TCheckBox
- Left = 119
- Top = 13
- Width = 73
- Height = 17
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'ignore fog'
- TabOrder = 1
- OnClick = CBTextureIgnoreFogClick
- end
- object RGFogDistance: TRadioGroup
- Left = 2
- Top = 36
- Width = 105
- Height = 73
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = '[ fog mode ]'
- ItemIndex = 0
- Items.Strings = (
- 'fdDefault'
- 'fdEyePlane'
- 'fdEyeRadial')
- TabOrder = 2
- OnClick = RGFogModeClick
- end
- object RGFogMode: TRadioGroup
- Left = 112
- Top = 40
- Width = 105
- Height = 73
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = '[ fog mode ]'
- ItemIndex = 0
- Items.Strings = (
- 'fmLinear'
- 'fmExp'
- 'fmExp2')
- TabOrder = 3
- OnClick = RGFogModeClick
- end
- end
- object CBApplyToBackground: TCheckBox
- Left = 424
- Top = 12
- Width = 105
- Height = 17
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- Caption = 'background too ?'
- Checked = True
- State = cbChecked
- TabOrder = 4
- OnClick = CBApplyToBackgroundClick
- end
- object EFogDensity: TEdit
- Left = 480
- Top = 68
- Width = 57
- Height = 21
- Margins.Left = 2
- Margins.Top = 2
- Margins.Right = 2
- Margins.Bottom = 2
- TabOrder = 5
- Text = '100'
- OnChange = EFogStartChange
- end
- end
- object GLScene1: TGLScene
- Left = 40
- Top = 24
- object GLDummyCube1: TGLDummyCube
- CubeSize = 1.000000000000000000
- end
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {000096430000FA430000C8430000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLCamera1: TGLCamera
- DepthOfView = 100.000000000000000000
- FocalLength = 50.000000000000000000
- TargetObject = GLDummyCube1
- Position.Coordinates = {0000C04000008040000000410000803F}
- end
- end
- object GLCadencer1: TGLCadencer
- Scene = GLScene1
- SleepLength = 1
- Left = 40
- Top = 80
- end
- object ColorDialog1: TColorDialog
- Left = 152
- Top = 24
- end
- object GLMaterialLibrary1: TGLMaterialLibrary
- Left = 152
- Top = 80
- end
- end
|