Unit1.dfm 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'GLSL Post Shader'
  5. ClientHeight = 432
  6. ClientWidth = 576
  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. Position = poScreenCenter
  15. WindowState = wsMaximized
  16. OnClose = FormClose
  17. OnCreate = FormCreate
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object Viewer: TGLSceneViewer
  21. Left = 0
  22. Top = 0
  23. Width = 417
  24. Height = 403
  25. Camera = Camera
  26. Buffer.BackgroundColor = clBackground
  27. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  28. Buffer.AntiAliasing = aaNone
  29. Buffer.DepthPrecision = dp24bits
  30. Buffer.ColorDepth = cd24bits
  31. FieldOfView = 144.242599487304700000
  32. Align = alClient
  33. TabOrder = 0
  34. end
  35. object Panel1: TPanel
  36. Left = 0
  37. Top = 403
  38. Width = 576
  39. Height = 29
  40. Align = alBottom
  41. TabOrder = 1
  42. object LightMovingCheckBox: TCheckBox
  43. Left = 8
  44. Top = 8
  45. Width = 97
  46. Height = 17
  47. Caption = 'Light is Moving'
  48. Checked = True
  49. Color = clBtnFace
  50. ParentColor = False
  51. State = cbChecked
  52. TabOrder = 0
  53. end
  54. object TurnPitchrollCheckBox: TCheckBox
  55. Left = 112
  56. Top = 8
  57. Width = 137
  58. Height = 17
  59. Caption = 'Turn-Pitch-Roll Enabled'
  60. TabOrder = 1
  61. end
  62. end
  63. object Panel2: TPanel
  64. Left = 417
  65. Top = 0
  66. Width = 159
  67. Height = 403
  68. Align = alRight
  69. TabOrder = 2
  70. object Label1: TLabel
  71. Left = 16
  72. Top = 8
  73. Width = 43
  74. Height = 13
  75. Caption = 'Shaders:'
  76. end
  77. object ShaderCheckListBox: TCheckListBox
  78. Left = 8
  79. Top = 24
  80. Width = 145
  81. Height = 145
  82. ItemHeight = 13
  83. TabOrder = 0
  84. OnClick = ShaderCheckListBoxClick
  85. end
  86. object BigBlurThicknessCheckbox: TCheckBox
  87. Left = 6
  88. Top = 376
  89. Width = 115
  90. Height = 17
  91. Caption = 'Big blur Thickness'
  92. Checked = True
  93. State = cbChecked
  94. TabOrder = 1
  95. OnClick = BigBlurThicknessCheckboxClick
  96. end
  97. end
  98. object Scene: TGLScene
  99. ObjectsSorting = osNone
  100. Left = 24
  101. Top = 16
  102. object GUICube: TGLDummyCube
  103. CubeSize = 1.000000000000000000
  104. object GLArrowLine1: TGLArrowLine
  105. Position.Coordinates = {00000000000000000000C8420000803F}
  106. Scale.Coordinates = {0000A0410000A0410000A04100000000}
  107. BottomRadius = 0.100000001490116100
  108. Height = 1.000000000000000000
  109. TopRadius = 0.100000001490116100
  110. TopArrowHeadHeight = 0.500000000000000000
  111. TopArrowHeadRadius = 0.200000002980232200
  112. BottomArrowHeadHeight = 0.500000000000000000
  113. BottomArrowHeadRadius = 0.200000002980232200
  114. end
  115. object GLXYZGrid1: TGLXYZGrid
  116. Direction.Coordinates = {00000000000080BF0000000000000000}
  117. Position.Coordinates = {00000000000000000000A0C10000803F}
  118. Up.Coordinates = {00000000000000000000803F00000000}
  119. XSamplingScale.Min = -200.000000000000000000
  120. XSamplingScale.Max = 200.000000000000000000
  121. XSamplingScale.Step = 20.000000000000000000
  122. YSamplingScale.Min = -200.000000000000000000
  123. YSamplingScale.Max = 200.000000000000000000
  124. YSamplingScale.Step = 20.000000000000000000
  125. ZSamplingScale.Min = -200.000000000000000000
  126. ZSamplingScale.Max = 200.000000000000000000
  127. ZSamplingScale.Step = 20.000000000000000000
  128. Parts = [gpX, gpZ]
  129. end
  130. end
  131. object LightCube: TGLDummyCube
  132. Direction.Coordinates = {0000000000000000000080BF00000000}
  133. Position.Coordinates = {000096C300000000000096430000803F}
  134. OnProgress = LightCubeProgress
  135. CubeSize = 1.000000000000000000
  136. object Light: TGLLightSource
  137. ConstAttenuation = 1.000000000000000000
  138. LightStyle = lsOmni
  139. SpotCutOff = 180.000000000000000000
  140. end
  141. object GLSphere1: TGLSphere
  142. Material.FrontProperties.Diffuse.Color = {E6E5653F8180003DCDCC4C3F0000803F}
  143. Material.FrontProperties.Emission.Color = {F4F3733FEEED6D3F000000000000803F}
  144. Radius = 10.000000000000000000
  145. end
  146. end
  147. object WorldCube: TGLDummyCube
  148. CubeSize = 1.000000000000000000
  149. object Fighter: TGLActor
  150. Material.MaterialLibrary = MaterialLibrary
  151. Material.LibMaterialName = 'Fighter'
  152. Position.Coordinates = {00001643000000000000A0410000803F}
  153. Up.Coordinates = {00000000000080BF0000008000000000}
  154. Interval = 100
  155. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  156. end
  157. object Teapot: TGLActor
  158. Material.MaterialLibrary = MaterialLibrary
  159. Material.LibMaterialName = 'Fighter'
  160. Position.Coordinates = {000016C300000000000000000000803F}
  161. Interval = 100
  162. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  163. end
  164. object Sphere_big: TGLActor
  165. Material.MaterialLibrary = MaterialLibrary
  166. Material.LibMaterialName = 'Earth'
  167. Position.Coordinates = {00000000000016C3000000000000803F}
  168. Interval = 100
  169. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  170. end
  171. object Sphere_little: TGLActor
  172. Material.MaterialLibrary = MaterialLibrary
  173. Material.LibMaterialName = 'Earth'
  174. Position.Coordinates = {0000000000001643000000000000803F}
  175. Interval = 100
  176. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  177. end
  178. end
  179. object PostShaderHolder: TGLPostShaderHolder
  180. TempTextureTarget = ttTextureRect
  181. Shaders = <>
  182. end
  183. object Camera: TGLCamera
  184. DepthOfView = 500.000000000000000000
  185. FocalLength = 65.000000000000000000
  186. TargetObject = GLXYZGrid1
  187. CameraStyle = csInfinitePerspective
  188. Position.Coordinates = {000048C20000164300007A430000803F}
  189. Direction.Coordinates = {00000000000080BF0000000000000000}
  190. Up.Coordinates = {00000000000000000000803F00000000}
  191. end
  192. end
  193. object Cadencer: TGLCadencer
  194. Scene = Scene
  195. MaxDeltaTime = 0.020000000000000000
  196. OnProgress = CadencerProgress
  197. Left = 120
  198. Top = 16
  199. end
  200. object MaterialLibrary: TGLMaterialLibrary
  201. Materials = <
  202. item
  203. Name = 'Noise'
  204. Tag = 0
  205. Material.Texture.Disabled = False
  206. end
  207. item
  208. Name = 'Fighter'
  209. Tag = 0
  210. Material.FrontProperties.Ambient.Color = {BFBEBE3EBBBABA3EBBBABA3E0000803F}
  211. Material.FrontProperties.Emission.Color = {B1B0B03DB1B0B03DB1B0B03D0000803F}
  212. Material.FrontProperties.Specular.Color = {8988083E8180003E8988083E0000803F}
  213. Material.BlendingMode = bmTransparency
  214. Material.Texture.TextureMode = tmModulate
  215. Material.Texture.Disabled = False
  216. end
  217. item
  218. Name = 'Earth'
  219. Tag = 0
  220. Material.FrontProperties.Ambient.Color = {E7E6E63EEBEAEA3EEBEAEA3E0000803F}
  221. Material.FrontProperties.Emission.Color = {F1F0F03DF1F0F03DF1F0F03D0000803F}
  222. Material.FrontProperties.Specular.Color = {8180003E8180003EE1E0E03D0000803F}
  223. Material.BlendingMode = bmTransparency
  224. Material.Texture.TextureMode = tmModulate
  225. Material.Texture.Disabled = False
  226. end
  227. item
  228. Name = 'Snow'
  229. Tag = 0
  230. Material.Texture.Disabled = False
  231. end
  232. item
  233. Name = 'FireGrade'
  234. Tag = 0
  235. Material.Texture.Disabled = False
  236. end>
  237. Left = 32
  238. Top = 88
  239. end
  240. object GLSimpleNavigation1: TGLSimpleNavigation
  241. Form = Owner
  242. GLSceneViewer = Viewer
  243. FormCaption = 'GLSL Post Shader - %FPS'
  244. KeyCombinations = <
  245. item
  246. ShiftState = [ssLeft, ssRight]
  247. Action = snaZoom
  248. end
  249. item
  250. ShiftState = [ssLeft]
  251. Action = snaMoveAroundTarget
  252. end
  253. item
  254. ShiftState = [ssRight]
  255. Action = snaMoveAroundTarget
  256. end>
  257. Left = 128
  258. Top = 88
  259. end
  260. end