uMainForm.dfm 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. object MainForm: TMainForm
  2. Left = 0
  3. Top = 0
  4. Caption = 'Post Effect'
  5. ClientHeight = 340
  6. ClientWidth = 545
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnCreate = FormCreate
  15. PixelsPerInch = 96
  16. TextHeight = 13
  17. object Label1: TLabel
  18. Left = 543
  19. Top = 33
  20. Width = 2
  21. Height = 307
  22. Align = alRight
  23. AutoSize = False
  24. ExplicitLeft = 497
  25. ExplicitHeight = 293
  26. end
  27. object Panel1: TPanel
  28. Left = 0
  29. Top = 0
  30. Width = 545
  31. Height = 33
  32. Align = alTop
  33. TabOrder = 0
  34. object Label2: TLabel
  35. Left = 8
  36. Top = 10
  37. Width = 50
  38. Height = 13
  39. Caption = 'PostEffect'
  40. end
  41. object ComboBox1: TComboBox
  42. Left = 64
  43. Top = 6
  44. Width = 145
  45. Height = 21
  46. Style = csDropDownList
  47. ItemIndex = 0
  48. TabOrder = 0
  49. Text = 'None'
  50. OnChange = ComboBox1Change
  51. Items.Strings = (
  52. 'None'
  53. 'Gray'
  54. 'Negative'
  55. 'Distort'
  56. 'Noise'
  57. 'NightVision'
  58. 'Blur'
  59. 'Custom')
  60. end
  61. end
  62. object GLSceneViewer1: TGLSceneViewer
  63. Left = 0
  64. Top = 33
  65. Width = 543
  66. Height = 307
  67. Camera = GLCamera1
  68. Buffer.BackgroundColor = 16776176
  69. FieldOfView = 143.915725708007800000
  70. Align = alClient
  71. TabOrder = 1
  72. end
  73. object GLScene1: TGLScene
  74. Left = 32
  75. Top = 48
  76. object GLActor1: TGLActor
  77. Material.Texture.TextureMode = tmReplace
  78. Direction.Coordinates = {000000000000803F0000000000000000}
  79. Scale.Coordinates = {CDCCCC3DCDCCCC3DCDCCCC3D00000000}
  80. Up.Coordinates = {0000000000000000000080BF00000000}
  81. Interval = 100
  82. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  83. end
  84. object GLPostEffect1: TGLPostEffect
  85. OnCustomEffect = GLPostEffect1CustomEffect
  86. end
  87. object GLLightSource1: TGLLightSource
  88. ConstAttenuation = 1.000000000000000000
  89. Position.Coordinates = {0000204100002041000020410000803F}
  90. SpotCutOff = 180.000000000000000000
  91. end
  92. object GLCamera1: TGLCamera
  93. DepthOfView = 100.000000000000000000
  94. FocalLength = 50.000000000000000000
  95. TargetObject = GLActor1
  96. Position.Coordinates = {0000A04000008040000040400000803F}
  97. end
  98. end
  99. object GLMaterialLibrary1: TGLMaterialLibrary
  100. Left = 128
  101. Top = 48
  102. end
  103. object GLCadencer1: TGLCadencer
  104. Scene = GLScene1
  105. OnProgress = GLCadencer1Progress
  106. Left = 32
  107. Top = 112
  108. end
  109. object GLSimpleNavigation1: TGLSimpleNavigation
  110. Form = Owner
  111. GLSceneViewer = GLSceneViewer1
  112. FormCaption = 'GLScene Post Effect - %FPS'
  113. KeyCombinations = <
  114. item
  115. ShiftState = [ssLeft, ssRight]
  116. Action = snaZoom
  117. end
  118. item
  119. ShiftState = [ssLeft]
  120. Action = snaMoveAroundTarget
  121. end
  122. item
  123. ShiftState = [ssRight]
  124. Action = snaMoveAroundTarget
  125. end>
  126. Left = 128
  127. Top = 112
  128. end
  129. end