Unit1.dfm 5.6 KB

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