fMultiMaterialD.dfm 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. object FormMultiMat: TFormMultiMat
  2. Left = 225
  3. Top = 115
  4. Caption = 'Multi Material'
  5. ClientHeight = 449
  6. ClientWidth = 620
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. TextHeight = 13
  16. object GLSceneViewer1: TGLSceneViewer
  17. Left = 0
  18. Top = 0
  19. Width = 620
  20. Height = 449
  21. Camera = GLCamera1
  22. Buffer.BackgroundColor = clTeal
  23. FieldOfView = 154.888351440429700000
  24. PenAsTouch = False
  25. Align = alClient
  26. OnMouseDown = GLSceneViewer1MouseDown
  27. TabOrder = 0
  28. end
  29. object GLScene1: TGLScene
  30. Left = 24
  31. Top = 8
  32. object GLDummyCube1: TGLDummyCube
  33. CubeSize = 1.000000000000000000
  34. object GLCamera1: TGLCamera
  35. DepthOfView = 100.000000000000000000
  36. FocalLength = 50.000000000000000000
  37. SceneScale = 3.000000000000000000
  38. TargetObject = GLDummyCube1
  39. Position.Coordinates = {0000803F000040400000A0C00000803F}
  40. object GLLightSource1: TGLLightSource
  41. ConstAttenuation = 1.000000000000000000
  42. SpotCutOff = 180.000000000000000000
  43. end
  44. end
  45. end
  46. object GLCube1: TGLCube
  47. Material.MaterialLibrary = GLMatLib1
  48. Material.LibMaterialName = 'MultipassMat'
  49. Scale.Coordinates = {0000003F0000003F0000003F00000000}
  50. CubeSize = {000000400000004000000040}
  51. end
  52. end
  53. object GLMatLib1: TGLMaterialLibrary
  54. Materials = <
  55. item
  56. Name = 'MultipassMat'
  57. Tag = 0
  58. Shader = GLMultiMaterialShader1
  59. end>
  60. Left = 120
  61. Top = 8
  62. end
  63. object GLMatLib2: TGLMaterialLibrary
  64. Left = 120
  65. Top = 64
  66. end
  67. object GLMultiMaterialShader1: TGLMultiMaterialShader
  68. MaterialLibrary = GLMatLib2
  69. VisibleAtDesignTime = False
  70. ShaderStyle = ssReplace
  71. Left = 240
  72. Top = 64
  73. end
  74. object GLCadencer1: TGLCadencer
  75. Scene = GLScene1
  76. OnProgress = GLCadencer1Progress
  77. Left = 24
  78. Top = 64
  79. end
  80. object GLTexCombineShader1: TGLTexCombineShader
  81. Combiners.Strings = (
  82. 'Tex0:=PrimaryColor dot3 Tex0;')
  83. DesignTimeEnabled = False
  84. Left = 240
  85. Top = 8
  86. end
  87. object GLSimpleNavigation1: TGLSimpleNavigation
  88. Form = Owner
  89. GLSceneViewer = GLSceneViewer1
  90. FormCaption = 'Multi Material - %FPS'
  91. KeyCombinations = <
  92. item
  93. ShiftState = [ssLeft, ssRight]
  94. Action = snaZoom
  95. end
  96. item
  97. ShiftState = [ssLeft]
  98. Action = snaMoveAroundTarget
  99. end
  100. item
  101. ShiftState = [ssRight]
  102. Action = snaMoveAroundTarget
  103. end>
  104. Left = 200
  105. Top = 152
  106. end
  107. end