fCsgD.dfm 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. object FormCsg: TFormCsg
  2. Left = 321
  3. Top = 128
  4. Caption = 'Constructive Solid Geometry'
  5. ClientHeight = 542
  6. ClientWidth = 726
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. OnMouseWheelDown = FormMouseWheelDown
  16. OnMouseWheelUp = FormMouseWheelUp
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 544
  22. Height = 542
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = clTeal
  25. Buffer.FaceCulling = False
  26. FieldOfView = 159.092758178710900000
  27. PenAsTouch = False
  28. Align = alClient
  29. OnMouseDown = GLSceneViewer1MouseDown
  30. OnMouseMove = GLSceneViewer1MouseMove
  31. OnMouseUp = GLSceneViewer1MouseUp
  32. TabOrder = 0
  33. end
  34. object PanelLeft: TPanel
  35. Left = 544
  36. Top = 0
  37. Width = 182
  38. Height = 542
  39. Align = alRight
  40. TabOrder = 1
  41. ExplicitLeft = 536
  42. ExplicitHeight = 517
  43. object chbSolidResult: TCheckBox
  44. Left = 48
  45. Top = 324
  46. Width = 97
  47. Height = 17
  48. Caption = 'Solid Result'
  49. Checked = True
  50. State = cbChecked
  51. TabOrder = 0
  52. OnClick = chbSolidResultClick
  53. end
  54. object btnReset: TButton
  55. Left = 48
  56. Top = 371
  57. Width = 49
  58. Height = 25
  59. Caption = 'Reset'
  60. TabOrder = 1
  61. OnClick = btnResetClick
  62. end
  63. object gbVisibility: TGroupBox
  64. Left = 16
  65. Top = 210
  66. Width = 153
  67. Height = 92
  68. Caption = 'Visibility'
  69. TabOrder = 2
  70. object chbA: TCheckBox
  71. Left = 32
  72. Top = 18
  73. Width = 97
  74. Height = 17
  75. Caption = 'Object A'
  76. Checked = True
  77. State = cbChecked
  78. TabOrder = 0
  79. OnClick = chbClick
  80. end
  81. object chbB: TCheckBox
  82. Left = 32
  83. Top = 41
  84. Width = 97
  85. Height = 17
  86. Caption = 'Object B'
  87. Checked = True
  88. State = cbChecked
  89. TabOrder = 1
  90. OnClick = chbClick
  91. end
  92. object chbC: TCheckBox
  93. Left = 32
  94. Top = 64
  95. Width = 97
  96. Height = 17
  97. Caption = 'Result'
  98. Checked = True
  99. State = cbChecked
  100. TabOrder = 2
  101. OnClick = chbClick
  102. end
  103. end
  104. object rgOperation: TRadioGroup
  105. Left = 16
  106. Top = 16
  107. Width = 153
  108. Height = 169
  109. Caption = 'Operation'
  110. ItemIndex = 0
  111. Items.Strings = (
  112. 'Union A and B'
  113. 'Subtract A-B'
  114. 'Subtract B-A'
  115. 'Intersect A and B')
  116. TabOrder = 3
  117. OnClick = rgOperationClick
  118. end
  119. end
  120. object GLScene1: TGLScene
  121. Left = 48
  122. Top = 8
  123. object GLCamera1: TGLCamera
  124. DepthOfView = 5000.000000000000000000
  125. FocalLength = 50.000000000000000000
  126. TargetObject = GLDummyCube1
  127. Position.Coordinates = {0000000000000000000096C30000803F}
  128. Direction.Coordinates = {00000000000000000000803F00000000}
  129. object GLLightSource1: TGLLightSource
  130. ConstAttenuation = 1.000000000000000000
  131. LightStyle = lsOmni
  132. SpotCutOff = 180.000000000000000000
  133. end
  134. end
  135. object GLDummyCube1: TGLDummyCube
  136. Scale.Coordinates = {00000040000000400000004000000000}
  137. CubeSize = 100.000000000000000000
  138. object FF_A: TGLFreeForm
  139. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  140. Material.FrontProperties.Diffuse.Color = {9484843E9484843EDBDEDE3E0000803F}
  141. Material.FrontProperties.Shininess = 32
  142. Material.FrontProperties.Specular.Color = {9A99593F9A99593FCDCCCC3D0000803F}
  143. Scale.Coordinates = {0000A0420000A0420000A04200000000}
  144. Visible = False
  145. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  146. end
  147. object FF_B: TGLFreeForm
  148. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  149. Material.FrontProperties.Diffuse.Color = {CFBC3C3EA19E9E3EA19E9E3E0000803F}
  150. Material.FrontProperties.Shininess = 32
  151. Material.FrontProperties.Specular.Color = {BEBEBE3E999F1F3F999F1F3F0000803F}
  152. Position.Coordinates = {0000004200000000000000000000803F}
  153. Scale.Coordinates = {00002042000020420000204200000000}
  154. Visible = False
  155. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  156. end
  157. object FF_C: TGLFreeForm
  158. Position.Coordinates = {0000000000000042000000000000803F}
  159. Visible = False
  160. MaterialLibrary = GLMaterialLibrary1
  161. end
  162. object ffSphere: TGLFreeForm
  163. Scale.Coordinates = {00002041000020410000204100000000}
  164. end
  165. object ffHalhSphere: TGLFreeForm
  166. end
  167. end
  168. end
  169. object GLMaterialLibrary1: TGLMaterialLibrary
  170. Materials = <
  171. item
  172. Name = '1'
  173. Tag = 0
  174. Material.FrontProperties.Diffuse.Color = {6666663F6666663F6666663F0000803F}
  175. end
  176. item
  177. Name = '2'
  178. Tag = 0
  179. Material.FrontProperties.Diffuse.Color = {6666E63E6666E63E6666E63E0000803F}
  180. end>
  181. Left = 136
  182. Top = 8
  183. end
  184. end