fTriangleBoxD.dfm 7.0 KB

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