home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 9 / FreelogHS09.iso / FractalExplo / FE_ogl.dll / 0 / RCDATA / TLIGHTSFORM / TLIGHTSFORM.txt < prev   
Text File  |  2001-05-14  |  31KB  |  1,157 lines

  1. object LightsForm: TLightsForm
  2.   Left = 441
  3.   Top = 35
  4.   ActiveControl = BitBtn2
  5.   BorderIcons = [biSystemMenu]
  6.   BorderStyle = bsSingle
  7.   Caption = 'Light property and matherial workshop'
  8.   ClientHeight = 465
  9.   ClientWidth = 561
  10.   Font.Charset = DEFAULT_CHARSET
  11.   Font.Color = clWindowText
  12.   Font.Height = -13
  13.   Font.Name = 'MS Sans Serif'
  14.   Font.Style = []
  15.   Icon.Data = {<image000.ico>}
  16.   Scaled = False
  17.   ShowHint = True
  18.   OnClose = FormClose
  19.   OnCreate = FormCreate
  20.   OnDestroy = FormDestroy
  21.   OnShow = FormShow
  22.   PixelsPerInch = 96
  23.   TextHeight = 16
  24.   object Label14: TLabel
  25.     Left = 2
  26.     Top = 124
  27.     Width = 81
  28.     Height = 13
  29.     Caption = 'Light sources:'
  30.     Font.Charset = DEFAULT_CHARSET
  31.     Font.Color = clNavy
  32.     Font.Height = -11
  33.     Font.Name = 'MS Sans Serif'
  34.     Font.Style = [fsBold]
  35.     ParentFont = False
  36.   end
  37.   object Panel1: TPanel
  38.     Left = 4
  39.     Top = 4
  40.     Width = 189
  41.     Height = 113
  42.     BevelOuter = bvLowered
  43.     TabOrder = 7
  44.     object OGLPanel1: TOGLPanel
  45.       Left = 1
  46.       Top = 1
  47.       Width = 187
  48.       Height = 111
  49.       OGLAngle = 45.000000000000000000
  50.       OGLDistNear = 0.001000000047497451
  51.       OGLDistFar = 50.000000000000000000
  52.       OGLRenderer = rdHardware
  53.       OGLLoadBitmap = False
  54.       Align = alClient
  55.       Color = clWhite
  56.       OnPaint = OGLPanel1Paint
  57.       OnRender = OGLPanel1Render
  58.     end
  59.   end
  60.   object Panel4: TPanel
  61.     Left = 4
  62.     Top = 140
  63.     Width = 101
  64.     Height = 97
  65.     BevelOuter = bvNone
  66.     TabOrder = 8
  67.     object SpeedButton1: TSpeedButton
  68.       Tag = 2
  69.       Left = 36
  70.       Top = 4
  71.       Width = 27
  72.       Height = 27
  73.       Hint = 'Second light source'
  74.       AllowAllUp = True
  75.       GroupIndex = 12
  76.       OnClick = SpeedButton1Click
  77.     end
  78.     object SpeedButton2: TSpeedButton
  79.       Tag = 3
  80.       Left = 4
  81.       Top = 36
  82.       Width = 27
  83.       Height = 27
  84.       Hint = 'Third light source'
  85.       AllowAllUp = True
  86.       GroupIndex = 12
  87.       OnClick = SpeedButton1Click
  88.     end
  89.     object SpeedButton3: TSpeedButton
  90.       Tag = 1
  91.       Left = 36
  92.       Top = 36
  93.       Width = 27
  94.       Height = 27
  95.       Hint = 'First light source (center of scene by default)'
  96.       AllowAllUp = True
  97.       GroupIndex = 12
  98.       OnClick = SpeedButton1Click
  99.     end
  100.     object SpeedButton4: TSpeedButton
  101.       Tag = 4
  102.       Left = 68
  103.       Top = 36
  104.       Width = 27
  105.       Height = 27
  106.       Hint = 'Fourth light source'
  107.       AllowAllUp = True
  108.       GroupIndex = 12
  109.       OnClick = SpeedButton1Click
  110.     end
  111.     object SpeedButton5: TSpeedButton
  112.       Tag = 5
  113.       Left = 36
  114.       Top = 68
  115.       Width = 27
  116.       Height = 27
  117.       Hint = 'Fifth light source'
  118.       AllowAllUp = True
  119.       GroupIndex = 12
  120.       OnClick = SpeedButton1Click
  121.     end
  122.   end
  123.   object CheckBox1: TCheckBox
  124.     Left = 108
  125.     Top = 136
  126.     Width = 81
  127.     Height = 17
  128.     Hint = 'Enable or disable current light source'
  129.     Caption = '&Enabled'
  130.     Font.Charset = DEFAULT_CHARSET
  131.     Font.Color = clWindowText
  132.     Font.Height = -11
  133.     Font.Name = 'MS Sans Serif'
  134.     Font.Style = []
  135.     ParentFont = False
  136.     TabOrder = 0
  137.     OnClick = CheckBox1Click
  138.   end
  139.   object GroupBox1: TGroupBox
  140.     Left = 200
  141.     Top = 120
  142.     Width = 357
  143.     Height = 181
  144.     Caption = 'Light sources position:'
  145.     Font.Charset = DEFAULT_CHARSET
  146.     Font.Color = clNavy
  147.     Font.Height = -11
  148.     Font.Name = 'MS Sans Serif'
  149.     Font.Style = [fsBold]
  150.     ParentFont = False
  151.     TabOrder = 5
  152.     object Image1: TImage
  153.       Left = 2
  154.       Top = 15
  155.       Width = 353
  156.       Height = 164
  157.       Align = alClient
  158.       Picture.Data = {<image001.bmp>}
  159.     end
  160.     object Panel2: TPanel
  161.       Tag = 2
  162.       Left = 80
  163.       Top = 76
  164.       Width = 6
  165.       Height = 6
  166.       Cursor = crHandPoint
  167.       Hint = 'Click and drag to new position'
  168.       BevelOuter = bvLowered
  169.       Color = clGray
  170.       TabOrder = 0
  171.       OnMouseDown = Panel2MouseDown
  172.       OnMouseMove = Panel2MouseMove
  173.       OnMouseUp = Panel2MouseUp
  174.     end
  175.     object Panel7: TPanel
  176.       Tag = 3
  177.       Left = 60
  178.       Top = 96
  179.       Width = 6
  180.       Height = 6
  181.       Cursor = crHandPoint
  182.       Hint = 'Click and drag to new position'
  183.       BevelOuter = bvLowered
  184.       Color = clGray
  185.       TabOrder = 1
  186.       OnMouseDown = Panel2MouseDown
  187.       OnMouseMove = Panel2MouseMove
  188.       OnMouseUp = Panel2MouseUp
  189.     end
  190.     object Panel8: TPanel
  191.       Tag = 4
  192.       Left = 100
  193.       Top = 96
  194.       Width = 6
  195.       Height = 6
  196.       Cursor = crHandPoint
  197.       Hint = 'Click and drag to new position'
  198.       BevelOuter = bvLowered
  199.       Color = clGray
  200.       TabOrder = 2
  201.       OnMouseDown = Panel2MouseDown
  202.       OnMouseMove = Panel2MouseMove
  203.       OnMouseUp = Panel2MouseUp
  204.     end
  205.     object Panel9: TPanel
  206.       Tag = 1
  207.       Left = 80
  208.       Top = 96
  209.       Width = 6
  210.       Height = 6
  211.       Cursor = crHandPoint
  212.       Hint = 'Click and drag to new position'
  213.       BevelOuter = bvLowered
  214.       Color = clLime
  215.       TabOrder = 3
  216.       OnMouseDown = Panel2MouseDown
  217.       OnMouseMove = Panel2MouseMove
  218.       OnMouseUp = Panel2MouseUp
  219.     end
  220.     object Panel10: TPanel
  221.       Tag = 5
  222.       Left = 80
  223.       Top = 116
  224.       Width = 6
  225.       Height = 6
  226.       Cursor = crHandPoint
  227.       Hint = 'Click and drag to new position'
  228.       BevelOuter = bvLowered
  229.       Color = clGray
  230.       TabOrder = 4
  231.       OnMouseDown = Panel2MouseDown
  232.       OnMouseMove = Panel2MouseMove
  233.       OnMouseUp = Panel2MouseUp
  234.     end
  235.     object Panel11: TPanel
  236.       Tag = 2
  237.       Left = 264
  238.       Top = 76
  239.       Width = 6
  240.       Height = 6
  241.       Cursor = crHandPoint
  242.       Hint = 'Click and drag to new position'
  243.       BevelOuter = bvLowered
  244.       Color = clGray
  245.       TabOrder = 5
  246.       OnMouseDown = Panel9MouseDown
  247.       OnMouseMove = Panel9MouseMove
  248.       OnMouseUp = Panel9MouseUp
  249.     end
  250.     object Panel12: TPanel
  251.       Tag = 3
  252.       Left = 244
  253.       Top = 96
  254.       Width = 6
  255.       Height = 6
  256.       Cursor = crHandPoint
  257.       Hint = 'Click and drag to new position'
  258.       BevelOuter = bvLowered
  259.       Color = clGray
  260.       TabOrder = 6
  261.       OnMouseDown = Panel9MouseDown
  262.       OnMouseMove = Panel9MouseMove
  263.       OnMouseUp = Panel9MouseUp
  264.     end
  265.     object Panel13: TPanel
  266.       Tag = 1
  267.       Left = 264
  268.       Top = 96
  269.       Width = 6
  270.       Height = 6
  271.       Cursor = crHandPoint
  272.       Hint = 'Click and drag to new position'
  273.       BevelOuter = bvLowered
  274.       Color = clLime
  275.       TabOrder = 7
  276.       OnMouseDown = Panel9MouseDown
  277.       OnMouseMove = Panel9MouseMove
  278.       OnMouseUp = Panel9MouseUp
  279.     end
  280.     object Panel14: TPanel
  281.       Tag = 5
  282.       Left = 264
  283.       Top = 116
  284.       Width = 6
  285.       Height = 6
  286.       Cursor = crHandPoint
  287.       Hint = 'Click and drag to new position'
  288.       BevelOuter = bvLowered
  289.       Color = clGray
  290.       TabOrder = 8
  291.       OnMouseDown = Panel9MouseDown
  292.       OnMouseMove = Panel9MouseMove
  293.       OnMouseUp = Panel9MouseUp
  294.     end
  295.     object Panel15: TPanel
  296.       Tag = 4
  297.       Left = 284
  298.       Top = 96
  299.       Width = 6
  300.       Height = 6
  301.       Cursor = crHandPoint
  302.       Hint = 'Click and drag to new position'
  303.       BevelOuter = bvLowered
  304.       Color = clGray
  305.       TabOrder = 9
  306.       OnMouseDown = Panel9MouseDown
  307.       OnMouseMove = Panel9MouseMove
  308.       OnMouseUp = Panel9MouseUp
  309.     end
  310.   end
  311.   object BitBtn1: TBitBtn
  312.     Left = 100
  313.     Top = 244
  314.     Width = 89
  315.     Height = 25
  316.     Caption = '&Cancel'
  317.     Font.Charset = DEFAULT_CHARSET
  318.     Font.Color = clWindowText
  319.     Font.Height = -11
  320.     Font.Name = 'MS Sans Serif'
  321.     Font.Style = []
  322.     ParentFont = False
  323.     TabOrder = 2
  324.     OnClick = BitBtn1Click
  325.     Kind = bkCancel
  326.   end
  327.   object BitBtn2: TBitBtn
  328.     Left = 4
  329.     Top = 244
  330.     Width = 89
  331.     Height = 25
  332.     Caption = '&Ok'
  333.     Font.Charset = DEFAULT_CHARSET
  334.     Font.Color = clWindowText
  335.     Font.Height = -11
  336.     Font.Name = 'MS Sans Serif'
  337.     Font.Style = []
  338.     ParentFont = False
  339.     TabOrder = 1
  340.     OnClick = BitBtn2Click
  341.     Kind = bkOK
  342.   end
  343.   object GroupBox2: TGroupBox
  344.     Left = 4
  345.     Top = 308
  346.     Width = 553
  347.     Height = 153
  348.     Hint = 'Terrain matherial and texture'
  349.     Caption = 'Terrain matherial and texture:'
  350.     Font.Charset = DEFAULT_CHARSET
  351.     Font.Color = clNavy
  352.     Font.Height = -11
  353.     Font.Name = 'MS Sans Serif'
  354.     Font.Style = [fsBold]
  355.     ParentFont = False
  356.     TabOrder = 6
  357.     object Label15: TLabel
  358.       Left = 8
  359.       Top = 38
  360.       Width = 41
  361.       Height = 14
  362.       Caption = 'Ambient'
  363.       Font.Charset = RUSSIAN_CHARSET
  364.       Font.Color = clWindowText
  365.       Font.Height = -11
  366.       Font.Name = 'Arial'
  367.       Font.Style = [fsItalic, fsUnderline]
  368.       ParentFont = False
  369.     end
  370.     object Label16: TLabel
  371.       Left = 8
  372.       Top = 66
  373.       Width = 35
  374.       Height = 14
  375.       Caption = 'Diffuse'
  376.       Font.Charset = RUSSIAN_CHARSET
  377.       Font.Color = clWindowText
  378.       Font.Height = -11
  379.       Font.Name = 'Arial'
  380.       Font.Style = [fsItalic, fsUnderline]
  381.       ParentFont = False
  382.     end
  383.     object Label17: TLabel
  384.       Left = 8
  385.       Top = 94
  386.       Width = 44
  387.       Height = 14
  388.       Caption = 'Specular'
  389.       Font.Charset = RUSSIAN_CHARSET
  390.       Font.Color = clWindowText
  391.       Font.Height = -11
  392.       Font.Name = 'Arial'
  393.       Font.Style = [fsItalic, fsUnderline]
  394.       ParentFont = False
  395.     end
  396.     object Label18: TLabel
  397.       Left = 8
  398.       Top = 122
  399.       Width = 49
  400.       Height = 14
  401.       Caption = 'Shininess'
  402.       Font.Charset = RUSSIAN_CHARSET
  403.       Font.Color = clWindowText
  404.       Font.Height = -11
  405.       Font.Name = 'Arial'
  406.       Font.Style = [fsItalic, fsUnderline]
  407.       ParentFont = False
  408.     end
  409.     object Label19: TLabel
  410.       Left = 62
  411.       Top = 38
  412.       Width = 7
  413.       Height = 17
  414.       Caption = '0'
  415.       Font.Charset = RUSSIAN_CHARSET
  416.       Font.Color = clNavy
  417.       Font.Height = -15
  418.       Font.Name = 'Times New Roman'
  419.       Font.Style = []
  420.       ParentFont = False
  421.     end
  422.     object Label20: TLabel
  423.       Left = 62
  424.       Top = 66
  425.       Width = 7
  426.       Height = 17
  427.       Caption = '0'
  428.       Font.Charset = RUSSIAN_CHARSET
  429.       Font.Color = clNavy
  430.       Font.Height = -15
  431.       Font.Name = 'Times New Roman'
  432.       Font.Style = []
  433.       ParentFont = False
  434.     end
  435.     object Label21: TLabel
  436.       Left = 62
  437.       Top = 94
  438.       Width = 7
  439.       Height = 17
  440.       Caption = '0'
  441.       Font.Charset = RUSSIAN_CHARSET
  442.       Font.Color = clNavy
  443.       Font.Height = -15
  444.       Font.Name = 'Times New Roman'
  445.       Font.Style = []
  446.       ParentFont = False
  447.     end
  448.     object Label22: TLabel
  449.       Left = 62
  450.       Top = 122
  451.       Width = 7
  452.       Height = 17
  453.       Caption = '0'
  454.       Font.Charset = RUSSIAN_CHARSET
  455.       Font.Color = clNavy
  456.       Font.Height = -15
  457.       Font.Name = 'Times New Roman'
  458.       Font.Style = []
  459.       ParentFont = False
  460.     end
  461.     object Label23: TLabel
  462.       Left = 224
  463.       Top = 122
  464.       Width = 21
  465.       Height = 17
  466.       Caption = '128'
  467.       Font.Charset = RUSSIAN_CHARSET
  468.       Font.Color = clNavy
  469.       Font.Height = -15
  470.       Font.Name = 'Times New Roman'
  471.       Font.Style = []
  472.       ParentFont = False
  473.     end
  474.     object Label24: TLabel
  475.       Left = 224
  476.       Top = 94
  477.       Width = 7
  478.       Height = 17
  479.       Caption = '1'
  480.       Font.Charset = RUSSIAN_CHARSET
  481.       Font.Color = clNavy
  482.       Font.Height = -15
  483.       Font.Name = 'Times New Roman'
  484.       Font.Style = []
  485.       ParentFont = False
  486.     end
  487.     object Label25: TLabel
  488.       Left = 224
  489.       Top = 38
  490.       Width = 7
  491.       Height = 17
  492.       Caption = '1'
  493.       Font.Charset = RUSSIAN_CHARSET
  494.       Font.Color = clNavy
  495.       Font.Height = -15
  496.       Font.Name = 'Times New Roman'
  497.       Font.Style = []
  498.       ParentFont = False
  499.     end
  500.     object Label26: TLabel
  501.       Left = 224
  502.       Top = 66
  503.       Width = 7
  504.       Height = 17
  505.       Caption = '1'
  506.       Font.Charset = RUSSIAN_CHARSET
  507.       Font.Color = clNavy
  508.       Font.Height = -15
  509.       Font.Name = 'Times New Roman'
  510.       Font.Style = []
  511.       ParentFont = False
  512.     end
  513.     object Shape4: TShape
  514.       Left = 244
  515.       Top = 32
  516.       Width = 28
  517.       Height = 28
  518.       Hint = 'Color of the ambient component of the material'
  519.       Shape = stCircle
  520.       OnMouseDown = Shape4MouseDown
  521.     end
  522.     object Shape5: TShape
  523.       Left = 244
  524.       Top = 60
  525.       Width = 28
  526.       Height = 28
  527.       Hint = 'Color of the diffuse component of the material'
  528.       Shape = stCircle
  529.       OnMouseDown = Shape5MouseDown
  530.     end
  531.     object Shape6: TShape
  532.       Left = 244
  533.       Top = 88
  534.       Width = 28
  535.       Height = 28
  536.       Hint = 'Color of the specular component of the material'
  537.       Shape = stCircle
  538.       OnMouseDown = Shape6MouseDown
  539.     end
  540.     object Label11: TLabel
  541.       Left = 292
  542.       Top = 36
  543.       Width = 31
  544.       Height = 14
  545.       Caption = 'Scale:'
  546.       Font.Charset = RUSSIAN_CHARSET
  547.       Font.Color = clWindowText
  548.       Font.Height = -11
  549.       Font.Name = 'Arial'
  550.       Font.Style = [fsItalic, fsUnderline]
  551.       ParentFont = False
  552.     end
  553.     object ScrollBar5: TScrollBar
  554.       Left = 72
  555.       Top = 120
  556.       Width = 149
  557.       Height = 20
  558.       Hint = 'Value of specular exponent of the material'
  559.       LargeChange = 8
  560.       Max = 128
  561.       SmallChange = 2
  562.       TabOrder = 3
  563.       OnChange = ScrollBar5Change
  564.     end
  565.     object ScrollBar6: TScrollBar
  566.       Left = 72
  567.       Top = 92
  568.       Width = 149
  569.       Height = 20
  570.       Hint = 'Intensity for specular reflectance of the material'
  571.       LargeChange = 10
  572.       SmallChange = 2
  573.       TabOrder = 2
  574.       OnChange = ScrollBar6Change
  575.     end
  576.     object ScrollBar7: TScrollBar
  577.       Left = 72
  578.       Top = 64
  579.       Width = 149
  580.       Height = 20
  581.       Hint = 'Intensity of the diffuse RGBA reflectance of the material'
  582.       LargeChange = 10
  583.       SmallChange = 2
  584.       TabOrder = 1
  585.       OnChange = ScrollBar7Change
  586.     end
  587.     object ScrollBar8: TScrollBar
  588.       Left = 72
  589.       Top = 36
  590.       Width = 149
  591.       Height = 20
  592.       Hint = 'Intensity of the ambient reflectance of the material'
  593.       LargeChange = 10
  594.       SmallChange = 2
  595.       TabOrder = 0
  596.       OnChange = ScrollBar8Change
  597.     end
  598.     object StaticText3: TStaticText
  599.       Left = 72
  600.       Top = 16
  601.       Width = 149
  602.       Height = 21
  603.       AutoSize = False
  604.       Caption = 'Intensity:'
  605.       Font.Charset = RUSSIAN_CHARSET
  606.       Font.Color = clBlack
  607.       Font.Height = -11
  608.       Font.Name = 'Arial'
  609.       Font.Style = [fsBold, fsItalic]
  610.       ParentFont = False
  611.       TabOrder = 7
  612.     end
  613.     object StaticText4: TStaticText
  614.       Left = 240
  615.       Top = 16
  616.       Width = 49
  617.       Height = 17
  618.       AutoSize = False
  619.       Caption = 'Color:'
  620.       Font.Charset = RUSSIAN_CHARSET
  621.       Font.Color = clBlack
  622.       Font.Height = -11
  623.       Font.Name = 'Arial'
  624.       Font.Style = [fsBold, fsItalic]
  625.       ParentFont = False
  626.       TabOrder = 8
  627.     end
  628.     object StaticText5: TStaticText
  629.       Left = 292
  630.       Top = 16
  631.       Width = 65
  632.       Height = 17
  633.       AutoSize = False
  634.       Caption = 'Texture:'
  635.       Font.Charset = RUSSIAN_CHARSET
  636.       Font.Color = clBlack
  637.       Font.Height = -11
  638.       Font.Name = 'Arial'
  639.       Font.Style = [fsBold, fsItalic]
  640.       ParentFont = False
  641.       TabOrder = 9
  642.     end
  643.     object Panel17: TPanel
  644.       Left = 412
  645.       Top = 16
  646.       Width = 130
  647.       Height = 130
  648.       BevelOuter = bvLowered
  649.       TabOrder = 10
  650.       object Image2: TImage
  651.         Left = 1
  652.         Top = 1
  653.         Width = 128
  654.         Height = 128
  655.         Align = alClient
  656.         Center = True
  657.       end
  658.     end
  659.     object BitBtn5: TBitBtn
  660.       Left = 292
  661.       Top = 92
  662.       Width = 113
  663.       Height = 25
  664.       Caption = '&Load texture...'
  665.       Font.Charset = DEFAULT_CHARSET
  666.       Font.Color = clBlack
  667.       Font.Height = -11
  668.       Font.Name = 'MS Sans Serif'
  669.       Font.Style = []
  670.       ParentFont = False
  671.       TabOrder = 5
  672.       OnClick = BitBtn5Click
  673.       Glyph.Data = {
  674.         76010000424D7601000000000000760000002800000020000000100000000100
  675.         0400000000000001000000000000000000001000000010000000000000000000
  676.         800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  677.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
  678.         333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
  679.         0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
  680.         07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
  681.         07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
  682.         0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
  683.         33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
  684.         B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
  685.         3BB33773333773333773B333333B3333333B7333333733333337}
  686.       NumGlyphs = 2
  687.       Spacing = 8
  688.     end
  689.     object Panel18: TPanel
  690.       Left = 280
  691.       Top = 6
  692.       Width = 2
  693.       Height = 147
  694.       BevelOuter = bvLowered
  695.       TabOrder = 11
  696.     end
  697.     object BitBtn6: TBitBtn
  698.       Left = 292
  699.       Top = 64
  700.       Width = 113
  701.       Height = 25
  702.       Hint = 'Load the terrain texture from the build-in library'
  703.       Caption = 'L&ibrary'
  704.       Font.Charset = DEFAULT_CHARSET
  705.       Font.Color = clBlack
  706.       Font.Height = -11
  707.       Font.Name = 'MS Sans Serif'
  708.       Font.Style = []
  709.       ParentFont = False
  710.       TabOrder = 4
  711.       OnClick = BitBtn6Click
  712.       Glyph.Data = {
  713.         72010000424D7201000000000000760000002800000016000000150000000100
  714.         040000000000FC00000000000000000000001000000010000000000000000000
  715.         80000080000000808000800000008000800080800000C0C0C000808080000000
  716.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  717.         77777777770078000000000000000000070078FFFFFFFFFFFFF07777070078FF
  718.         44444444FFF0F887070078FFFFFFFFFFFFF0F007070078FF444444444FF0FFF7
  719.         070078FFFFFFFFFFFFF00000070078FF44444444FFF0F7F70700784444444444
  720.         44407F7F07007844FFFFFFFFF440F7F7070078444444444444407F7F070078FF
  721.         44444444FFF0F7F7070078FFFFFFFFFFFFF07F7F070078FF444444444FF0F7F7
  722.         070078FFFFFFFFFFFFF00000070078FF44444444FFF07777070078FFFFFFFFFF
  723.         FFF0F007070078FF444444444FF0F887070078FFFFFFFFFFFFF0FFF707007888
  724.         88888888888000000700777777777777777777777700}
  725.       Spacing = 8
  726.     end
  727.     object BitBtn7: TBitBtn
  728.       Left = 292
  729.       Top = 120
  730.       Width = 113
  731.       Height = 25
  732.       Hint = 'Load the terrain texture from the build-in library'
  733.       Caption = 'Cl&ear texture'
  734.       Font.Charset = DEFAULT_CHARSET
  735.       Font.Color = clBlack
  736.       Font.Height = -11
  737.       Font.Name = 'MS Sans Serif'
  738.       Font.Style = []
  739.       ParentFont = False
  740.       TabOrder = 6
  741.       OnClick = BitBtn7Click
  742.       Glyph.Data = {
  743.         76010000424D7601000000000000760000002800000020000000100000000100
  744.         0400000000000001000000000000000000001000000010000000000000000000
  745.         800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  746.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00500005000555
  747.         555557777F777555F55500000000555055557777777755F75555005500055055
  748.         555577F5777F57555555005550055555555577FF577F5FF55555500550050055
  749.         5555577FF77577FF555555005050110555555577F757777FF555555505099910
  750.         555555FF75777777FF555005550999910555577F5F77777775F5500505509990
  751.         3055577F75F77777575F55005055090B030555775755777575755555555550B0
  752.         B03055555F555757575755550555550B0B335555755555757555555555555550
  753.         BBB35555F55555575F555550555555550BBB55575555555575F5555555555555
  754.         50BB555555555555575F555555555555550B5555555555555575}
  755.       NumGlyphs = 2
  756.       Spacing = 8
  757.     end
  758.     object SpinButton1: TSpinButton
  759.       Left = 389
  760.       Top = 33
  761.       Width = 15
  762.       Height = 19
  763.       DownGlyph.Data = {
  764.         0E010000424D0E01000000000000360000002800000009000000060000000100
  765.         200000000000D800000000000000000000000000000000000000008080000080
  766.         8000008080000080800000808000008080000080800000808000008080000080
  767.         8000008080000080800000808000000000000080800000808000008080000080
  768.         8000008080000080800000808000000000000000000000000000008080000080
  769.         8000008080000080800000808000000000000000000000000000000000000000
  770.         0000008080000080800000808000000000000000000000000000000000000000
  771.         0000000000000000000000808000008080000080800000808000008080000080
  772.         800000808000008080000080800000808000}
  773.       TabOrder = 12
  774.       UpGlyph.Data = {
  775.         0E010000424D0E01000000000000360000002800000009000000060000000100
  776.         200000000000D800000000000000000000000000000000000000008080000080
  777.         8000008080000080800000808000008080000080800000808000008080000080
  778.         8000000000000000000000000000000000000000000000000000000000000080
  779.         8000008080000080800000000000000000000000000000000000000000000080
  780.         8000008080000080800000808000008080000000000000000000000000000080
  781.         8000008080000080800000808000008080000080800000808000000000000080
  782.         8000008080000080800000808000008080000080800000808000008080000080
  783.         800000808000008080000080800000808000}
  784.       OnDownClick = SpinButton1DownClick
  785.       OnUpClick = SpinButton1UpClick
  786.     end
  787.     object Edit1: TEdit
  788.       Left = 336
  789.       Top = 32
  790.       Width = 53
  791.       Height = 21
  792.       Font.Charset = DEFAULT_CHARSET
  793.       Font.Color = clBlack
  794.       Font.Height = -11
  795.       Font.Name = 'MS Sans Serif'
  796.       Font.Style = []
  797.       ParentFont = False
  798.       TabOrder = 13
  799.       Text = '1'
  800.       OnExit = Edit1Exit
  801.       OnKeyDown = Edit1KeyDown
  802.       OnKeyPress = Edit1KeyPress
  803.     end
  804.   end
  805.   object BitBtn3: TBitBtn
  806.     Left = 4
  807.     Top = 276
  808.     Width = 89
  809.     Height = 25
  810.     Caption = '&Restore'
  811.     Font.Charset = DEFAULT_CHARSET
  812.     Font.Color = clWindowText
  813.     Font.Height = -11
  814.     Font.Name = 'MS Sans Serif'
  815.     Font.Style = []
  816.     ParentFont = False
  817.     TabOrder = 3
  818.     OnClick = BitBtn3Click
  819.     Glyph.Data = {
  820.       DE010000424DDE01000000000000760000002800000024000000120000000100
  821.       0400000000006801000000000000000000001000000010000000000000000000
  822.       80000080000000808000800000008000800080800000C0C0C000808080000000
  823.       FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333444444
  824.       33333333333F8888883F33330000324334222222443333388F3833333388F333
  825.       000032244222222222433338F8833FFFFF338F3300003222222AAAAA22243338
  826.       F333F88888F338F30000322222A33333A2224338F33F8333338F338F00003222
  827.       223333333A224338F33833333338F38F00003222222333333A444338FFFF8F33
  828.       3338888300003AAAAAAA33333333333888888833333333330000333333333333
  829.       333333333333333333FFFFFF000033333333333344444433FFFF333333888888
  830.       00003A444333333A22222438888F333338F3333800003A2243333333A2222438
  831.       F38F333333833338000033A224333334422224338338FFFFF8833338000033A2
  832.       22444442222224338F3388888333FF380000333A2222222222AA243338FF3333
  833.       33FF88F800003333AA222222AA33A3333388FFFFFF8833830000333333AAAAAA
  834.       3333333333338888883333330000333333333333333333333333333333333333
  835.       0000}
  836.     NumGlyphs = 2
  837.   end
  838.   object BitBtn4: TBitBtn
  839.     Left = 100
  840.     Top = 276
  841.     Width = 89
  842.     Height = 25
  843.     Caption = '&Apply'
  844.     Font.Charset = DEFAULT_CHARSET
  845.     Font.Color = clWindowText
  846.     Font.Height = -11
  847.     Font.Name = 'MS Sans Serif'
  848.     Font.Style = []
  849.     ParentFont = False
  850.     TabOrder = 4
  851.     OnClick = BitBtn4Click
  852.     Glyph.Data = {
  853.       42010000424D4201000000000000760000002800000011000000110000000100
  854.       040000000000CC00000000000000000000001000000010000000000000000000
  855.       BF0000BF000000BFBF00BF000000BF00BF00BFBF0000C0C0C000808080000000
  856.       FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  857.       77777000000077777777777777777000000070000077777000007000000070B0
  858.       00777770F0007000000070F000777770B0007000000070000000700000007000
  859.       0000700B000000B0000070000000700F000700F0000070000000700B000700B0
  860.       0000700000007700000000000007700000007770B00070B00077700000007770
  861.       0000700000777000000077770007770007777000000077770B07770B07777000
  862.       0000777700077700077770000000777777777777777770000000777777777777
  863.       777770000000}
  864.   end
  865.   object StaticText6: TStaticText
  866.     Left = 108
  867.     Top = 152
  868.     Width = 81
  869.     Height = 85
  870.     Hint = 'Position of current light source'
  871.     AutoSize = False
  872.     Font.Charset = RUSSIAN_CHARSET
  873.     Font.Color = clBlack
  874.     Font.Height = -11
  875.     Font.Name = 'Courier New'
  876.     Font.Style = []
  877.     ParentFont = False
  878.     TabOrder = 9
  879.   end
  880.   object GroupBox3: TGroupBox
  881.     Left = 200
  882.     Top = 0
  883.     Width = 357
  884.     Height = 117
  885.     Caption = 'Current light source:'
  886.     Font.Charset = DEFAULT_CHARSET
  887.     Font.Color = clNavy
  888.     Font.Height = -11
  889.     Font.Name = 'MS Sans Serif'
  890.     Font.Style = [fsBold]
  891.     ParentFont = False
  892.     TabOrder = 10
  893.     object Shape1: TShape
  894.       Left = 232
  895.       Top = 28
  896.       Width = 28
  897.       Height = 28
  898.       Hint = 'Color of the ambient component of the current light'
  899.       Shape = stCircle
  900.       OnMouseDown = Shape1MouseDown
  901.     end
  902.     object Label2: TLabel
  903.       Left = 8
  904.       Top = 34
  905.       Width = 41
  906.       Height = 14
  907.       Caption = 'Ambient'
  908.       Font.Charset = RUSSIAN_CHARSET
  909.       Font.Color = clWindowText
  910.       Font.Height = -11
  911.       Font.Name = 'Arial'
  912.       Font.Style = [fsItalic, fsUnderline]
  913.       ParentFont = False
  914.     end
  915.     object Label3: TLabel
  916.       Left = 8
  917.       Top = 62
  918.       Width = 35
  919.       Height = 14
  920.       Caption = 'Diffuse'
  921.       Font.Charset = RUSSIAN_CHARSET
  922.       Font.Color = clWindowText
  923.       Font.Height = -11
  924.       Font.Name = 'Arial'
  925.       Font.Style = [fsItalic, fsUnderline]
  926.       ParentFont = False
  927.     end
  928.     object Shape2: TShape
  929.       Left = 232
  930.       Top = 56
  931.       Width = 28
  932.       Height = 28
  933.       Hint = 'Color of the diffuse component of the current light'
  934.       Shape = stCircle
  935.       OnMouseDown = Shape2MouseDown
  936.     end
  937.     object Label4: TLabel
  938.       Left = 8
  939.       Top = 90
  940.       Width = 44
  941.       Height = 14
  942.       Caption = 'Specular'
  943.       Font.Charset = RUSSIAN_CHARSET
  944.       Font.Color = clWindowText
  945.       Font.Height = -11
  946.       Font.Name = 'Arial'
  947.       Font.Style = [fsItalic, fsUnderline]
  948.       ParentFont = False
  949.     end
  950.     object Shape3: TShape
  951.       Left = 232
  952.       Top = 84
  953.       Width = 28
  954.       Height = 28
  955.       Hint = 'Color of the specular component of the current light'
  956.       Shape = stCircle
  957.       OnMouseDown = Shape3MouseDown
  958.     end
  959.     object Label5: TLabel
  960.       Left = 58
  961.       Top = 34
  962.       Width = 7
  963.       Height = 17
  964.       Caption = '0'
  965.       Font.Charset = RUSSIAN_CHARSET
  966.       Font.Color = clNavy
  967.       Font.Height = -15
  968.       Font.Name = 'Times New Roman'
  969.       Font.Style = []
  970.       ParentFont = False
  971.     end
  972.     object Label6: TLabel
  973.       Left = 58
  974.       Top = 62
  975.       Width = 7
  976.       Height = 17
  977.       Caption = '0'
  978.       Font.Charset = RUSSIAN_CHARSET
  979.       Font.Color = clNavy
  980.       Font.Height = -15
  981.       Font.Name = 'Times New Roman'
  982.       Font.Style = []
  983.       ParentFont = False
  984.     end
  985.     object Label7: TLabel
  986.       Left = 58
  987.       Top = 90
  988.       Width = 7
  989.       Height = 17
  990.       Caption = '0'
  991.       Font.Charset = RUSSIAN_CHARSET
  992.       Font.Color = clNavy
  993.       Font.Height = -15
  994.       Font.Name = 'Times New Roman'
  995.       Font.Style = []
  996.       ParentFont = False
  997.     end
  998.     object Label8: TLabel
  999.       Left = 220
  1000.       Top = 34
  1001.       Width = 7
  1002.       Height = 17
  1003.       Caption = '1'
  1004.       Font.Charset = RUSSIAN_CHARSET
  1005.       Font.Color = clNavy
  1006.       Font.Height = -15
  1007.       Font.Name = 'Times New Roman'
  1008.       Font.Style = []
  1009.       ParentFont = False
  1010.     end
  1011.     object Label9: TLabel
  1012.       Left = 220
  1013.       Top = 62
  1014.       Width = 7
  1015.       Height = 17
  1016.       Caption = '1'
  1017.       Font.Charset = RUSSIAN_CHARSET
  1018.       Font.Color = clNavy
  1019.       Font.Height = -15
  1020.       Font.Name = 'Times New Roman'
  1021.       Font.Style = []
  1022.       ParentFont = False
  1023.     end
  1024.     object Label10: TLabel
  1025.       Left = 220
  1026.       Top = 90
  1027.       Width = 7
  1028.       Height = 17
  1029.       Caption = '1'
  1030.       Font.Charset = RUSSIAN_CHARSET
  1031.       Font.Color = clNavy
  1032.       Font.Height = -15
  1033.       Font.Name = 'Times New Roman'
  1034.       Font.Style = []
  1035.       ParentFont = False
  1036.     end
  1037.     object Label1: TLabel
  1038.       Left = 280
  1039.       Top = 12
  1040.       Width = 47
  1041.       Height = 13
  1042.       Alignment = taCenter
  1043.       Caption = 'Preview:'
  1044.       Font.Charset = RUSSIAN_CHARSET
  1045.       Font.Color = clBlack
  1046.       Font.Height = -11
  1047.       Font.Name = 'Arial'
  1048.       Font.Style = [fsBold, fsItalic]
  1049.       ParentFont = False
  1050.       WordWrap = True
  1051.     end
  1052.     object ScrollBar1: TScrollBar
  1053.       Left = 68
  1054.       Top = 32
  1055.       Width = 149
  1056.       Height = 20
  1057.       Hint = 'Intensity of the ambient component of the light'
  1058.       LargeChange = 10
  1059.       SmallChange = 2
  1060.       TabOrder = 0
  1061.       OnChange = ScrollBar1Change
  1062.     end
  1063.     object ScrollBar2: TScrollBar
  1064.       Left = 68
  1065.       Top = 60
  1066.       Width = 149
  1067.       Height = 20
  1068.       Hint = 'Intensity of the diffuse  component of the light'
  1069.       LargeChange = 10
  1070.       SmallChange = 2
  1071.       TabOrder = 1
  1072.       OnChange = ScrollBar2Change
  1073.     end
  1074.     object ScrollBar3: TScrollBar
  1075.       Left = 68
  1076.       Top = 88
  1077.       Width = 149
  1078.       Height = 20
  1079.       Hint = 'Intensity of the specular  component of the light'
  1080.       LargeChange = 10
  1081.       SmallChange = 2
  1082.       TabOrder = 2
  1083.       OnChange = ScrollBar3Change
  1084.     end
  1085.     object Panel3: TPanel
  1086.       Left = 280
  1087.       Top = 27
  1088.       Width = 66
  1089.       Height = 66
  1090.       BevelOuter = bvLowered
  1091.       Caption = 'Panel3'
  1092.       TabOrder = 3
  1093.       object OGLPanel2: TOGLPanel
  1094.         Left = 1
  1095.         Top = 1
  1096.         Width = 64
  1097.         Height = 64
  1098.         OGLAngle = 45.000000000000000000
  1099.         OGLDistNear = 0.001000000047497451
  1100.         OGLDistFar = 50.000000000000000000
  1101.         OGLRenderer = rdHardware
  1102.         OGLLoadBitmap = False
  1103.         Align = alClient
  1104.         Color = clWhite
  1105.         OnPaint = OGLPanel2Paint
  1106.         OnRender = OGLPanel2Render
  1107.       end
  1108.     end
  1109.     object StaticText1: TStaticText
  1110.       Left = 68
  1111.       Top = 12
  1112.       Width = 149
  1113.       Height = 17
  1114.       AutoSize = False
  1115.       Caption = 'Intensit&y:'
  1116.       FocusControl = ScrollBar1
  1117.       Font.Charset = RUSSIAN_CHARSET
  1118.       Font.Color = clBlack
  1119.       Font.Height = -11
  1120.       Font.Name = 'Arial'
  1121.       Font.Style = [fsBold, fsItalic]
  1122.       ParentFont = False
  1123.       TabOrder = 4
  1124.     end
  1125.     object StaticText2: TStaticText
  1126.       Left = 232
  1127.       Top = 12
  1128.       Width = 41
  1129.       Height = 17
  1130.       AutoSize = False
  1131.       Caption = 'Color:'
  1132.       Font.Charset = RUSSIAN_CHARSET
  1133.       Font.Color = clBlack
  1134.       Font.Height = -11
  1135.       Font.Name = 'Arial'
  1136.       Font.Style = [fsBold, fsItalic]
  1137.       ParentFont = False
  1138.       TabOrder = 5
  1139.     end
  1140.   end
  1141.   object ColorDialog1: TColorDialog
  1142.     Ctl3D = True
  1143.     Options = [cdFullOpen, cdAnyColor]
  1144.     Left = 396
  1145.     Top = 8
  1146.   end
  1147.   object OpenTexDlg: TOpenPictureDialog
  1148.     Filter = 
  1149.       'All (*.bmp;*.jpg;*.jpeg;*.gif)|*.bmp;*.jpg;*.jpeg;*.gif|Bitmaps ' +
  1150.       '(*.bmp)|*.bmp|JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|GIF (*.gif)|*.gif'
  1151.     Options = [ofPathMustExist, ofFileMustExist]
  1152.     Title = 'Open terrain texture...'
  1153.     Left = 384
  1154.     Top = 400
  1155.   end
  1156. end
  1157.