unit1.dfm
来自「delphi 最好的3D控件GLScene_Demos」· DFM 代码 · 共 97 行
DFM
97 行
object Form1: TForm1
Left = 234
Top = 106
Width = 352
Height = 246
BorderWidth = 5
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnResize = FormResize
PixelsPerInch = 96
TextHeight = 13
object GLSceneViewer1: TGLSceneViewer
Left = 0
Top = 0
Width = 334
Height = 207
Camera = GLCamera1
Buffer.BackgroundColor = clBlack
Buffer.DepthTest = False
Align = alClient
end
object GLScene1: TGLScene
ObjectsSorting = osRenderFarthestFirst
Left = 8
Top = 24
object DummyCube1: TGLDummyCube
ObjectsSorting = osNone
CubeSize = 1
object Sprite2: TGLSprite
Position.Coordinates = {0000A04000000000000000000000803F}
Material.MaterialLibrary = GLMaterialLibrary1
Material.LibMaterialName = 'BlueBall'
Width = 2
Height = 2
NoZWrite = True
end
end
object Sprite1: TGLSprite
Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Emission.Color = {0000803F0000803F000000000000803F}
Material.BlendingMode = bmAdditive
Material.Texture.ImageClassName = 'TGLPicFileImage'
Material.Texture.Image.PictureFileName = '..\..\media\Flare1.bmp'
Material.Texture.MinFilter = miLinear
Material.Texture.TextureMode = tmModulate
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
Material.Texture.Disabled = False
Width = 4
Height = 4
NoZWrite = False
end
object GLCamera1: TGLCamera
DepthOfView = 100
FocalLength = 50
TargetObject = DummyCube1
Position.Coordinates = {000020410000A040000020410000803F}
end
end
object GLMaterialLibrary1: TGLMaterialLibrary
Materials = <
item
Name = 'BlueBall'
Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Emission.Color = {F3F2F23EF3F2F23E0000803F0000803F}
Material.BlendingMode = bmAdditive
Material.Texture.MinFilter = miLinear
Material.Texture.TextureMode = tmModulate
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
Material.Texture.Disabled = False
Tag = 0
end>
Left = 8
Top = 64
end
object Timer1: TTimer
Interval = 4000
OnTimer = Timer1Timer
Left = 8
Top = 104
end
object GLCadencer1: TGLCadencer
Scene = GLScene1
OnProgress = GLCadencer1Progress
Left = 48
Top = 24
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?