fTilesC.dfm 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Tiles'
  9. ClientHeight = 739
  10. ClientWidth = 1152
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. OnCreate = FormCreate
  18. OnMouseWheel = FormMouseWheel
  19. PixelsPerInch = 168
  20. TextHeight = 23
  21. object GLSceneViewer1: TGLSceneViewer
  22. Left = 0
  23. Top = 0
  24. Width = 928
  25. Height = 739
  26. Margins.Left = 5
  27. Margins.Top = 5
  28. Margins.Right = 5
  29. Margins.Bottom = 5
  30. Camera = Camera
  31. FieldOfView = 164.587310791015600000
  32. PenAsTouch = False
  33. Align = alClient
  34. TabOrder = 0
  35. end
  36. object Panel1: TPanel
  37. Left = 928
  38. Top = 0
  39. Width = 224
  40. Height = 739
  41. Margins.Left = 5
  42. Margins.Top = 5
  43. Margins.Right = 5
  44. Margins.Bottom = 5
  45. Align = alRight
  46. BevelOuter = bvLowered
  47. Font.Charset = DEFAULT_CHARSET
  48. Font.Color = clWindowText
  49. Font.Height = -19
  50. Font.Name = 'Arial'
  51. Font.Style = []
  52. ParentFont = False
  53. TabOrder = 1
  54. object Label1: TLabel
  55. Left = 14
  56. Top = 14
  57. Width = 110
  58. Height = 22
  59. Margins.Left = 5
  60. Margins.Top = 5
  61. Margins.Right = 5
  62. Margins.Bottom = 5
  63. Caption = 'Tile Materials'
  64. end
  65. object Label2: TLabel
  66. Left = 14
  67. Top = 238
  68. Width = 198
  69. Height = 156
  70. Margins.Left = 5
  71. Margins.Top = 5
  72. Margins.Right = 5
  73. Margins.Bottom = 5
  74. AutoSize = False
  75. Caption =
  76. 'Shift + Left button: pan'#13#10#13#10'Left button : paint with current mat' +
  77. 'erial'#13#10#13#10'Mouse wheel: zoom'
  78. WordWrap = True
  79. end
  80. object CBMaterial: TComboBox
  81. Left = 14
  82. Top = 42
  83. Width = 198
  84. Height = 30
  85. Margins.Left = 5
  86. Margins.Top = 5
  87. Margins.Right = 5
  88. Margins.Bottom = 5
  89. Style = csDropDownList
  90. TabOrder = 0
  91. end
  92. object BUPack: TButton
  93. Left = 42
  94. Top = 126
  95. Width = 131
  96. Height = 44
  97. Margins.Left = 5
  98. Margins.Top = 5
  99. Margins.Right = 5
  100. Margins.Bottom = 5
  101. Caption = 'Pack'
  102. TabOrder = 1
  103. end
  104. object CBShowGrid: TCheckBox
  105. Left = 14
  106. Top = 434
  107. Width = 142
  108. Height = 30
  109. Margins.Left = 5
  110. Margins.Top = 5
  111. Margins.Right = 5
  112. Margins.Bottom = 5
  113. Caption = 'Show Grid'
  114. Checked = True
  115. State = cbChecked
  116. TabOrder = 2
  117. end
  118. object CBSortByMaterials: TCheckBox
  119. Left = 14
  120. Top = 476
  121. Width = 184
  122. Height = 30
  123. Margins.Left = 5
  124. Margins.Top = 5
  125. Margins.Right = 5
  126. Margins.Bottom = 5
  127. Caption = 'Sort by materials'
  128. Checked = True
  129. State = cbChecked
  130. TabOrder = 3
  131. end
  132. end
  133. object GLScene: TGLScene
  134. Left = 24
  135. Top = 16
  136. object LightSource: TGLLightSource
  137. ConstAttenuation = 1.000000000000000000
  138. Position.Coordinates = {000048C2000020C20000F0410000803F}
  139. SpotCutOff = 180.000000000000000000
  140. end
  141. object dcTarget: TGLDummyCube
  142. CubeSize = 1.000000000000000000
  143. object Camera: TGLCamera
  144. DepthOfView = 500.000000000000000000
  145. FocalLength = 50.000000000000000000
  146. NearPlaneBias = 0.200000002980232200
  147. TargetObject = dcTarget
  148. Position.Coordinates = {00000000000080C0000040400000803F}
  149. Direction.Coordinates = {0000803F000000000000008000000000}
  150. Up.Coordinates = {00000000000000000000803F00000000}
  151. end
  152. end
  153. object TilePlane: TGLTilePlane
  154. NoZWrite = False
  155. MaterialLibrary = GLMaterialLibrary
  156. end
  157. object DirectOpenGL: TGLDirectOpenGL
  158. UseBuildList = False
  159. OnRender = DirectOpenGLRender
  160. Blend = False
  161. end
  162. object XYZGrid: TGLXYZGrid
  163. AntiAliased = True
  164. XSamplingScale.Min = -30.000000000000000000
  165. XSamplingScale.Max = 30.000000000000000000
  166. XSamplingScale.Step = 1.000000000000000000
  167. YSamplingScale.Min = -30.000000000000000000
  168. YSamplingScale.Max = 30.000000000000000000
  169. YSamplingScale.Step = 1.000000000000000000
  170. ZSamplingScale.Min = -10.000000000000000000
  171. ZSamplingScale.Max = 10.000000000000000000
  172. ZSamplingScale.Step = 1.000000000000000000
  173. end
  174. object dcSelection: TGLDummyCube
  175. CubeSize = 1.000000000000000000
  176. object Lines: TGLLines
  177. AntiAliased = True
  178. LineColor.Color = {0000000000000000000000000000803F}
  179. LineWidth = 6.000000000000000000
  180. NodeColor.Color = {0000803F0000803F0000803F0000803F}
  181. Nodes = <
  182. item
  183. end
  184. item
  185. X = 1.000000000000000000
  186. end
  187. item
  188. X = 1.000000000000000000
  189. Y = 1.000000000000000000
  190. end
  191. item
  192. Y = 1.000000000000000000
  193. end
  194. item
  195. end>
  196. NodesAspect = lnaCube
  197. NodeSize = 0.150000005960464500
  198. Options = []
  199. end
  200. end
  201. end
  202. object GLMaterialLibrary: TGLMaterialLibrary
  203. Materials = <
  204. item
  205. Name = 'base'
  206. Tag = 0
  207. end
  208. item
  209. Name = 'blue'
  210. Tag = 0
  211. Material.FrontProperties.Diffuse.Color = {00000000000000000000003F0000803F}
  212. Material.FrontProperties.Emission.Color = {00000000000000000000003F0000803F}
  213. end
  214. item
  215. Name = 'red'
  216. Tag = 0
  217. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000003F}
  218. Material.FrontProperties.Emission.Color = {0000003F00000000000000000000803F}
  219. end
  220. item
  221. Name = 'beigemarble'
  222. Tag = 0
  223. Material.Texture.Disabled = False
  224. end
  225. item
  226. Name = 'marbletiles'
  227. Tag = 0
  228. Material.Texture.Disabled = False
  229. TextureScale.Coordinates = {0000803E0000803E0000803F00000000}
  230. end
  231. item
  232. Name = 'walkway'
  233. Tag = 0
  234. Material.Texture.Disabled = False
  235. TextureScale.Coordinates = {0000003F0000003F0000803F00000000}
  236. end>
  237. Left = 24
  238. Top = 64
  239. end
  240. object Timer1: TTimer
  241. Left = 80
  242. Top = 16
  243. end
  244. object GLCadencer1: TGLCadencer
  245. Scene = GLScene
  246. Left = 80
  247. Top = 64
  248. end
  249. end