| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- object FormTransparency: TFormTransparency
- Left = 200
- Top = 110
- Margins.Left = 4
- Margins.Top = 4
- Margins.Right = 4
- Margins.Bottom = 4
- Caption = 'Transparency'
- ClientHeight = 566
- ClientWidth = 881
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -19
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- PixelsPerInch = 168
- TextHeight = 24
- object GLSceneViewer1: TGLSceneViewer
- Left = 0
- Top = 0
- Width = 532
- Height = 566
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Camera = GLCamera1
- Buffer.BackgroundColor = 13224393
- FieldOfView = 154.577728271484400000
- PenAsTouch = False
- Align = alClient
- TabOrder = 0
- end
- object Panel1: TPanel
- Left = 532
- Top = 0
- Width = 349
- Height = 566
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Align = alRight
- Caption = ' '
- TabOrder = 1
- object Label1: TLabel
- Left = 22
- Top = 14
- Width = 307
- Height = 216
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption =
- 'With Transparency and Z-Buffering, '#13#10'ordering your objects is i' +
- 'mportant.'#13#10#13#10'In this sample, only the spheres are'#13#10'transparent.'#13 +
- #10#13#10'Try the various options and see the'#13#10'differences ordering and' +
- ' blending'#13#10'mode make.'
- end
- object Label2: TLabel
- Left = 36
- Top = 238
- Width = 159
- Height = 25
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Central objects :'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -20
- Font.Name = 'MS Sans Serif'
- Font.Style = [fsBold]
- ParentFont = False
- end
- object Label3: TLabel
- Left = 42
- Top = 420
- Width = 173
- Height = 25
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Orbiting spheres :'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -20
- Font.Name = 'MS Sans Serif'
- Font.Style = [fsBold]
- ParentFont = False
- end
- object RBSTC: TRadioButton
- Left = 90
- Top = 280
- Width = 239
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Sphere, Torus, Cone'
- TabOrder = 0
- OnClick = RBSTCClick
- end
- object RBTSC: TRadioButton
- Left = 90
- Top = 322
- Width = 239
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Torus, Sphere, Cone'
- TabOrder = 1
- OnClick = RBTSCClick
- end
- object RBTCS: TRadioButton
- Left = 90
- Top = 364
- Width = 239
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Torus, Cone, Sphere'
- Checked = True
- TabOrder = 2
- TabStop = True
- OnClick = RBTCSClick
- end
- object CBAdditive: TCheckBox
- Left = 92
- Top = 462
- Width = 185
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Additive blending'
- TabOrder = 3
- OnClick = CBAdditiveClick
- end
- object CBSorting: TCheckBox
- Left = 92
- Top = 504
- Width = 171
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'osFarthestFirst'
- Checked = True
- State = cbChecked
- TabOrder = 4
- OnClick = CBSortingClick
- end
- end
- object GLScene1: TGLScene
- Left = 24
- Top = 16
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {0000A041000048420000F0410000803F}
- SpotCutOff = 180.000000000000000000
- end
- object BaseDummyCube: TGLDummyCube
- ObjectsSorting = osRenderFarthestFirst
- CubeSize = 1.000000000000000000
- object OrbitingSphere1: TGLSphere
- Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000003F}
- Material.BlendingMode = bmTransparency
- Position.Coordinates = {0000004000000000000000000000803F}
- Radius = 0.500000000000000000
- end
- object OrbitingSphere2: TGLSphere
- Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000003F}
- Material.BlendingMode = bmTransparency
- Position.Coordinates = {000000C000000000000000000000803F}
- Radius = 0.500000000000000000
- end
- object DCCentral: TGLDummyCube
- ObjectsSorting = osNone
- CubeSize = 1.000000000000000000
- object Torus1: TGLTorus
- Material.FrontProperties.Diffuse.Color = {CDCC4C3EA1A0203EFAF9793F0000803F}
- Material.FrontProperties.Emission.Color = {CDCCCC3DCDCCCC3DCDCCCC3D0000803F}
- Direction.Coordinates = {000000000000803F2EBD3BB300000000}
- Up.Coordinates = {000000002EBD3BB3000080BF00000000}
- MajorRadius = 0.800000011920929000
- MinorRadius = 0.100000001490116100
- StopAngle = 360.000000000000000000
- Parts = [toSides, toStartDisk, toStopDisk]
- end
- object Cone1: TGLCone
- Material.FrontProperties.Diffuse.Color = {FBFA7A3FA5A4243EF9F8F83D0000803F}
- Material.FrontProperties.Emission.Color = {E5E4E43EC1C0403CE1E0603D0000803F}
- Position.Coordinates = {000000009A99993E000000000000803F}
- BottomRadius = 0.300000011920929000
- Height = 2.000000000000000000
- end
- object CentralSphere: TGLSphere
- Material.FrontProperties.Diffuse.Color = {D3D2523FCCCB4B3FFFFE7E3F9A99193F}
- Material.FrontProperties.Emission.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000803F}
- Material.BlendingMode = bmTransparency
- Radius = 0.600000023841857900
- end
- end
- end
- object GLCamera1: TGLCamera
- DepthOfView = 100.000000000000000000
- FocalLength = 60.000000000000000000
- TargetObject = DCCentral
- Position.Coordinates = {0000A04000002040000020400000803F}
- Left = 240
- Top = 144
- end
- end
- object GLCadencer1: TGLCadencer
- Scene = GLScene1
- OnProgress = GLCadencer1Progress
- Left = 96
- Top = 16
- end
- end
|