Unit1.dfm 2.5 KB

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