fdTransparAdv.dfm 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. object FormTransparAdv: TFormTransparAdv
  2. Left = 304
  3. Top = 111
  4. Caption = 'Transparency Advanced'
  5. ClientHeight = 442
  6. ClientWidth = 690
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. OnResize = FormResize
  16. TextHeight = 13
  17. object GLSceneViewer1: TGLSceneViewer
  18. Left = 0
  19. Top = 0
  20. Width = 690
  21. Height = 442
  22. Camera = GLCamera1
  23. AfterRender = GLSceneViewer1AfterRender
  24. Buffer.BackgroundColor = 10776320
  25. Buffer.ContextOptions = [roDoubleBuffer, roRenderToWindow, roDestinationAlpha, roNoColorBufferClear, roNoDepthBufferClear]
  26. Buffer.FaceCulling = False
  27. Buffer.ShadeModel = smFlat
  28. FieldOfView = 154.503555297851600000
  29. PenAsTouch = False
  30. Align = alClient
  31. TabOrder = 0
  32. end
  33. object GLScene1: TGLScene
  34. ObjectsSorting = osNone
  35. Left = 10
  36. Top = 24
  37. object GLCamera1: TGLCamera
  38. DepthOfView = 100.000000000000000000
  39. FocalLength = 50.000000000000000000
  40. TargetObject = ObjectContainer
  41. Position.Coordinates = {CDCCCC3F00000000CDCCCC3F0000803F}
  42. end
  43. object GLLightSource1: TGLLightSource
  44. ConstAttenuation = 1.000000000000000000
  45. Position.Coordinates = {000040400000A0400000803F0000803F}
  46. SpotCutOff = 180.000000000000000000
  47. end
  48. object ClearFrameBuffer: TGLDirectOpenGL
  49. UseBuildList = False
  50. OnRender = ClearFrameBufferRender
  51. Blend = False
  52. end
  53. object ObjectContainer: TGLDummyCube
  54. CubeSize = 1.000000000000000000
  55. object Surround: TGLDummyCube
  56. CubeSize = 1.000000000000000000
  57. CamInvarianceMode = cimPosition
  58. object GLCylinder1: TGLCylinder
  59. Material.MaterialLibrary = GLMaterialLibrary1
  60. Material.LibMaterialName = 'Surround'
  61. Position.Coordinates = {00000000000000C0000000000000803F}
  62. Normals = nsNone
  63. BottomRadius = 4.000000000000000000
  64. Height = 8.000000000000000000
  65. Slices = 32
  66. TopRadius = 4.000000000000000000
  67. Parts = [cySides]
  68. end
  69. end
  70. object GLDisk1: TGLDisk
  71. Direction.Coordinates = {000000000000803F0000000000000000}
  72. Position.Coordinates = {00000000666666BF000000000000803F}
  73. Up.Coordinates = {0000000000000000000080BF00000000}
  74. Visible = False
  75. Loops = 6
  76. OuterRadius = 2.000000000000000000
  77. Slices = 32
  78. SweepAngle = 360.000000000000000000
  79. end
  80. object GLMesh1: TGLMesh
  81. Material.MaterialLibrary = GLMaterialLibrary1
  82. Material.LibMaterialName = 'Transparent'
  83. Direction.Coordinates = {FFFF7F3F000000002CBD3BB300000000}
  84. Position.Coordinates = {000080BE000000000000003F0000803F}
  85. Scale.Coordinates = {00000040000000400000004000000000}
  86. TurnAngle = 90.000000000000000000
  87. Up.Coordinates = {00000000FFFF7F3F0000000000000000}
  88. Mode = mmTriangleStrip
  89. VertexMode = vmVNC
  90. end
  91. object GLMesh2: TGLMesh
  92. Material.MaterialLibrary = GLMaterialLibrary1
  93. Material.LibMaterialName = 'Transparent'
  94. Direction.Coordinates = {D7B35D3F00000000010000BF00000000}
  95. Position.Coordinates = {000080BF000000000000003F0000803F}
  96. Scale.Coordinates = {00000040000000400000004000000000}
  97. TurnAngle = 120.000000000000000000
  98. Up.Coordinates = {00000000FFFF7F3F0000000000000000}
  99. Mode = mmTriangleStrip
  100. VertexMode = vmVNC
  101. end
  102. object GLMesh3: TGLMesh
  103. Material.MaterialLibrary = GLMaterialLibrary1
  104. Material.LibMaterialName = 'Transparent'
  105. Direction.Coordinates = {D7B35DBF00000000010000BF00000000}
  106. Position.Coordinates = {0000003F000000000000003F0000803F}
  107. Scale.Coordinates = {00000040000000400000004000000000}
  108. TurnAngle = -120.000000000000000000
  109. Up.Coordinates = {00000000FFFF7F3F0000000000000000}
  110. Mode = mmTriangleStrip
  111. VertexMode = vmVNC
  112. end
  113. object GLMesh4: TGLMesh
  114. Material.MaterialLibrary = GLMaterialLibrary1
  115. Material.LibMaterialName = 'Transparent'
  116. Direction.Coordinates = {6E61D83E00000000C903683F00000000}
  117. Position.Coordinates = {0000803E000000009A9999BE0000803F}
  118. Scale.Coordinates = {00000040000000400000004000000000}
  119. TurnAngle = 25.000000000000000000
  120. Mode = mmTriangleStrip
  121. VertexMode = vmVNC
  122. end
  123. object GLMesh5: TGLMesh
  124. Material.MaterialLibrary = GLMaterialLibrary1
  125. Material.LibMaterialName = 'Transparent'
  126. Direction.Coordinates = {010080A7000000000000803F00000000}
  127. Position.Coordinates = {0000003F00000000000080BF0000803F}
  128. Scale.Coordinates = {00000040000000400000004000000000}
  129. Mode = mmTriangleStrip
  130. VertexMode = vmVNC
  131. end
  132. end
  133. object LayeredFrameBuffer: TGLFBORenderer
  134. Active = False
  135. ColorTextureName = 'ColorLayers'
  136. DepthTextureName = 'DepthLayers'
  137. MaterialLibrary = GLMaterialLibrary1
  138. BackgroundColor.Color = {00000000DFDEDE3EA5A4243F0000803F}
  139. ClearOptions = []
  140. Camera = GLCamera1
  141. RootObject = CustomRederer
  142. TargetVisibility = tvFBOOnly
  143. EnabledRenderBuffers = []
  144. PostGenerateMipmap = False
  145. end
  146. object CustomRederer: TGLDirectOpenGL
  147. Visible = False
  148. UseBuildList = False
  149. OnRender = CustomRedererRender
  150. Blend = False
  151. end
  152. object ScreenQuad: TGLHUDSprite
  153. Material.MaterialLibrary = GLMaterialLibrary1
  154. Material.LibMaterialName = 'Final'
  155. Visible = False
  156. Rotation = 0.000000000000000000
  157. end
  158. object GLHUDText1: TGLHUDText
  159. Position.Coordinates = {0000A0400000A040000000000000803F}
  160. BitmapFont = GLWindowsBitmapFont1
  161. Text = '1'
  162. Rotation = 0.000000000000000000
  163. end
  164. end
  165. object GLCadencer1: TGLCadencer
  166. Scene = GLScene1
  167. OnProgress = GLCadencer1Progress
  168. Left = 10
  169. Top = 80
  170. end
  171. object GLMaterialLibrary1: TGLMaterialLibrary
  172. Materials = <
  173. item
  174. Name = 'Transparent'
  175. Tag = 0
  176. Material.DepthProperties.DepthCompareFunction = cfAlways
  177. Material.BlendingMode = bmCustom
  178. Material.MaterialOptions = [moNoLighting]
  179. end
  180. item
  181. Name = 'Surround'
  182. Tag = 1
  183. Material.MaterialOptions = [moNoLighting]
  184. Material.Texture.MagFilter = maNearest
  185. Material.Texture.MinFilter = miNearest
  186. Material.Texture.TextureWrapS = twMirrorRepeat
  187. Material.Texture.TextureWrapR = twMirrorRepeat
  188. Material.Texture.Compression = tcNone
  189. Material.Texture.Disabled = False
  190. TextureScale.Coordinates = {000080400000803F0000803F00000000}
  191. end
  192. item
  193. Name = 'ColorLayers'
  194. Tag = 0
  195. Material.Texture.ImageClassName = 'TGLBlankImage'
  196. Material.Texture.Image.Depth = 6
  197. Material.Texture.Image.ColorFormat = 6408
  198. Material.Texture.MagFilter = maNearest
  199. Material.Texture.MinFilter = miNearest
  200. Material.Texture.Disabled = False
  201. end
  202. item
  203. Name = 'DepthLayers'
  204. Tag = 0
  205. Material.Texture.ImageClassName = 'TGLBlankImage'
  206. Material.Texture.Image.Depth = 6
  207. Material.Texture.Image.ColorFormat = 6408
  208. Material.Texture.MagFilter = maNearest
  209. Material.Texture.MinFilter = miNearest
  210. Material.Texture.TextureFormat = tfExtended
  211. Material.Texture.TextureFormatEx = tfDEPTH_COMPONENT24
  212. Material.Texture.Disabled = False
  213. end
  214. item
  215. Name = 'Final'
  216. Tag = 0
  217. Shader = GLSLShader1
  218. end>
  219. Left = 90
  220. Top = 24
  221. end
  222. object GLSLShader1: TGLSLShader
  223. Enabled = False
  224. OnApply = GLSLShader1Apply
  225. ShaderStyle = ssReplace
  226. Left = 90
  227. Top = 80
  228. end
  229. object GLSimpleNavigation1: TGLSimpleNavigation
  230. Form = Owner
  231. GLSceneViewer = GLSceneViewer1
  232. ZoomSpeed = 1.000000000000000000
  233. FormCaption = 'Transparency Advanced - %FPS'
  234. Options = [snoShowFPS]
  235. KeyCombinations = <
  236. item
  237. ShiftState = [ssLeft]
  238. Action = snaMoveAroundTarget
  239. end
  240. item
  241. ShiftState = [ssRight]
  242. Action = snaMoveAroundTarget
  243. end>
  244. Left = 10
  245. Top = 136
  246. end
  247. object GLWindowsBitmapFont1: TGLWindowsBitmapFont
  248. Font.Charset = DEFAULT_CHARSET
  249. Font.Color = clWhite
  250. Font.Height = -11
  251. Font.Name = 'Tahoma'
  252. Font.Style = []
  253. Left = 10
  254. Top = 192
  255. end
  256. end