Unit1.dfm 5.9 KB

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