fCsgD.dfm 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. object chbSolidResult: TCheckBox
  42. Left = 48
  43. Top = 324
  44. Width = 97
  45. Height = 17
  46. Caption = 'Solid Result'
  47. Checked = True
  48. State = cbChecked
  49. TabOrder = 0
  50. OnClick = chbSolidResultClick
  51. end
  52. object btnReset: TButton
  53. Left = 48
  54. Top = 371
  55. Width = 49
  56. Height = 25
  57. Caption = 'Reset'
  58. TabOrder = 1
  59. OnClick = btnResetClick
  60. end
  61. object gbVisibility: TGroupBox
  62. Left = 16
  63. Top = 210
  64. Width = 153
  65. Height = 92
  66. Caption = 'Visibility'
  67. TabOrder = 2
  68. object chbA: TCheckBox
  69. Left = 32
  70. Top = 18
  71. Width = 97
  72. Height = 17
  73. Caption = 'Object A'
  74. Checked = True
  75. State = cbChecked
  76. TabOrder = 0
  77. OnClick = chbClick
  78. end
  79. object chbB: TCheckBox
  80. Left = 32
  81. Top = 41
  82. Width = 97
  83. Height = 17
  84. Caption = 'Object B'
  85. Checked = True
  86. State = cbChecked
  87. TabOrder = 1
  88. OnClick = chbClick
  89. end
  90. object chbC: TCheckBox
  91. Left = 32
  92. Top = 64
  93. Width = 97
  94. Height = 17
  95. Caption = 'Result'
  96. Checked = True
  97. State = cbChecked
  98. TabOrder = 2
  99. OnClick = chbClick
  100. end
  101. end
  102. object rgOperation: TRadioGroup
  103. Left = 16
  104. Top = 16
  105. Width = 153
  106. Height = 169
  107. Caption = 'Operation'
  108. ItemIndex = 0
  109. Items.Strings = (
  110. 'Union A and B'
  111. 'Subtract A-B'
  112. 'Subtract B-A'
  113. 'Intersect A and B')
  114. TabOrder = 3
  115. OnClick = rgOperationClick
  116. end
  117. end
  118. object GLScene1: TGLScene
  119. Left = 48
  120. Top = 8
  121. object GLCamera1: TGLCamera
  122. DepthOfView = 5000.000000000000000000
  123. FocalLength = 50.000000000000000000
  124. TargetObject = GLDummyCube1
  125. Position.Coordinates = {0000000000000000000096C30000803F}
  126. Direction.Coordinates = {00000000000000000000803F00000000}
  127. object GLLightSource1: TGLLightSource
  128. ConstAttenuation = 1.000000000000000000
  129. LightStyle = lsOmni
  130. SpotCutOff = 180.000000000000000000
  131. end
  132. end
  133. object GLDummyCube1: TGLDummyCube
  134. Scale.Coordinates = {00000040000000400000004000000000}
  135. CubeSize = 100.000000000000000000
  136. object FF_A: TGLFreeForm
  137. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  138. Material.FrontProperties.Diffuse.Color = {9484843E9484843EDBDEDE3E0000803F}
  139. Material.FrontProperties.Shininess = 32
  140. Material.FrontProperties.Specular.Color = {9A99593F9A99593FCDCCCC3D0000803F}
  141. Scale.Coordinates = {0000A0420000A0420000A04200000000}
  142. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  143. end
  144. object FF_B: TGLFreeForm
  145. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  146. Material.FrontProperties.Diffuse.Color = {CFBC3C3EA19E9E3EA19E9E3E0000803F}
  147. Material.FrontProperties.Shininess = 32
  148. Material.FrontProperties.Specular.Color = {BEBEBE3E999F1F3F999F1F3F0000803F}
  149. Position.Coordinates = {0000004200000000000000000000803F}
  150. Scale.Coordinates = {00002042000020420000204200000000}
  151. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  152. end
  153. object FF_C: TGLFreeForm
  154. MaterialLibrary = GLMaterialLibrary1
  155. end
  156. end
  157. end
  158. object GLMaterialLibrary1: TGLMaterialLibrary
  159. Materials = <
  160. item
  161. Name = '1'
  162. Tag = 0
  163. Material.FrontProperties.Diffuse.Color = {6666663F6666663F6666663F0000803F}
  164. end
  165. item
  166. Name = '2'
  167. Tag = 0
  168. Material.FrontProperties.Diffuse.Color = {6666E63E6666E63E6666E63E0000803F}
  169. end>
  170. Left = 136
  171. Top = 8
  172. end
  173. end