fMainC.dfm 5.4 KB

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