fShadowPlaneC.dfm 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Shadow Plane'
  9. ClientHeight = 774
  10. ClientWidth = 1108
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. Position = poScreenCenter
  18. WindowState = wsMaximized
  19. OnCreate = FormCreate
  20. PixelsPerInch = 168
  21. TextHeight = 23
  22. object GLSceneViewer1: TGLSceneViewer
  23. Left = 0
  24. Top = 0
  25. Width = 1108
  26. Height = 774
  27. Margins.Left = 5
  28. Margins.Top = 5
  29. Margins.Right = 5
  30. Margins.Bottom = 5
  31. Camera = GLCamera1
  32. Buffer.BackgroundColor = 8421440
  33. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  34. FieldOfView = 165.276458740234400000
  35. PenAsTouch = False
  36. Align = alClient
  37. TabOrder = 0
  38. end
  39. object Panel1: TPanel
  40. Left = 14
  41. Top = 14
  42. Width = 212
  43. Height = 100
  44. Margins.Left = 5
  45. Margins.Top = 5
  46. Margins.Right = 5
  47. Margins.Bottom = 5
  48. TabOrder = 1
  49. object CBShadows: TCheckBox
  50. Left = 28
  51. Top = 14
  52. Width = 170
  53. Height = 30
  54. Margins.Left = 5
  55. Margins.Top = 5
  56. Margins.Right = 5
  57. Margins.Bottom = 5
  58. Caption = 'Shadows'
  59. Checked = True
  60. State = cbChecked
  61. TabOrder = 0
  62. OnClick = CBShadowsClick
  63. end
  64. object CBStencil: TCheckBox
  65. Left = 28
  66. Top = 56
  67. Width = 170
  68. Height = 30
  69. Margins.Left = 5
  70. Margins.Top = 5
  71. Margins.Right = 5
  72. Margins.Bottom = 5
  73. Caption = 'Stencil Buffer'
  74. Checked = True
  75. State = cbChecked
  76. TabOrder = 1
  77. OnClick = CBStencilClick
  78. end
  79. end
  80. object GLScene1: TGLScene
  81. Left = 304
  82. Top = 8
  83. object DCShadowing: TGLDummyCube
  84. CubeSize = 1.000000000000000000
  85. object Cube1: TGLCube
  86. Position.Coordinates = {000000000000003F000000000000803F}
  87. Up.Coordinates = {00000000FFFF7F3F1AF6953100000000}
  88. CubeSize = {00000040CDCC4C3E3333333F}
  89. end
  90. object Sphere1: TGLSphere
  91. Position.Coordinates = {000000000000803F0000C0BF0000803F}
  92. Radius = 0.200000002980232200
  93. end
  94. object Torus1: TGLTorus
  95. Direction.Coordinates = {00000000B28F703F441DAF3E00000000}
  96. Position.Coordinates = {000000000000803F0000C03F0000803F}
  97. Up.Coordinates = {00000000441DAF3EB28F70BF00000000}
  98. MajorRadius = 0.300000011920929000
  99. MinorRadius = 0.100000001490116100
  100. Rings = 24
  101. Sides = 12
  102. StopAngle = 360.000000000000000000
  103. Parts = [toSides, toStartDisk, toStopDisk]
  104. end
  105. end
  106. object DCLight: TGLDummyCube
  107. CubeSize = 1.000000000000000000
  108. object GLLightSource1: TGLLightSource
  109. ConstAttenuation = 1.000000000000000000
  110. Position.Coordinates = {0000000000004040000000000000803F}
  111. SpotCutOff = 180.000000000000000000
  112. object Sphere2: TGLSphere
  113. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  114. Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
  115. Material.FrontProperties.Emission.Color = {0000803F0000803F0000803F0000803F}
  116. Radius = 0.100000001490116100
  117. Slices = 8
  118. Stacks = 8
  119. end
  120. end
  121. end
  122. object DCCameraTarget: TGLDummyCube
  123. Position.Coordinates = {000000003333333F000000000000803F}
  124. CubeSize = 1.000000000000000000
  125. object GLCamera1: TGLCamera
  126. DepthOfView = 100.000000000000000000
  127. FocalLength = 50.000000000000000000
  128. SceneScale = 2.000000000000000000
  129. TargetObject = DCCameraTarget
  130. Position.Coordinates = {0000A04000008040000040400000803F}
  131. end
  132. end
  133. object GLShadowPlane1: TGLShadowPlane
  134. Material.MaterialLibrary = GLMaterialLibrary
  135. Material.LibMaterialName = 'Marble'
  136. Direction.Coordinates = {000000000000803F0000000000000000}
  137. Up.Coordinates = {0000000000000000000080BF00000000}
  138. Height = 8.000000000000000000
  139. Width = 4.000000000000000000
  140. XTiles = 4
  141. YTiles = 8
  142. Style = [psTileTexture]
  143. ShadowingObject = DCShadowing
  144. ShadowedLight = GLLightSource1
  145. end
  146. object GLShadowPlane2: TGLShadowPlane
  147. Material.MaterialLibrary = GLMaterialLibrary
  148. Material.LibMaterialName = 'Marble'
  149. Position.Coordinates = {0000000000000040000080C00000803F}
  150. Height = 4.000000000000000000
  151. Width = 4.000000000000000000
  152. XTiles = 4
  153. YTiles = 4
  154. Style = [psTileTexture]
  155. ShadowingObject = DCShadowing
  156. ShadowedLight = GLLightSource1
  157. end
  158. object GLShadowPlane3: TGLShadowPlane
  159. Material.MaterialLibrary = GLMaterialLibrary
  160. Material.LibMaterialName = 'Marble'
  161. Direction.Coordinates = {0000803F000000800000000000000000}
  162. Position.Coordinates = {000000C000000040000000000000803F}
  163. Up.Coordinates = {0000000000000000000080BF00000000}
  164. Height = 8.000000000000000000
  165. Width = 4.000000000000000000
  166. XTiles = 4
  167. YTiles = 8
  168. Style = [psTileTexture]
  169. ShadowingObject = DCShadowing
  170. ShadowedLight = GLLightSource1
  171. end
  172. end
  173. object GLCadencer1: TGLCadencer
  174. Scene = GLScene1
  175. OnProgress = GLCadencer1Progress
  176. Left = 304
  177. Top = 64
  178. end
  179. object Timer1: TTimer
  180. OnTimer = Timer1Timer
  181. Left = 392
  182. Top = 8
  183. end
  184. object GLMaterialLibrary: TGLMaterialLibrary
  185. Materials = <
  186. item
  187. Name = 'Marble'
  188. Tag = 0
  189. Material.FrontProperties.Emission.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000803F}
  190. Material.Texture.ImageClassName = 'TGLPicFileImage'
  191. Material.Texture.Image.PictureFileName = 'BeigeMarble.jpg'
  192. Material.Texture.TextureMode = tmModulate
  193. Material.Texture.Disabled = False
  194. TextureScale.Coordinates = {0000003F0000003F0000803F00000000}
  195. end>
  196. TexturePaths = '..\\..\\..\\..\\media'
  197. Left = 192
  198. Top = 8
  199. end
  200. end