fPhongC.dfm 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. object Form1: TForm1
  2. Left = 264
  3. Top = 142
  4. Caption = 'Phong'
  5. ClientHeight = 402
  6. ClientWidth = 629
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -10
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. DesignSize = (
  15. 629
  16. 402)
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 629
  22. Height = 402
  23. Margins.Left = 2
  24. Margins.Top = 2
  25. Margins.Right = 2
  26. Margins.Bottom = 2
  27. Camera = GLCamera1
  28. FieldOfView = 152.061691284179700000
  29. PenAsTouch = False
  30. Align = alClient
  31. OnMouseDown = GLSceneViewer1MouseDown
  32. OnMouseMove = GLSceneViewer1MouseMove
  33. TabOrder = 0
  34. ExplicitWidth = 522
  35. ExplicitHeight = 403
  36. end
  37. object CheckBox1: TCheckBox
  38. Left = 457
  39. Top = 8
  40. Width = 65
  41. Height = 17
  42. Margins.Left = 2
  43. Margins.Top = 2
  44. Margins.Right = 2
  45. Margins.Bottom = 2
  46. Anchors = [akTop, akRight]
  47. Caption = 'Phong Shader'
  48. TabOrder = 1
  49. OnClick = CheckBox1Click
  50. ExplicitLeft = 307
  51. end
  52. object GLScene1: TGLScene
  53. Left = 32
  54. Top = 8
  55. object GLDummyCube1: TGLDummyCube
  56. CubeSize = 1.000000000000000000
  57. object GLCamera1: TGLCamera
  58. DepthOfView = 100.000000000000000000
  59. FocalLength = 50.000000000000000000
  60. TargetObject = GLDummyCube1
  61. Position.Coordinates = {0000803F00000040000040400000803F}
  62. object GLLightSource1: TGLLightSource
  63. ConstAttenuation = 1.000000000000000000
  64. Specular.Color = {0000803F0000803F0000803F0000803F}
  65. SpotCutOff = 180.000000000000000000
  66. end
  67. end
  68. end
  69. object GLTeapot1: TGLTeapot
  70. Material.MaterialLibrary = GLMaterialLibrary1
  71. Material.LibMaterialName = 'phong'
  72. Scale.Coordinates = {00004040000040400000404000000000}
  73. end
  74. end
  75. object GLMaterialLibrary1: TGLMaterialLibrary
  76. Materials = <
  77. item
  78. Name = 'phong'
  79. Tag = 0
  80. Material.FrontProperties.Shininess = 16
  81. Material.FrontProperties.Specular.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000803F}
  82. Shader = GLPhongShader1
  83. end>
  84. Left = 32
  85. Top = 144
  86. end
  87. object GLPhongShader1: TGLPhongShader
  88. Enabled = False
  89. Left = 32
  90. Top = 216
  91. end
  92. object GLCadencer1: TGLCadencer
  93. Scene = GLScene1
  94. OnProgress = GLCadencer1Progress
  95. Left = 32
  96. Top = 72
  97. end
  98. object AsyncTimer1: TGLAsyncTimer
  99. Enabled = True
  100. OnTimer = AsyncTimer1Timer
  101. ThreadPriority = tpHigher
  102. Left = 416
  103. Top = 8
  104. end
  105. end