DwsShaderFm.dfm 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. object Form1: TForm1
  2. Left = 192
  3. Top = 107
  4. Width = 790
  5. Height = 399
  6. Caption = 'Form1'
  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. OldCreateOrder = False
  14. OnCreate = FormCreate
  15. PixelsPerInch = 96
  16. TextHeight = 13
  17. object GLSceneViewer1: TGLSceneViewer
  18. Left = 0
  19. Top = 0
  20. Width = 416
  21. Height = 372
  22. Camera = GLCamera1
  23. Align = alClient
  24. OnMouseDown = GLSceneViewer1MouseDown
  25. OnMouseMove = GLSceneViewer1MouseMove
  26. end
  27. object Panel1: TPanel
  28. Left = 416
  29. Top = 0
  30. Width = 366
  31. Height = 372
  32. Align = alRight
  33. Constraints.MinHeight = 372
  34. TabOrder = 1
  35. object Label1: TLabel
  36. Left = 8
  37. Top = 40
  38. Width = 40
  39. Height = 13
  40. Caption = 'DoApply'
  41. end
  42. object ShaderScript: TMemo
  43. Left = 8
  44. Top = 56
  45. Width = 349
  46. Height = 305
  47. Font.Charset = DEFAULT_CHARSET
  48. Font.Color = clWindowText
  49. Font.Height = -11
  50. Font.Name = 'Courier New'
  51. Font.Style = []
  52. ParentFont = False
  53. ScrollBars = ssBoth
  54. TabOrder = 0
  55. WordWrap = False
  56. end
  57. object Recompile: TButton
  58. Left = 8
  59. Top = 8
  60. Width = 75
  61. Height = 25
  62. Caption = 'Recompile'
  63. TabOrder = 1
  64. OnClick = RecompileClick
  65. end
  66. object Enabled: TCheckBox
  67. Left = 96
  68. Top = 8
  69. Width = 65
  70. Height = 17
  71. Caption = 'Enabled'
  72. Checked = True
  73. State = cbChecked
  74. TabOrder = 2
  75. OnClick = EnabledClick
  76. end
  77. end
  78. object GLScene1: TGLScene
  79. Left = 8
  80. Top = 8
  81. object GLDummyCube1: TGLDummyCube
  82. CubeSize = 1.000000000000000000
  83. object GLCamera1: TGLCamera
  84. DepthOfView = 100.000000000000000000
  85. FocalLength = 50.000000000000000000
  86. TargetObject = GLDummyCube1
  87. Position.Coordinates = {0000803F0000803F000000400000803F}
  88. object GLLightSource1: TGLLightSource
  89. ConstAttenuation = 1.000000000000000000
  90. SpotCutOff = 180.000000000000000000
  91. end
  92. end
  93. end
  94. object GLCube1: TGLCube
  95. Material.MaterialLibrary = GLMaterialLibrary1
  96. Material.LibMaterialName = 'Shader'
  97. Material.TextureEx = <>
  98. end
  99. end
  100. object dws2OpenGLxUnit1: Tdws2OpenGLxUnit
  101. Script = GLDelphiWebScriptII1
  102. Left = 182
  103. Top = 8
  104. end
  105. object GLUserShader1: TGLUserShader
  106. OnDoApply = GLUserShader1DoApply
  107. OnDoUnApply = GLUserShader1DoUnApply
  108. ShaderStyle = ssLowLevel
  109. Left = 72
  110. Top = 8
  111. end
  112. object GLCadencer1: TGLCadencer
  113. Scene = GLScene1
  114. OnProgress = GLCadencer1Progress
  115. Left = 8
  116. Top = 40
  117. end
  118. object GLMaterialLibrary1: TGLMaterialLibrary
  119. Materials = <
  120. item
  121. Name = 'Shader'
  122. Material.TextureEx = <>
  123. Tag = 0
  124. Shader = GLUserShader1
  125. end>
  126. Left = 40
  127. Top = 8
  128. end
  129. object dws2VectorGeometryUnit1: Tdws2VectorGeometryUnit
  130. Script = GLDelphiWebScriptII1
  131. Left = 152
  132. Top = 8
  133. end
  134. object AsyncTimer1: TGLAsyncTimer
  135. Enabled = True
  136. OnTimer = AsyncTimer1Timer
  137. ThreadPriority = tpHigher
  138. Left = 40
  139. Top = 40
  140. end
  141. object GLDelphiWebScriptII1: TGLDelphiWebScriptII
  142. Config.CompilerOptions = []
  143. Config.MaxDataSize = 0
  144. Config.Timeout = 0
  145. Left = 120
  146. Top = 8
  147. end
  148. object GLScriptLibrary1: TGLScriptLibrary
  149. Left = 120
  150. Top = 40
  151. ScriptsData = {
  152. 0201060D54474C536372697074445753320200060C5368616465725363726970
  153. 7402000C6C0200002F2F2052656E6465727320776974682072656420666C6174
  154. 2073686164656420706F6C79676F6E7320616E640D0A2F2F206120626C756520
  155. 776972656672616D65206F75746C696E650D0A0D0A70726F6365647572652044
  156. 6F4170706C793B0D0A626567696E0D0A2020676C507573684174747269622847
  157. 4C5F414C4C5F4154545249425F42495453293B0D0A2020676C456E61626C6528
  158. 474C5F434F4C4F525F4D4154455249414C293B0D0A2020676C53686164654D6F
  159. 64656C28474C5F464C4154293B0D0A2020676C436F6C6F72336628312C302C30
  160. 293B0D0A656E643B0D0A0D0A66756E6374696F6E20446F556E4170706C792850
  161. 617373203A20496E746567657229203A20426F6F6C65616E3B0D0A626567696E
  162. 0D0A2020526573756C743A3D46616C73653B0D0A202063617365205061737320
  163. 6F660D0A0D0A2020202031203A20626567696E0D0A202020202020676C446973
  164. 61626C6528474C5F4C49474854494E47293B0D0A202020202020676C44697361
  165. 626C6528474C5F434F4C4F525F4D4154455249414C293B0D0A20202020202067
  166. 6C44697361626C6528474C5F424C454E44293B0D0A202020202020676C446570
  167. 746846756E6328474C5F4C455155414C293B0D0A202020202020676C506F6C79
  168. 676F6E4D6F646528474C5F46524F4E542C20474C5F4C494E45293B0D0A202020
  169. 202020676C4C696E6557696474682833293B0D0A202020202020676C436F6C6F
  170. 72336628302C302C31293B0D0A202020202020526573756C743A3D547275653B
  171. 0D0A20202020656E643B0D0A0D0A2020202032203A20676C506F704174747269
  172. 623B0D0A0D0A2020656E643B0D0A656E643B0D0A062044575332207363726970
  173. 7420696E2061206D6174657269616C2073686164657202000614474C44656C70
  174. 6869576562536372697074494931}
  175. end
  176. end