fRayCastD.dfm 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. object FormRayCast: TFormRayCast
  2. Left = 170
  3. Top = 79
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. AutoSize = True
  9. Caption = 'Ray Cast'
  10. ClientHeight = 452
  11. ClientWidth = 884
  12. Color = clBtnFace
  13. Font.Charset = DEFAULT_CHARSET
  14. Font.Color = clWindowText
  15. Font.Height = -19
  16. Font.Name = 'Arial'
  17. Font.Style = []
  18. Position = poScreenCenter
  19. PixelsPerInch = 168
  20. TextHeight = 22
  21. object Bevel2: TBevel
  22. Left = 490
  23. Top = 86
  24. Width = 394
  25. Height = 366
  26. Margins.Left = 5
  27. Margins.Top = 5
  28. Margins.Right = 5
  29. Margins.Bottom = 5
  30. end
  31. object Bevel1: TBevel
  32. Left = 0
  33. Top = 86
  34. Width = 394
  35. Height = 366
  36. Margins.Left = 5
  37. Margins.Top = 5
  38. Margins.Right = 5
  39. Margins.Bottom = 5
  40. end
  41. object PaintBox1: TPaintBox
  42. Left = 504
  43. Top = 98
  44. Width = 366
  45. Height = 338
  46. Margins.Left = 5
  47. Margins.Top = 5
  48. Margins.Right = 5
  49. Margins.Bottom = 5
  50. end
  51. object GLSceneViewer1: TGLSceneViewer
  52. Left = 14
  53. Top = 100
  54. Width = 366
  55. Height = 338
  56. Margins.Left = 5
  57. Margins.Top = 5
  58. Margins.Right = 5
  59. Margins.Bottom = 5
  60. Camera = GLCamera1
  61. FieldOfView = 147.037460327148400000
  62. PenAsTouch = False
  63. TabOrder = 0
  64. end
  65. object BUCast: TButton
  66. Left = 406
  67. Top = 156
  68. Width = 72
  69. Height = 44
  70. Margins.Left = 5
  71. Margins.Top = 5
  72. Margins.Right = 5
  73. Margins.Bottom = 5
  74. Caption = 'Cast!'
  75. TabOrder = 1
  76. OnClick = BUCastClick
  77. end
  78. object Panel1: TPanel
  79. Left = 0
  80. Top = 0
  81. Width = 884
  82. Height = 86
  83. Margins.Left = 5
  84. Margins.Top = 5
  85. Margins.Right = 5
  86. Margins.Bottom = 5
  87. Align = alTop
  88. BevelOuter = bvNone
  89. TabOrder = 2
  90. object Label1: TLabel
  91. Left = 0
  92. Top = 0
  93. Width = 884
  94. Height = 39
  95. Margins.Left = 5
  96. Margins.Top = 5
  97. Margins.Right = 5
  98. Margins.Bottom = 5
  99. Align = alTop
  100. Alignment = taCenter
  101. AutoSize = False
  102. Caption = 'RayCasting demo/testbed'
  103. Font.Charset = DEFAULT_CHARSET
  104. Font.Color = clWindowText
  105. Font.Height = -23
  106. Font.Name = 'Arial'
  107. Font.Style = [fsBold]
  108. ParentFont = False
  109. Layout = tlCenter
  110. end
  111. object Label2: TLabel
  112. Left = 14
  113. Top = 56
  114. Width = 171
  115. Height = 22
  116. Margins.Left = 5
  117. Margins.Top = 5
  118. Margins.Right = 5
  119. Margins.Bottom = 5
  120. Caption = 'OpenGL scene view'
  121. Font.Charset = DEFAULT_CHARSET
  122. Font.Color = clWindowText
  123. Font.Height = -19
  124. Font.Name = 'Arial'
  125. Font.Style = []
  126. ParentFont = False
  127. end
  128. object Label3: TLabel
  129. Left = 504
  130. Top = 56
  131. Width = 233
  132. Height = 22
  133. Margins.Left = 5
  134. Margins.Top = 5
  135. Margins.Right = 5
  136. Margins.Bottom = 5
  137. Caption = 'RayCasted/RayTraced view'
  138. Font.Charset = DEFAULT_CHARSET
  139. Font.Color = clWindowText
  140. Font.Height = -19
  141. Font.Name = 'Arial'
  142. Font.Style = []
  143. ParentFont = False
  144. end
  145. end
  146. object GLScene1: TGLScene
  147. Left = 16
  148. Top = 64
  149. object Sphere1: TGLSphere
  150. Material.FrontProperties.Diffuse.Color = {8D8C0C3F8D8C0C3F0000803F0000803F}
  151. Radius = 0.200000002980232200
  152. end
  153. object DummyCube1: TGLDummyCube
  154. Direction.Coordinates = {00000000000080330000803F00000000}
  155. Up.Coordinates = {EE8384BEEA46773FEA4677B300000000}
  156. CubeSize = 1.000000000000000000
  157. object Torus1: TGLTorus
  158. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  159. Direction.Coordinates = {5D1C7C3F02004032CED0313E00000000}
  160. Position.Coordinates = {000000BF00000000000000000000803F}
  161. Up.Coordinates = {00C02FB20000803F0000403200000000}
  162. Visible = False
  163. MajorRadius = 0.400000005960464500
  164. MinorRadius = 0.100000001490116100
  165. StopAngle = 360.000000000000000000
  166. Parts = [toSides, toStartDisk, toStopDisk]
  167. end
  168. object Plane1: TGLPlane
  169. Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
  170. Material.FaceCulling = fcNoCull
  171. Height = 0.699999988079071000
  172. Width = 0.300000011920929000
  173. end
  174. object Cylinder1: TGLCylinder
  175. Material.FrontProperties.Diffuse.Color = {0000803F0000803F8180003F0000803F}
  176. Direction.Coordinates = {00000000010000BFD6B35D3F00000000}
  177. Position.Coordinates = {0000003F00000000000000000000803F}
  178. Up.Coordinates = {00000000D6B35D3F0100003F00000000}
  179. BottomRadius = 0.100000001490116100
  180. Height = 0.600000023841857900
  181. TopRadius = 0.100000001490116100
  182. object GLAnnulus1: TGLAnnulus
  183. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  184. BottomRadius = 0.230000004172325100
  185. Height = 0.200000002980232200
  186. BottomInnerRadius = 0.180000007152557400
  187. TopInnerRadius = 0.180000007152557400
  188. TopRadius = 0.230000004172325100
  189. end
  190. end
  191. object GLCube1: TGLCube
  192. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  193. Direction.Coordinates = {00000000B28F70BF431DAF3E00000000}
  194. Position.Coordinates = {000000BF00000000000000000000803F}
  195. Up.Coordinates = {00000000431DAF3EB28F703F00000000}
  196. CubeSize = {CDCC4C3ECDCCCC3D9A99993E}
  197. end
  198. end
  199. object GLLightSource1: TGLLightSource
  200. ConstAttenuation = 1.000000000000000000
  201. Position.Coordinates = {0000204100001041000070410000803F}
  202. SpotCutOff = 180.000000000000000000
  203. end
  204. object GLCamera1: TGLCamera
  205. DepthOfView = 100.000000000000000000
  206. FocalLength = 50.000000000000000000
  207. Position.Coordinates = {0000000000000000000040400000803F}
  208. Left = 256
  209. Top = 160
  210. end
  211. end
  212. object GLCadencer1: TGLCadencer
  213. Scene = GLScene1
  214. OnProgress = GLCadencer1Progress
  215. Left = 56
  216. Top = 64
  217. end
  218. end