ProjectTextureFm.dfm 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. object Form1: TForm1
  2. Left = 440
  3. Top = 264
  4. Caption = 'GLSL Projected Texture'
  5. ClientHeight = 433
  6. ClientWidth = 640
  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. Visible = True
  15. WindowState = wsMaximized
  16. OnCreate = FormCreate
  17. OnMouseWheel = FormMouseWheel
  18. DesignSize = (
  19. 640
  20. 433)
  21. PixelsPerInch = 96
  22. TextHeight = 13
  23. object GLSceneViewer1: TGLSceneViewer
  24. Left = 8
  25. Top = 8
  26. Width = 617
  27. Height = 430
  28. Camera = GLCamera1
  29. Buffer.BackgroundColor = 3080192
  30. Buffer.Lighting = False
  31. Buffer.AntiAliasing = aaNone
  32. FieldOfView = 153.816207885742200000
  33. PenAsTouch = False
  34. Anchors = [akLeft, akTop, akRight, akBottom]
  35. OnMouseDown = GLSceneViewer1MouseDown
  36. OnMouseMove = GLSceneViewer1MouseMove
  37. TabOrder = 0
  38. end
  39. object GLScene1: TGLScene
  40. Left = 80
  41. Top = 24
  42. object GLSLProjectedTextures1: TGLSLProjectedTextures
  43. Emitters = <
  44. item
  45. Emitter = GLSLTextureEmitter1
  46. end
  47. item
  48. Emitter = GLSLTextureEmitter2
  49. end>
  50. Ambient.Color = {0000003F0000003F0000003F0000003F}
  51. UseLightmaps = True
  52. object GLFreeForm1: TGLFreeForm
  53. MaterialLibrary = GLMaterialLibrary1
  54. LightmapLibrary = GLMaterialLibrary1
  55. end
  56. object GLCube1: TGLCube
  57. Position.Coordinates = {000000000000A0400000F0410000803F}
  58. CubeSize = {000020410000204100002041}
  59. end
  60. end
  61. object GLDummyCube3: TGLDummyCube
  62. CubeSize = 1.000000000000000000
  63. object GLSLTextureEmitter2: TGLSLTextureEmitter
  64. FOV = 50.000000000000000000
  65. Aspect = 2.000000000000000000
  66. Style = ptsLight
  67. Attenuation = 100.000000000000000000
  68. Brightness = 1.299999952316284000
  69. Color.Color = {0000803F0000803F0000803F0000803F}
  70. UseAttenuation = False
  71. UseQuadraticAttenuation = False
  72. AllowReverseProjection = False
  73. Position.Coordinates = {000000000000A040000000000000803F}
  74. ShowAxes = True
  75. end
  76. object GLArrowLine1: TGLArrowLine
  77. Direction.Coordinates = {00000000000080BF2EBD3BB300000000}
  78. PitchAngle = -90.000000000000000000
  79. Position.Coordinates = {0000A0C10000A0410000A0C10000803F}
  80. Up.Coordinates = {000000002EBD3BB30000803F00000000}
  81. BottomRadius = 1.000000000000000000
  82. Height = 10.000000000000000000
  83. TopRadius = 1.000000000000000000
  84. TopArrowHeadHeight = 5.000000000000000000
  85. TopArrowHeadRadius = 2.000000000000000000
  86. BottomArrowHeadHeight = 5.000000000000000000
  87. BottomArrowHeadRadius = 2.000000000000000000
  88. object GLSLTextureEmitter1: TGLSLTextureEmitter
  89. FOV = 25.000000000000000000
  90. Aspect = 1.000000000000000000
  91. Style = ptsShadow
  92. Attenuation = 100.000000000000000000
  93. Brightness = 0.800000011920929000
  94. Color.Color = {0000803F0000803F0000803F0000803F}
  95. UseAttenuation = False
  96. UseQuadraticAttenuation = False
  97. AllowReverseProjection = False
  98. Position.Coordinates = {0000000000000000000020C10000803F}
  99. ShowAxes = True
  100. end
  101. end
  102. end
  103. object GLCamera1: TGLCamera
  104. DepthOfView = 1000.000000000000000000
  105. FocalLength = 50.000000000000000000
  106. NearPlaneBias = 0.001000000047497451
  107. TargetObject = GLDummyCube3
  108. OnCustomPerspective = GLCamera1CustomPerspective
  109. Position.Coordinates = {000048C200002041000048C20000803F}
  110. object GLLightSource2: TGLLightSource
  111. ConstAttenuation = 1.000000000000000000
  112. QuadraticAttenuation = 0.001000000047497451
  113. Specular.Color = {0000803F0000803F0000803F0000803F}
  114. SpotCutOff = 180.000000000000000000
  115. end
  116. end
  117. end
  118. object GLCadencer1: TGLCadencer
  119. Scene = GLScene1
  120. OnProgress = GLCadencer1Progress
  121. Left = 16
  122. Top = 24
  123. end
  124. object Timer1: TTimer
  125. OnTimer = Timer1Timer
  126. Left = 112
  127. Top = 24
  128. end
  129. object GLMaterialLibrary1: TGLMaterialLibrary
  130. Materials = <
  131. item
  132. Name = 'LibMaterial'
  133. Tag = 0
  134. end>
  135. Left = 48
  136. Top = 24
  137. end
  138. end