Unit1.dfm 4.4 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. Align = alClient
  29. OnMouseDown = GLSceneViewer1MouseDown
  30. OnMouseMove = GLSceneViewer1MouseMove
  31. OnMouseUp = GLSceneViewer1MouseUp
  32. TabOrder = 0
  33. end
  34. object Panel1: TPanel
  35. Left = 0
  36. Top = 378
  37. Width = 569
  38. Height = 42
  39. Align = alBottom
  40. TabOrder = 1
  41. object ButtonClear: TButton
  42. Left = 8
  43. Top = 8
  44. Width = 49
  45. Height = 25
  46. Caption = 'Clear'
  47. TabOrder = 0
  48. OnClick = ButtonClearClick
  49. end
  50. object Button2: TButton
  51. Left = 63
  52. Top = 8
  53. Width = 83
  54. Height = 25
  55. Caption = 'Union A and B'
  56. TabOrder = 1
  57. OnClick = Button2Click
  58. end
  59. object Button3: TButton
  60. Left = 156
  61. Top = 8
  62. Width = 75
  63. Height = 25
  64. Caption = 'Subtract A-B'
  65. TabOrder = 2
  66. OnClick = Button3Click
  67. end
  68. object Button4: TButton
  69. Left = 239
  70. Top = 8
  71. Width = 75
  72. Height = 25
  73. Caption = 'Subtract B-A'
  74. TabOrder = 3
  75. OnClick = Button4Click
  76. end
  77. object Button5: TButton
  78. Left = 320
  79. Top = 8
  80. Width = 97
  81. Height = 25
  82. Caption = 'Intersection A or B'
  83. TabOrder = 4
  84. OnClick = Button5Click
  85. end
  86. object CheckBox1: TCheckBox
  87. Left = 457
  88. Top = 12
  89. Width = 97
  90. Height = 17
  91. Caption = 'Solid Result'
  92. Checked = True
  93. State = cbChecked
  94. TabOrder = 5
  95. OnClick = CheckBox1Click
  96. end
  97. end
  98. object GLScene1: TGLScene
  99. Left = 48
  100. Top = 8
  101. object GLCamera1: TGLCamera
  102. DepthOfView = 5000.000000000000000000
  103. FocalLength = 50.000000000000000000
  104. TargetObject = GLDummyCube1
  105. Position.Coordinates = {0000000000000000000096C30000803F}
  106. Direction.Coordinates = {00000000000000000000803F00000000}
  107. Up.Coordinates = {000000000000803F0000008000000000}
  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