fdMirror.dfm 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. object FormMirror: TFormMirror
  2. Left = 215
  3. Top = 104
  4. Margins.Left = 2
  5. Margins.Top = 2
  6. Margins.Right = 2
  7. Margins.Bottom = 2
  8. BorderWidth = 3
  9. Caption = 'Mirror'
  10. ClientHeight = 316
  11. ClientWidth = 497
  12. Color = clBtnFace
  13. Font.Charset = DEFAULT_CHARSET
  14. Font.Color = clWindowText
  15. Font.Height = -11
  16. Font.Name = 'MS Sans Serif'
  17. Font.Style = []
  18. Position = poScreenCenter
  19. OnCreate = FormCreate
  20. OnResize = FormResize
  21. TextHeight = 13
  22. object GLSceneViewer1: TGLSceneViewer
  23. Left = 0
  24. Top = 0
  25. Width = 392
  26. Height = 316
  27. Camera = GLCamera1
  28. Buffer.BackgroundColor = clBlack
  29. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  30. FieldOfView = 144.879455566406300000
  31. PenAsTouch = False
  32. Align = alClient
  33. OnMouseDown = GLSceneViewer1MouseDown
  34. OnMouseMove = GLSceneViewer1MouseMove
  35. TabOrder = 0
  36. ExplicitWidth = 372
  37. ExplicitHeight = 257
  38. end
  39. object Panel1: TPanel
  40. Left = 392
  41. Top = 0
  42. Width = 105
  43. Height = 316
  44. Align = alRight
  45. BevelInner = bvLowered
  46. BevelOuter = bvNone
  47. BorderWidth = 1
  48. Font.Charset = ANSI_CHARSET
  49. Font.Color = clWindowText
  50. Font.Height = -12
  51. Font.Name = 'Arial'
  52. Font.Style = []
  53. ParentFont = False
  54. TabOrder = 1
  55. ExplicitLeft = 364
  56. ExplicitHeight = 231
  57. object LabelFPS: TLabel
  58. Left = 6
  59. Top = 16
  60. Width = 26
  61. Height = 16
  62. Caption = 'FPS'
  63. Font.Charset = ANSI_CHARSET
  64. Font.Color = clWindowText
  65. Font.Height = -13
  66. Font.Name = 'Arial'
  67. Font.Style = []
  68. ParentFont = False
  69. end
  70. object CBOpaque: TCheckBox
  71. Left = 8
  72. Top = 56
  73. Width = 73
  74. Height = 17
  75. Caption = 'Opaque'
  76. Checked = True
  77. State = cbChecked
  78. TabOrder = 0
  79. OnClick = CBOpaqueClick
  80. end
  81. object CBStencil: TCheckBox
  82. Left = 8
  83. Top = 88
  84. Width = 89
  85. Height = 17
  86. Caption = 'Use Stencil'
  87. Checked = True
  88. State = cbChecked
  89. TabOrder = 1
  90. OnClick = CBStencilClick
  91. end
  92. object CBClearZ: TCheckBox
  93. Left = 8
  94. Top = 120
  95. Width = 90
  96. Height = 17
  97. Caption = 'ClearZBuffer'
  98. TabOrder = 2
  99. OnClick = CBClearZClick
  100. end
  101. object CBPlaneClip: TCheckBox
  102. Left = 8
  103. Top = 152
  104. Width = 80
  105. Height = 17
  106. Caption = 'Plane Clip'
  107. Checked = True
  108. State = cbChecked
  109. TabOrder = 3
  110. OnClick = CBPlaneClipClick
  111. end
  112. end
  113. object GLScene1: TGLScene
  114. ObjectsSorting = osNone
  115. Left = 8
  116. Top = 8
  117. object GLLightSource1: TGLLightSource
  118. Ambient.Color = {0000003F0000003F0000003F0000803F}
  119. ConstAttenuation = 1.000000000000000000
  120. Position.Coordinates = {0000C8420000B4420000A0420000803F}
  121. SpotCutOff = 180.000000000000000000
  122. end
  123. object DCNonReflectingStuff: TGLDummyCube
  124. CubeSize = 1.000000000000000000
  125. object Cylinder: TGLTorus
  126. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  127. Material.FrontProperties.Diffuse.Color = {000000008180003F000000000000803F}
  128. ObjectsSorting = osNone
  129. Direction.Coordinates = {000000000000803F0000000000000000}
  130. Position.Coordinates = {00000000000080BF000000000000803F}
  131. Up.Coordinates = {E9DC72BF000000009BE8A13E00000000}
  132. Hint = '0'
  133. MajorRadius = 4.000000000000000000
  134. MinorRadius = 0.500000000000000000
  135. Rings = 24
  136. Sides = 12
  137. StopAngle = 360.000000000000000000
  138. Parts = [toSides, toStartDisk, toStopDisk]
  139. object Cylinder2: TGLCylinder
  140. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  141. Material.FrontProperties.Diffuse.Color = {000000008180003F000000000000803F}
  142. BottomRadius = 0.200000002980232200
  143. Height = 7.000000000000000000
  144. Slices = 12
  145. Stacks = 1
  146. TopRadius = 0.200000002980232200
  147. end
  148. end
  149. end
  150. object ReflectingObjects: TGLDummyCube
  151. ObjectsSorting = osNone
  152. CubeSize = 1.000000000000000000
  153. object CylinderThroughMirror: TGLCylinder
  154. Position.Coordinates = {0000000000000000000000C00000803F}
  155. Up.Coordinates = {F404353FF204353F0000000000000000}
  156. BottomRadius = 0.200000002980232200
  157. Height = 3.000000000000000000
  158. Slices = 12
  159. Stacks = 1
  160. TopRadius = 0.200000002980232200
  161. end
  162. object Sphere: TGLSphere
  163. ObjectsSorting = osNone
  164. Position.Coordinates = {000000000000803F000000000000803F}
  165. Radius = 0.500000000000000000
  166. Slices = 12
  167. Stacks = 6
  168. Top = 0
  169. TopCap = ctCenter
  170. object Cylinder1: TGLCylinder
  171. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  172. Position.Coordinates = {00000000CDCCCCBD6666663F0000803F}
  173. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  174. BottomRadius = 0.100000001490116100
  175. Height = 1.000000000000000000
  176. Slices = 8
  177. Stacks = 1
  178. TopRadius = 0.100000001490116100
  179. end
  180. object Teapot1: TGLTeapot
  181. Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
  182. Position.Coordinates = {000000000000003F000000000000803F}
  183. Scale.Coordinates = {00000040000000400000004000000000}
  184. end
  185. end
  186. end
  187. object GLMirror: TGLMirror
  188. Material.FrontProperties.Ambient.Color = {00000000000000000000803F0000803F}
  189. Material.FrontProperties.Diffuse.Color = {0000803F0000803F0000803F9A99993E}
  190. Material.BlendingMode = bmTransparency
  191. Material.Texture.ImageClassName = 'TGLBlankImage'
  192. Material.Texture.Image.Width = 64
  193. Material.Texture.Image.Height = 64
  194. Material.Texture.Image.ColorFormat = 6408
  195. Material.Texture.MagFilter = maNearest
  196. Material.Texture.MinFilter = miNearest
  197. Material.Texture.Compression = tcNone
  198. ObjectsSorting = osNone
  199. Direction.Coordinates = {000000800000803F0000000000000000}
  200. Up.Coordinates = {00000000000000000000803F00000000}
  201. MirrorObject = ReflectingObjects
  202. MirrorOptions = [moUseStencil, moMirrorPlaneClip, moClearZBuffer]
  203. Height = 6.000000000000000000
  204. Width = 6.000000000000000000
  205. Radius = 1.000000000000000000
  206. object Cadre: TGLExtrusionSolid
  207. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  208. Contours = <
  209. item
  210. Nodes = <
  211. item
  212. X = 3.099999904632568000
  213. Y = -3.099999904632568000
  214. end
  215. item
  216. X = 3.099999904632568000
  217. Y = 3.099999904632568000
  218. end
  219. item
  220. X = -3.099999904632568000
  221. Y = 3.099999904632568000
  222. end
  223. item
  224. X = -3.099999904632568000
  225. Y = -3.099999904632568000
  226. end>
  227. end
  228. item
  229. Nodes = <
  230. item
  231. X = 2.900000095367432000
  232. Y = 2.900000095367432000
  233. end
  234. item
  235. X = -2.900000095367432000
  236. Y = 2.900000095367432000
  237. end
  238. item
  239. X = -2.900000095367432000
  240. Y = -2.900000095367432000
  241. end
  242. item
  243. X = 2.900000095367432000
  244. Y = -2.900000095367432000
  245. end>
  246. end>
  247. Parts = [espOutside, espStartPolygon, espStopPolygon]
  248. Height = 0.100000001490116100
  249. MinSmoothAngle = 5.000000000000000000
  250. end
  251. end
  252. object GLCamera1: TGLCamera
  253. DepthOfView = 100.000000000000000000
  254. FocalLength = 50.000000000000000000
  255. TargetObject = ReflectingObjects
  256. Position.Coordinates = {0000A0400000C040000010410000803F}
  257. Left = 192
  258. Top = 128
  259. end
  260. end
  261. object Timer1: TTimer
  262. OnTimer = Timer1Timer
  263. Left = 40
  264. Top = 8
  265. end
  266. object GLCadencer1: TGLCadencer
  267. Scene = GLScene1
  268. MaxDeltaTime = 0.050000000000000000
  269. OnProgress = GLCadencer1Progress
  270. Left = 8
  271. Top = 40
  272. end
  273. end