123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- object Form1: TForm1
- Left = 147
- Top = 156
- Caption = 'Mirror'
- ClientHeight = 387
- ClientWidth = 669
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- WindowState = wsMaximized
- OnMouseWheel = FormMouseWheel
- OnResize = FormResize
- PixelsPerInch = 96
- TextHeight = 13
- object Panel1: TPanel
- Left = 484
- Top = 0
- Width = 185
- Height = 387
- Align = alRight
- TabOrder = 0
- object LabelFPS: TLabel
- Left = 32
- Top = 16
- Width = 20
- Height = 13
- Caption = 'FPS'
- 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 GLSceneViewer1: TGLSceneViewer
- Left = 0
- Top = 0
- Width = 484
- Height = 387
- Camera = GLCamera1
- Buffer.BackgroundColor = clTeal
- Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
- FieldOfView = 151.023590087890600000
- Align = alClient
- OnMouseDown = GLSceneViewer1MouseDown
- OnMouseMove = GLSceneViewer1MouseMove
- TabOrder = 1
- end
- object GLScene1: TGLScene
- Left = 32
- Top = 24
- object GLLightSource1: TGLLightSource
- Ambient.Color = {0000003F0000003F0000003F0000803F}
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {0000C8420000B4420000A0420000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLMirror1: TGLMirror
- Material.FrontProperties.Ambient.Color = {00000000000000000000803F0000803F}
- Material.FrontProperties.Diffuse.Color = {0000803F0000803F0000803FBE9F9A3E}
- Material.BlendingMode = bmTransparency
- Material.Texture.ImageClassName = 'TGLBlankImage'
- Material.Texture.Image.Width = 64
- Material.Texture.Image.Height = 64
- Material.Texture.Image.ColorFormat = 6408
- Material.Texture.MagFilter = maNearest
- Material.Texture.MinFilter = miNearest
- Material.Texture.Compression = tcNone
- ObjectsSorting = osNone
- Direction.Coordinates = {000000000000803F0000008000000000}
- Up.Coordinates = {00000000000000000000803F00000000}
- MirrorObject = ReflectingObjects
- MirrorOptions = [moUseStencil, moMirrorPlaneClip, moClearZBuffer]
- Height = 6.000000000000000000
- Width = 6.000000000000000000
- Radius = 1.000000000000000000
- object Cadre: TGLExtrusionSolid
- Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
- Contours = <
- item
- Nodes = <
- item
- X = 3.099999904632568000
- Y = 3.099999904632568000
- end
- item
- X = -3.099999904632568000
- Y = 3.099999904632568000
- end
- item
- X = -3.099999904632568000
- Y = -3.099999904632568000
- end
- item
- X = 3.099999904632568000
- Y = -3.099999904632568000
- end>
- end
- item
- Nodes = <
- item
- X = 2.900000095367432000
- Y = 2.900000095367432000
- end
- item
- X = -2.900000095367432000
- Y = 2.900000095367432000
- end
- item
- X = -2.900000095367432000
- Y = -2.900000095367432000
- end
- item
- X = 2.900000095367432000
- Y = -2.900000095367432000
- end>
- end>
- Parts = [espOutside, espStartPolygon, espStopPolygon]
- Height = 0.100000001490116100
- MinSmoothAngle = 5.000000000000000000
- end
- end
- object ReflectingObjects: TGLDummyCube
- CubeSize = 1.000000000000000000
- object GLCylinder1: TGLCylinder
- Direction.Coordinates = {0000000000000080FFFF7F3F00000000}
- Position.Coordinates = {0000000000000000000000C00000803F}
- Up.Coordinates = {F404353FF204353F0000000000000000}
- BottomRadius = 0.200000002980232200
- Height = 3.000000000000000000
- Slices = 12
- Stacks = 1
- TopRadius = 0.200000002980232200
- end
- object GLSphere1: TGLSphere
- ObjectsSorting = osNone
- Position.Coordinates = {000000000000803F000000000000803F}
- Radius = 0.500000000000000000
- Top = 0
- TopCap = ctCenter
- object GLCylinder2: TGLCylinder
- Direction.Coordinates = {000000000000803F2EBD3BB300000000}
- Position.Coordinates = {00000000CDCCCCBD6666663F0000803F}
- Up.Coordinates = {000000002EBD3BB3000080BF00000000}
- BottomRadius = 0.100000001490116100
- Height = 1.000000000000000000
- TopRadius = 0.100000001490116100
- end
- object GLTeapot1: TGLTeapot
- Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
- Position.Coordinates = {000000000000003F000000000000803F}
- Scale.Coordinates = {00000040000000400000004000000000}
- end
- end
- end
- object NonReflectingObjects: TGLDummyCube
- CubeSize = 1.000000000000000000
- object Torus1: TGLTorus
- Material.FrontProperties.Diffuse.Color = {00000000A7A6263F000000000000803F}
- ObjectsSorting = osNone
- Direction.Coordinates = {000000000000803F0000000000000000}
- Position.Coordinates = {00000000000080BF000000000000803F}
- Up.Coordinates = {E9DC72BF000000009BE8A13E00000000}
- MajorRadius = 4.000000000000000000
- MinorRadius = 0.500000000000000000
- Rings = 24
- Sides = 12
- StopAngle = 360.000000000000000000
- Parts = [toSides, toStartDisk, toStopDisk]
- object Cylinder2: TGLCylinder
- Material.FrontProperties.Diffuse.Color = {00000000CDCC4C3F9796963E0000803F}
- BottomRadius = 0.200000002980232200
- Height = 7.000000000000000000
- Slices = 12
- Stacks = 1
- TopRadius = 0.200000002980232200
- end
- end
- end
- object GLCamera1: TGLCamera
- DepthOfView = 100.000000000000000000
- FocalLength = 50.000000000000000000
- TargetObject = ReflectingObjects
- Position.Coordinates = {0000A0400000C040000010410000803F}
- end
- end
- object GLCadencer1: TGLCadencer
- Scene = GLScene1
- MaxDeltaTime = 0.050000000000000000
- OnProgress = GLCadencer1Progress
- Left = 32
- Top = 80
- end
- object Timer1: TTimer
- OnTimer = Timer1Timer
- Left = 104
- Top = 24
- end
- end
|