fMultiTexture.dfm 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. object Form1: TForm1
  2. Left = 144
  3. Top = 81
  4. BorderStyle = bsSingle
  5. Caption = 'Multi Texture'
  6. ClientHeight = 409
  7. ClientWidth = 559
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'MS Sans Serif'
  13. Font.Style = []
  14. OldCreateOrder = False
  15. Position = poScreenCenter
  16. OnCreate = FormCreate
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object Image1: TImage
  20. Left = 416
  21. Top = 56
  22. Width = 128
  23. Height = 128
  24. Stretch = True
  25. OnClick = Image1Click
  26. end
  27. object Image2: TImage
  28. Left = 416
  29. Top = 208
  30. Width = 128
  31. Height = 128
  32. Stretch = True
  33. OnClick = Image2Click
  34. end
  35. object Label1: TLabel
  36. Left = 416
  37. Top = 40
  38. Width = 69
  39. Height = 13
  40. Caption = 'Texture Map 1'
  41. end
  42. object Label2: TLabel
  43. Left = 416
  44. Top = 192
  45. Width = 69
  46. Height = 13
  47. Caption = 'Texture Map 2'
  48. end
  49. object Label3: TLabel
  50. Left = 416
  51. Top = 368
  52. Width = 60
  53. Height = 13
  54. Caption = 'Map 2 Scale'
  55. end
  56. object Label4: TLabel
  57. Left = 432
  58. Top = 8
  59. Width = 93
  60. Height = 19
  61. Caption = 'MultiTexture'
  62. Font.Charset = ANSI_CHARSET
  63. Font.Color = clWindowText
  64. Font.Height = -16
  65. Font.Name = 'Arial'
  66. Font.Style = [fsBold]
  67. ParentFont = False
  68. end
  69. object GLSceneViewer1: TGLSceneViewer
  70. Left = 8
  71. Top = 8
  72. Width = 393
  73. Height = 393
  74. Camera = GLCamera1
  75. FieldOfView = 151.447769165039100000
  76. PenAsTouch = False
  77. Enabled = False
  78. TabOrder = 0
  79. end
  80. object TrackBar1: TTrackBar
  81. Left = 416
  82. Top = 384
  83. Width = 126
  84. Height = 25
  85. Max = 30
  86. Min = 5
  87. Position = 10
  88. TabOrder = 1
  89. ThumbLength = 10
  90. OnChange = TrackBar1Change
  91. end
  92. object CBClampTex2: TCheckBox
  93. Left = 416
  94. Top = 344
  95. Width = 97
  96. Height = 17
  97. Caption = 'Clamp Texture 2'
  98. TabOrder = 2
  99. OnClick = CBClampTex2Click
  100. end
  101. object GLScene1: TGLScene
  102. Left = 48
  103. Top = 32
  104. object Plane1: TGLPlane
  105. Material.MaterialLibrary = GLMaterialLibrary1
  106. Material.LibMaterialName = 'Base'
  107. Position.Coordinates = {0000000000000000000080BF0000803F}
  108. Height = 1.000000000000000000
  109. Width = 1.000000000000000000
  110. end
  111. object GLCamera1: TGLCamera
  112. DepthOfView = 100.000000000000000000
  113. FocalLength = 50.000000000000000000
  114. Left = 192
  115. Top = 192
  116. end
  117. end
  118. object GLMaterialLibrary1: TGLMaterialLibrary
  119. Materials = <
  120. item
  121. Name = 'Base'
  122. Tag = 0
  123. Material.Texture.TextureMode = tmReplace
  124. Material.Texture.Disabled = False
  125. Texture2Name = 'Second'
  126. end
  127. item
  128. Name = 'Second'
  129. Tag = 0
  130. Material.Texture.TextureMode = tmModulate
  131. Material.Texture.Disabled = False
  132. end>
  133. TexturePaths = '..\..\..\..\media\'
  134. Left = 152
  135. Top = 32
  136. end
  137. object OpenPictureDialog1: TOpenPictureDialog
  138. Left = 264
  139. Top = 32
  140. end
  141. end