📄 unit1.dfm
字号:
object Form1: TForm1
Left = 215
Top = 104
Width = 498
Height = 318
BorderWidth = 3
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnResize = FormResize
PixelsPerInch = 96
TextHeight = 13
object GLSceneViewer1: TGLSceneViewer
Left = 0
Top = 0
Width = 379
Height = 283
Camera = GLCamera1
Buffer.BackgroundColor = clBlack
Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
Align = alClient
OnMouseDown = GLSceneViewer1MouseDown
OnMouseMove = GLSceneViewer1MouseMove
end
object Panel1: TPanel
Left = 379
Top = 0
Width = 105
Height = 283
Align = alRight
BevelInner = bvLowered
BevelOuter = bvNone
BorderWidth = 1
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
TabOrder = 1
object Label1: TLabel
Left = 24
Top = 8
Width = 59
Height = 24
Caption = 'Mirror'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -21
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
end
object CBOpaque: TCheckBox
Left = 8
Top = 56
Width = 73
Height = 17
Caption = 'Opaque'
TabOrder = 0
OnClick = CBOpaqueClick
end
object CBStencil: TCheckBox
Left = 8
Top = 88
Width = 89
Height = 17
Caption = 'Use Stencil'
Checked = True
State = cbChecked
TabOrder = 1
OnClick = CBStencilClick
end
object CBClearZ: TCheckBox
Left = 8
Top = 120
Width = 90
Height = 17
Caption = 'ClearZBuffer'
Checked = True
State = cbChecked
TabOrder = 2
OnClick = CBClearZClick
end
object CBPlaneClip: TCheckBox
Left = 8
Top = 152
Width = 80
Height = 17
Caption = 'Plane Clip'
Checked = True
State = cbChecked
TabOrder = 3
OnClick = CBPlaneClipClick
end
end
object GLScene1: TGLScene
ObjectsSorting = osNone
Left = 8
Top = 8
object GLLightSource1: TGLLightSource
Ambient.Color = {0000003F0000003F0000003F0000803F}
ConstAttenuation = 1
Position.Coordinates = {0000C8420000B4420000A0420000803F}
SpotCutOff = 180
end
object DCNonReflectingStuff: TGLDummyCube
CubeSize = 1
object Cylinder: TGLTorus
ObjectsSorting = osNone
Direction.Coordinates = {000000000000803F0000000000000000}
Position.Coordinates = {00000000000080BF000000000000803F}
Up.Coordinates = {E9DC72BF000000009BE8A13E00000000}
Hint = '0'
Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Diffuse.Color = {000000008180003F000000000000803F}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
MajorRadius = 4
MinorRadius = 0.5
Rings = 24
Sides = 12
object Cylinder2: TGLCylinder
Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
Material.FrontProperties.Diffuse.Color = {000000008180003F000000000000803F}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
BottomRadius = 0.200000002980232
Height = 7
Slices = 12
Stacks = 1
TopRadius = 0.200000002980232
end
end
end
object ReflectingObjects: TGLDummyCube
ObjectsSorting = osNone
CubeSize = 1
object CylinderThroughMirror: TGLCylinder
Position.Coordinates = {0000000000000000000000C00000803F}
Up.Coordinates = {F404353FF204353F0000000000000000}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
BottomRadius = 0.200000002980232
Height = 3
Slices = 12
Stacks = 1
TopRadius = 0.200000002980232
end
object Sphere: TGLSphere
ObjectsSorting = osNone
Position.Coordinates = {000000000000803F000000000000803F}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
Radius = 0.5
Slices = 12
Stacks = 6
Top = 0
TopCap = ctCenter
object Cylinder1: TGLCylinder
Direction.Coordinates = {000000000000803F2EBD3BB300000000}
Position.Coordinates = {00000000CDCCCCBD6666663F0000803F}
Up.Coordinates = {000000002EBD3BB3000080BF00000000}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
BottomRadius = 0.100000001490116
Height = 1
Slices = 8
Stacks = 1
TopRadius = 0.100000001490116
end
object Teapot1: TGLTeapot
Position.Coordinates = {000000000000003F000000000000803F}
Scale.Coordinates = {00000040000000400000004000000000}
Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
end
end
end
object GLMirror: TGLMirror
ObjectsSorting = osNone
Direction.Coordinates = {000000800000803F0000000000000000}
Up.Coordinates = {00000000000000000000803F00000000}
Material.FrontProperties.Ambient.Color = {00000000000000000000803F0000803F}
Material.FrontProperties.Diffuse.Color = {0000803F0000803F0000803F9A99993E}
Material.BlendingMode = bmTransparency
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
MirrorObject = ReflectingObjects
MirrorOptions = [moUseStencil, moMirrorPlaneClip, moClearZBuffer]
Height = 6
Width = 6
object Cadre: TGLExtrusionSolid
Direction.Coordinates = {00000000000000800000803F00000000}
Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
Contours = <
item
Nodes = <
item
X = 3.09999990463257
Y = -3.09999990463257
end
item
X = 3.09999990463257
Y = 3.09999990463257
end
item
X = -3.09999990463257
Y = 3.09999990463257
end
item
X = -3.09999990463257
Y = -3.09999990463257
end>
end
item
Nodes = <
item
X = 2.90000009536743
Y = 2.90000009536743
end
item
X = -2.90000009536743
Y = 2.90000009536743
end
item
X = -2.90000009536743
Y = -2.90000009536743
end
item
X = 2.90000009536743
Y = -2.90000009536743
end>
end>
Parts = [espOutside, espStartPolygon, espStopPolygon]
Height = 0.100000001490116
MinSmoothAngle = 5
end
end
object GLCamera1: TGLCamera
DepthOfView = 100
FocalLength = 50
TargetObject = ReflectingObjects
Position.Coordinates = {0000A0400000C040000010410000803F}
Left = 192
Top = 128
end
end
object Timer1: TTimer
OnTimer = Timer1Timer
Left = 40
Top = 8
end
object GLCadencer1: TGLCadencer
Scene = GLScene1
MaxDeltaTime = 0.05
OnProgress = GLCadencer1Progress
Left = 8
Top = 40
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -