fCsgC.dfm 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Constructive Solid Geometry'
  5. ClientHeight = 420
  6. ClientWidth = 569
  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. OnMouseWheelDown = FormMouseWheelDown
  16. OnMouseWheelUp = FormMouseWheelUp
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object GLSceneViewer1: TGLSceneViewer
  20. Left = 0
  21. Top = 0
  22. Width = 569
  23. Height = 378
  24. Camera = GLCamera1
  25. Buffer.BackgroundColor = clTeal
  26. Buffer.FaceCulling = False
  27. FieldOfView = 150.363708496093800000
  28. PenAsTouch = False
  29. Align = alClient
  30. OnMouseDown = GLSceneViewer1MouseDown
  31. OnMouseMove = GLSceneViewer1MouseMove
  32. OnMouseUp = GLSceneViewer1MouseUp
  33. TabOrder = 0
  34. end
  35. object Panel1: TPanel
  36. Left = 0
  37. Top = 378
  38. Width = 569
  39. Height = 42
  40. Align = alBottom
  41. TabOrder = 1
  42. object ButtonClear: TButton
  43. Left = 8
  44. Top = 8
  45. Width = 49
  46. Height = 25
  47. Caption = 'Clear'
  48. TabOrder = 0
  49. OnClick = ButtonClearClick
  50. end
  51. object Button2: TButton
  52. Left = 63
  53. Top = 8
  54. Width = 83
  55. Height = 25
  56. Caption = 'Union A and B'
  57. TabOrder = 1
  58. OnClick = Button2Click
  59. end
  60. object Button3: TButton
  61. Left = 156
  62. Top = 8
  63. Width = 75
  64. Height = 25
  65. Caption = 'Subtract A-B'
  66. TabOrder = 2
  67. OnClick = Button3Click
  68. end
  69. object Button4: TButton
  70. Left = 239
  71. Top = 8
  72. Width = 75
  73. Height = 25
  74. Caption = 'Subtract B-A'
  75. TabOrder = 3
  76. OnClick = Button4Click
  77. end
  78. object Button5: TButton
  79. Left = 320
  80. Top = 8
  81. Width = 97
  82. Height = 25
  83. Caption = 'Intersection A or B'
  84. TabOrder = 4
  85. OnClick = Button5Click
  86. end
  87. object CheckBox1: TCheckBox
  88. Left = 457
  89. Top = 12
  90. Width = 97
  91. Height = 17
  92. Caption = 'Solid Result'
  93. Checked = True
  94. State = cbChecked
  95. TabOrder = 5
  96. OnClick = CheckBox1Click
  97. end
  98. end
  99. object GLScene1: TGLScene
  100. Left = 48
  101. Top = 8
  102. object GLCamera1: TGLCamera
  103. DepthOfView = 5000.000000000000000000
  104. FocalLength = 50.000000000000000000
  105. TargetObject = GLDummyCube1
  106. Position.Coordinates = {0000000000000000000096C30000803F}
  107. Direction.Coordinates = {00000000000000000000803F00000000}
  108. object GLLightSource1: TGLLightSource
  109. ConstAttenuation = 1.000000000000000000
  110. LightStyle = lsOmni
  111. SpotCutOff = 180.000000000000000000
  112. end
  113. end
  114. object GLDummyCube1: TGLDummyCube
  115. Scale.Coordinates = {00000040000000400000004000000000}
  116. CubeSize = 100.000000000000000000
  117. object GLFreeForm3: TGLFreeForm
  118. MaterialLibrary = GLMaterialLibrary1
  119. end
  120. object GLFreeForm2: TGLFreeForm
  121. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  122. Material.FrontProperties.Diffuse.Color = {CFBC3C3EA19E9E3EA19E9E3E0000803F}
  123. Material.FrontProperties.Shininess = 32
  124. Material.FrontProperties.Specular.Color = {BEBEBE3E999F1F3F999F1F3F0000803F}
  125. Position.Coordinates = {0000004200000000000000000000803F}
  126. Scale.Coordinates = {00002042000020420000204200000000}
  127. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  128. end
  129. object GLFreeForm1: TGLFreeForm
  130. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  131. Material.FrontProperties.Diffuse.Color = {9484843E9484843EDBDEDE3E0000803F}
  132. Material.FrontProperties.Shininess = 32
  133. Material.FrontProperties.Specular.Color = {9A99593F9A99593FCDCCCC3D0000803F}
  134. Scale.Coordinates = {0000A0420000A0420000A04200000000}
  135. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  136. end
  137. end
  138. end
  139. object GLMaterialLibrary1: TGLMaterialLibrary
  140. Materials = <
  141. item
  142. Name = '1'
  143. Tag = 0
  144. Material.FrontProperties.Diffuse.Color = {6666663F6666663F6666663F0000803F}
  145. end
  146. item
  147. Name = '2'
  148. Tag = 0
  149. Material.FrontProperties.Diffuse.Color = {6666E63E6666E63E6666E63E0000803F}
  150. end>
  151. Left = 136
  152. Top = 8
  153. end
  154. end