fRaycastC.dfm 4.9 KB

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