fTriangleBoxD.dfm 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. object FormTriangleBox: TFormTriangleBox
  2. Left = 281
  3. Top = 112
  4. Caption = 'Triangle and Box Intersection'
  5. ClientHeight = 549
  6. ClientWidth = 865
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Arial'
  12. Font.Style = []
  13. KeyPreview = True
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. OnKeyPress = FormKeyPress
  17. OnMouseWheel = FormMouseWheel
  18. OnResize = FormResize
  19. TextHeight = 14
  20. object Viewer: TGLSceneViewer
  21. Left = 175
  22. Top = 0
  23. Width = 690
  24. Height = 549
  25. Camera = GLCamera1
  26. Buffer.BackgroundColor = clBackground
  27. FieldOfView = 159.353576660156300000
  28. PenAsTouch = False
  29. Align = alClient
  30. OnMouseMove = ViewerMouseMove
  31. TabOrder = 0
  32. ExplicitWidth = 523
  33. ExplicitHeight = 486
  34. end
  35. object Panel2: TPanel
  36. Left = 0
  37. Top = 0
  38. Width = 175
  39. Height = 549
  40. Align = alLeft
  41. TabOrder = 1
  42. ExplicitHeight = 443
  43. object CheckBoxGrid: TCheckBox
  44. Left = 8
  45. Top = 170
  46. Width = 80
  47. Height = 17
  48. Caption = 'Grid'
  49. Checked = True
  50. State = cbChecked
  51. TabOrder = 6
  52. OnClick = CheckBoxVisibleClick
  53. end
  54. object ButtonFindIntersect: TButton
  55. Left = 6
  56. Top = 80
  57. Width = 162
  58. Height = 25
  59. Caption = 'Find next with intersection'
  60. Default = True
  61. TabOrder = 3
  62. OnClick = ButtonFindIntersectClick
  63. end
  64. object CheckBoxPosition: TCheckBox
  65. Left = 8
  66. Top = 11
  67. Width = 120
  68. Height = 17
  69. Caption = 'Change box position'
  70. Checked = True
  71. State = cbChecked
  72. TabOrder = 0
  73. end
  74. object CheckBoxScale: TCheckBox
  75. Left = 8
  76. Top = 34
  77. Width = 120
  78. Height = 17
  79. Caption = 'Change box scale'
  80. Checked = True
  81. State = cbChecked
  82. TabOrder = 1
  83. end
  84. object CheckBoxTriangle: TCheckBox
  85. Left = 8
  86. Top = 57
  87. Width = 120
  88. Height = 17
  89. Caption = 'Change triangle'
  90. Checked = True
  91. State = cbChecked
  92. TabOrder = 2
  93. end
  94. object ButtonNotFindIntersect: TButton
  95. Left = 6
  96. Top = 112
  97. Width = 162
  98. Height = 25
  99. Caption = 'Find next without intersection'
  100. TabOrder = 4
  101. OnClick = ButtonNotFindIntersectClick
  102. end
  103. object CheckBoxVisible: TCheckBox
  104. Left = 8
  105. Top = 146
  106. Width = 80
  107. Height = 19
  108. Caption = 'Box visible'
  109. Checked = True
  110. State = cbChecked
  111. TabOrder = 5
  112. OnClick = CheckBoxVisibleClick
  113. end
  114. object CheckBoxAxis: TCheckBox
  115. Left = 8
  116. Top = 192
  117. Width = 80
  118. Height = 17
  119. Caption = 'Axis'
  120. Checked = True
  121. State = cbChecked
  122. TabOrder = 7
  123. OnClick = CheckBoxVisibleClick
  124. end
  125. object RadioGroupCoPolygon: TRadioGroup
  126. Left = 16
  127. Top = 236
  128. Width = 112
  129. Height = 105
  130. Caption = 'Coplanar Polygon'
  131. ItemIndex = 0
  132. Items.Strings = (
  133. 'Fill'
  134. 'Lines'
  135. 'Points')
  136. TabOrder = 8
  137. OnClick = RadioGroupCoPolygonClick
  138. end
  139. end
  140. object GLScene: TGLScene
  141. Left = 216
  142. Top = 24
  143. object GLCamera1: TGLCamera
  144. DepthOfView = 500.000000000000000000
  145. FocalLength = 50.000000000000000000
  146. NearPlaneBias = 0.100000001490116100
  147. TargetObject = DCCamTarget
  148. Position.Coordinates = {0000A04000000040000040400000803F}
  149. Direction.Coordinates = {000000000000803F0000008000000000}
  150. Up.Coordinates = {00000000000000000000803F00000000}
  151. Left = 256
  152. Top = 144
  153. end
  154. object DCCamTarget: TGLDummyCube
  155. CubeSize = 1.000000000000000000
  156. VisibleAtRunTime = True
  157. end
  158. object GLLightSource1: TGLLightSource
  159. ConstAttenuation = 1.000000000000000000
  160. Position.Coordinates = {00007A4400004844000016440000803F}
  161. SpotCutOff = 180.000000000000000000
  162. end
  163. object GLLightSource2: TGLLightSource
  164. ConstAttenuation = 1.000000000000000000
  165. Position.Coordinates = {0000FAC30000C8C3000096C30000803F}
  166. SpotCutOff = 180.000000000000000000
  167. end
  168. object GLCube1: TGLCube
  169. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  170. end
  171. object GLXYZGrid1: TGLXYZGrid
  172. XSamplingScale.Min = -10.000000000000000000
  173. XSamplingScale.Max = 10.000000000000000000
  174. XSamplingScale.Step = 3.000000000000000000
  175. YSamplingScale.Min = -10.000000000000000000
  176. YSamplingScale.Max = 10.000000000000000000
  177. YSamplingScale.Step = 3.000000000000000000
  178. ZSamplingScale.Step = 0.100000001490116100
  179. end
  180. object GLPolygon1: TGLPolygon
  181. Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
  182. Nodes = <
  183. item
  184. end
  185. item
  186. Y = 1.000000000000000000
  187. end
  188. item
  189. Y = 1.000000000000000000
  190. Z = 1.000000000000000000
  191. end>
  192. end
  193. object GLPolygon2: TGLPolygon
  194. Nodes = <>
  195. end
  196. object GLLines1: TGLLines
  197. LineWidth = 3.000000000000000000
  198. Nodes = <
  199. item
  200. Color.Color = {0000803F00000000000000000000803F}
  201. end
  202. item
  203. X = 1.000000000000000000
  204. Color.Color = {0000803F00000000000000000000803F}
  205. end
  206. item
  207. Color.Color = {000000000000003F000000000000803F}
  208. end
  209. item
  210. Y = 1.000000000000000000
  211. Color.Color = {0AD7A33E48E1FA3E1F85EB3E0000803F}
  212. end
  213. item
  214. end
  215. item
  216. Z = 1.000000000000000000
  217. end>
  218. NodesAspect = lnaInvisible
  219. SplineMode = lsmSegments
  220. Options = [loUseNodeColorForLines]
  221. end
  222. object GLPoints1: TGLPoints
  223. NoZWrite = False
  224. Static = False
  225. Size = 6.000000000000000000
  226. end
  227. object GLLines2: TGLLines
  228. LineWidth = 2.000000000000000000
  229. Nodes = <>
  230. NodesAspect = lnaInvisible
  231. Division = 1
  232. Options = []
  233. end
  234. end
  235. object GLCadencer: TGLCadencer
  236. Scene = GLScene
  237. OnProgress = GLCadencerProgress
  238. Left = 216
  239. Top = 64
  240. end
  241. end