Unit1.dfm 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. object Form1: TForm1
  2. Left = 192
  3. Top = 114
  4. Caption = 'Cel Shading'
  5. ClientHeight = 420
  6. ClientWidth = 480
  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. Position = poScreenCenter
  15. PixelsPerInch = 96
  16. TextHeight = 13
  17. object GLSceneViewer1: TGLSceneViewer
  18. Left = 0
  19. Top = 0
  20. Width = 480
  21. Height = 420
  22. Camera = GLCamera1
  23. FieldOfView = 153.215011596679700000
  24. Align = alClient
  25. OnMouseDown = GLSceneViewer1MouseDown
  26. OnMouseMove = GLSceneViewer1MouseMove
  27. TabOrder = 0
  28. end
  29. object GLScene1: TGLScene
  30. Left = 40
  31. Top = 8
  32. object GLDummyCube1: TGLDummyCube
  33. CubeSize = 1.000000000000000000
  34. object GLCamera1: TGLCamera
  35. DepthOfView = 100.000000000000000000
  36. FocalLength = 50.000000000000000000
  37. TargetObject = GLDummyCube1
  38. Position.Coordinates = {00000000000000400000A0400000803F}
  39. Direction.Coordinates = {00000000000000000000803F00000000}
  40. Up.Coordinates = {000000000000803F0000008000000000}
  41. object GLLightSource1: TGLLightSource
  42. ConstAttenuation = 1.000000000000000000
  43. LightStyle = lsOmni
  44. SpotCutOff = 180.000000000000000000
  45. end
  46. end
  47. end
  48. object GLActor1: TGLActor
  49. Material.MaterialLibrary = GLMaterialLibrary1
  50. Material.LibMaterialName = 'TexturedCellMat'
  51. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  52. PitchAngle = 90.000000000000000000
  53. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  54. Interval = 100
  55. end
  56. object GLTorus1: TGLTorus
  57. Material.MaterialLibrary = GLMaterialLibrary1
  58. Material.LibMaterialName = 'ColoredCelMat'
  59. Direction.Coordinates = {000000000000803F0000000000000000}
  60. Up.Coordinates = {00000000000000000000803F00000000}
  61. MajorRadius = 2.500000000000000000
  62. MinorRadius = 0.250000000000000000
  63. StopAngle = 360.000000000000000000
  64. Parts = [toSides, toStartDisk, toStopDisk]
  65. end
  66. end
  67. object GLMaterialLibrary1: TGLMaterialLibrary
  68. Materials = <
  69. item
  70. Name = 'TexturedCellMat'
  71. Tag = 0
  72. Material.FrontProperties.Emission.Color = {0000803F0000003F000000000000803F}
  73. Material.MaterialOptions = [moNoLighting]
  74. Material.Texture.Disabled = False
  75. Shader = GLTexturedCelShader
  76. end
  77. item
  78. Name = 'ColoredCelMat'
  79. Tag = 0
  80. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  81. Shader = GLColoredCelShader
  82. end>
  83. Left = 136
  84. Top = 8
  85. end
  86. object GLCadencer1: TGLCadencer
  87. Scene = GLScene1
  88. OnProgress = GLCadencer1Progress
  89. Left = 32
  90. Top = 56
  91. end
  92. object AsyncTimer1: TGLAsyncTimer
  93. Enabled = True
  94. OnTimer = AsyncTimer1Timer
  95. ThreadPriority = tpNormal
  96. Left = 304
  97. Top = 8
  98. end
  99. object GLTexturedCelShader: TGLCelShader
  100. CelShaderOptions = [csoOutlines, csoTextured]
  101. OutlineWidth = 3.000000000000000000
  102. Left = 136
  103. Top = 56
  104. end
  105. object GLColoredCelShader: TGLCelShader
  106. CelShaderOptions = [csoOutlines]
  107. OutlineWidth = 3.000000000000000000
  108. Left = 304
  109. Top = 56
  110. end
  111. end