fdDisttex.dfm 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. object Form1: TForm1
  2. Left = 375
  3. Top = 237
  4. Caption = 'Cg Texture Distortion'
  5. ClientHeight = 613
  6. ClientWidth = 959
  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 viewer: TGLSceneViewer
  17. Left = 0
  18. Top = 0
  19. Width = 959
  20. Height = 613
  21. Camera = GLCamera1
  22. Buffer.BackgroundColor = clBlack
  23. FieldOfView = 161.469665527343800000
  24. PenAsTouch = False
  25. Align = alClient
  26. OnMouseMove = viewerMouseMove
  27. TabOrder = 0
  28. end
  29. object GLScene1: TGLScene
  30. Left = 56
  31. Top = 24
  32. object GLLightSource1: TGLLightSource
  33. ConstAttenuation = 1.000000000000000000
  34. Diffuse.Color = {23DB793F39B4483FF0A7463F0000803F}
  35. Position.Coordinates = {000000C00000A0400000A0400000803F}
  36. SpotCutOff = 180.000000000000000000
  37. end
  38. object backGround: TGLPlane
  39. Material.MaterialLibrary = matLib
  40. Material.LibMaterialName = 'backGroundFilter'
  41. Position.Coordinates = {00000000000000000000A0C00000803F}
  42. Scale.Coordinates = {000040413333E3400000803F00000000}
  43. Height = 1.000000000000000000
  44. Width = 1.000000000000000000
  45. end
  46. object GLCube1: TGLCube
  47. end
  48. object GLDirectOpenGL1: TGLDirectOpenGL
  49. UseBuildList = False
  50. OnRender = GLDirectOpenGL1Render
  51. Blend = False
  52. end
  53. object GLPlane1: TGLPlane
  54. Material.MaterialLibrary = matLib
  55. Material.LibMaterialName = 'filter'
  56. Position.Coordinates = {0000000000000000CDCC8C3F0000803F}
  57. Scale.Coordinates = {48E12A400AD703400000004000000000}
  58. Height = 1.000000000000000000
  59. Width = 1.000000000000000000
  60. end
  61. object GLCamera1: TGLCamera
  62. DepthOfView = 100.000000000000000000
  63. FocalLength = 50.000000000000000000
  64. TargetObject = GLCube1
  65. Position.Coordinates = {0000000000000000000000400000803F}
  66. end
  67. end
  68. object matLib: TGLMaterialLibrary
  69. Materials = <
  70. item
  71. Name = 'filter'
  72. Tag = 0
  73. Shader = filterShader
  74. end
  75. item
  76. Name = 'backGroundFilter'
  77. Tag = 0
  78. Material.Texture.TextureMode = tmModulate
  79. Material.Texture.Disabled = False
  80. TextureScale.Coordinates = {000020400000C03F0000803F00000000}
  81. end>
  82. Left = 192
  83. Top = 24
  84. end
  85. object GLCadencer1: TGLCadencer
  86. Scene = GLScene1
  87. SleepLength = 20
  88. OnProgress = GLCadencer1Progress
  89. Left = 192
  90. Top = 104
  91. end
  92. object filterShader: TCgShader
  93. VertexProgram.OnApply = filterShaderApplyVP
  94. FragmentProgram.OnApply = filterShaderApplyFP
  95. OnApplyVP = filterShaderApplyVP
  96. OnApplyFP = filterShaderApplyFP
  97. Left = 56
  98. Top = 112
  99. end
  100. end