Unit1.dfm 7.4 KB

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