⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.dfm

📁 delphi 最好的3D控件GLScene_Demos
💻 DFM
字号:
object Form1: TForm1
  Left = 200
  Top = 110
  Width = 508
  Height = 355
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 312
    Top = 8
    Width = 175
    Height = 117
    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 = 312
    Top = 136
    Width = 94
    Height = 13
    Caption = 'Central objects :'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label3: TLabel
    Left = 312
    Top = 240
    Width = 101
    Height = 13
    Caption = 'Orbiting spheres :'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object GLSceneViewer1: TGLSceneViewer
    Left = 8
    Top = 8
    Width = 297
    Height = 313
    Camera = GLCamera1
    Buffer.BackgroundColor = 13224393
  end
  object RBSTC: TRadioButton
    Left = 328
    Top = 160
    Width = 137
    Height = 17
    Caption = 'Sphere, Torus, Cone'
    TabOrder = 1
    OnClick = RBSTCClick
  end
  object RBTSC: TRadioButton
    Left = 328
    Top = 184
    Width = 137
    Height = 17
    Caption = 'Torus, Sphere, Cone'
    TabOrder = 2
    OnClick = RBTSCClick
  end
  object RBTCS: TRadioButton
    Left = 328
    Top = 208
    Width = 137
    Height = 17
    Caption = 'Torus, Cone, Sphere'
    Checked = True
    TabOrder = 3
    TabStop = True
    OnClick = RBTCSClick
  end
  object CBSorting: TCheckBox
    Left = 328
    Top = 288
    Width = 97
    Height = 17
    Caption = 'osFarthestFirst'
    Checked = True
    State = cbChecked
    TabOrder = 4
    OnClick = CBSortingClick
  end
  object CBAdditive: TCheckBox
    Left = 328
    Top = 264
    Width = 105
    Height = 17
    Caption = 'Additive blending'
    TabOrder = 5
    OnClick = CBAdditiveClick
  end
  object GLScene1: TGLScene
    Left = 16
    Top = 16
    object GLLightSource1: TGLLightSource
      ConstAttenuation = 1
      Position.Coordinates = {0000A041000048420000F0410000803F}
      SpotCutOff = 180
    end
    object BaseDummyCube: TGLDummyCube
      ObjectsSorting = osRenderFarthestFirst
      CubeSize = 1
      object OrbitingSphere1: TGLSphere
        Position.Coordinates = {0000004000000000000000000000803F}
        Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000003F}
        Material.BlendingMode = bmTransparency
        Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
        Radius = 0.5
      end
      object OrbitingSphere2: TGLSphere
        Position.Coordinates = {000000C000000000000000000000803F}
        Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000003F}
        Material.BlendingMode = bmTransparency
        Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
        Radius = 0.5
      end
      object DCCentral: TGLDummyCube
        ObjectsSorting = osNone
        CubeSize = 1
        object Torus1: TGLTorus
          Direction.Coordinates = {000000000000803F2EBD3BB300000000}
          Up.Coordinates = {000000002EBD3BB3000080BF00000000}
          Material.FrontProperties.Diffuse.Color = {CDCC4C3EA1A0203EFAF9793F0000803F}
          Material.FrontProperties.Emission.Color = {CDCCCC3DCDCCCC3DCDCCCC3D0000803F}
          Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
          MajorRadius = 0.800000011920929
          MinorRadius = 0.100000001490116
        end
        object Cone1: TGLCone
          Position.Coordinates = {000000009A99993E000000000000803F}
          Material.FrontProperties.Diffuse.Color = {FBFA7A3FA5A4243EF9F8F83D0000803F}
          Material.FrontProperties.Emission.Color = {E5E4E43EC1C0403CE1E0603D0000803F}
          Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
          BottomRadius = 0.300000011920929
          Height = 2
        end
        object CentralSphere: TGLSphere
          Material.FrontProperties.Diffuse.Color = {D3D2523FCCCB4B3FFFFE7E3F9A99193F}
          Material.FrontProperties.Emission.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000803F}
          Material.BlendingMode = bmTransparency
          Material.Texture.MappingTCoordinates.Coordinates = {000000000000803F0000000000000000}
          Radius = 0.600000023841858
        end
      end
    end
    object GLCamera1: TGLCamera
      DepthOfView = 100
      FocalLength = 60
      TargetObject = DCCentral
      Position.Coordinates = {0000A04000002040000020400000803F}
      Left = 240
      Top = 144
    end
  end
  object GLCadencer1: TGLCadencer
    Scene = GLScene1
    OnProgress = GLCadencer1Progress
    Left = 16
    Top = 48
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -