| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- object FormCellShading: TFormCellShading
- Left = 192
- Top = 114
- Caption = 'Cg Cell Shader'
- ClientHeight = 407
- ClientWidth = 582
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- Position = poScreenCenter
- OnCreate = FormCreate
- TextHeight = 13
- object GLSceneViewer1: TGLSceneViewer
- Left = 0
- Top = 0
- Width = 582
- Height = 407
- Camera = GLCamera1
- FieldOfView = 152.391708374023400000
- PenAsTouch = False
- Align = alClient
- OnMouseDown = GLSceneViewer1MouseDown
- OnMouseMove = GLSceneViewer1MouseMove
- TabOrder = 0
- ExplicitWidth = 558
- ExplicitHeight = 354
- end
- object GLScene1: TGLScene
- Left = 40
- Top = 16
- object GLDummyCube1: TGLDummyCube
- CubeSize = 1.000000000000000000
- object GLCamera1: TGLCamera
- DepthOfView = 100.000000000000000000
- FocalLength = 50.000000000000000000
- TargetObject = GLDummyCube1
- Position.Coordinates = {00000000000000400000A0400000803F}
- Direction.Coordinates = {00000000000000000000803F00000000}
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- SpotCutOff = 180.000000000000000000
- end
- end
- end
- object GLActor1: TGLActor
- Material.MaterialLibrary = GLMaterialLibrary1
- Material.LibMaterialName = 'CgShaderMat'
- Direction.Coordinates = {000000000000803F2EBD3BB300000000}
- PitchAngle = 90.000000000000000000
- Up.Coordinates = {000000002EBD3BB3000080BF00000000}
- Interval = 100
- end
- end
- object CgCellShader: TCgShader
- VertexProgram.OnApply = CgCellShaderApplyVP
- FragmentProgram.OnApply = CgCellShaderApplyFP
- FragmentProgram.OnUnApply = CgCellShaderUnApplyFP
- OnApplyVP = CgCellShaderApplyVP
- OnApplyFP = CgCellShaderApplyFP
- OnUnApplyFP = CgCellShaderUnApplyFP
- OnInitialize = CgCellShaderInitialize
- Left = 120
- Top = 72
- end
- object GLMaterialLibrary1: TGLMaterialLibrary
- Materials = <
- item
- Name = 'CgShaderMat'
- Tag = 0
- Material.Texture.Disabled = False
- Shader = CgCellShader
- end>
- Left = 112
- Top = 16
- end
- object GLCadencer1: TGLCadencer
- Scene = GLScene1
- Left = 40
- Top = 72
- end
- object AsyncTimer1: TGLAsyncTimer
- Enabled = True
- OnTimer = AsyncTimer1Timer
- Left = 256
- Top = 16
- end
- end
|