123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420 |
- object Form1: TForm1
- Left = 0
- Top = 0
- Caption = 'Box Sphere Intersection'
- ClientHeight = 454
- ClientWidth = 552
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Style = []
- OldCreateOrder = False
- Position = poScreenCenter
- WindowState = wsMaximized
- OnCreate = FormCreate
- OnMouseWheel = FormMouseWheel
- PixelsPerInch = 96
- TextHeight = 13
- object Viewer: TGLSceneViewer
- Left = 180
- Top = 0
- Width = 372
- Height = 454
- Camera = GLCamera1
- Buffer.BackgroundColor = clTeal
- FieldOfView = 149.907211303710900000
- PenAsTouch = False
- Align = alClient
- OnMouseDown = ViewerMouseDown
- OnMouseMove = ViewerMouseMove
- TabOrder = 0
- end
- object Panel2: TPanel
- Left = 0
- Top = 0
- Width = 180
- Height = 454
- Align = alLeft
- TabOrder = 1
- object Label5: TLabel
- Left = 10
- Top = 134
- Width = 54
- Height = 13
- Caption = 'Sphere pos'
- end
- object Label3: TLabel
- Left = 16
- Top = 8
- Width = 58
- Height = 13
- Caption = 'Box position'
- end
- object Label4: TLabel
- Left = 96
- Top = 8
- Width = 45
- Height = 13
- Caption = 'Box scale'
- end
- object Label1: TLabel
- Left = 8
- Top = 384
- Width = 34
- Height = 13
- Caption = 'Result:'
- end
- object Label7: TLabel
- Left = 96
- Top = 136
- Width = 66
- Height = 13
- Caption = 'Sphere radius'
- end
- object CheckBox06: TCheckBox
- Left = 8
- Top = 291
- Width = 80
- Height = 17
- Caption = 'Grid'
- Checked = True
- State = cbChecked
- TabOrder = 1
- OnClick = CheckBox04Click
- end
- object CheckBox04: TCheckBox
- Left = 8
- Top = 242
- Width = 80
- Height = 19
- Caption = 'Box visible'
- Checked = True
- State = cbChecked
- TabOrder = 0
- OnClick = CheckBox04Click
- end
- object CheckBox05: TCheckBox
- Left = 8
- Top = 267
- Width = 80
- Height = 17
- Caption = 'Axis'
- TabOrder = 2
- OnClick = CheckBox04Click
- end
- object CheckBox07: TCheckBox
- Left = 8
- Top = 314
- Width = 97
- Height = 17
- Caption = 'Sphere visible '
- Checked = True
- State = cbChecked
- TabOrder = 3
- OnClick = CheckBox04Click
- end
- object Edit1: TEdit
- Left = 10
- Top = 25
- Width = 56
- Height = 21
- TabOrder = 4
- Text = '12'
- OnChange = Edit1Change
- end
- object Edit2: TEdit
- Left = 10
- Top = 48
- Width = 56
- Height = 21
- TabOrder = 5
- Text = '9'
- OnChange = Edit1Change
- end
- object Edit3: TEdit
- Left = 10
- Top = 72
- Width = 56
- Height = 21
- TabOrder = 6
- Text = '6'
- OnChange = Edit1Change
- end
- object UpDown1: TUpDown
- Left = 66
- Top = 25
- Width = 20
- Height = 21
- Associate = Edit1
- Min = -100
- Position = 12
- TabOrder = 7
- end
- object UpDown2: TUpDown
- Left = 66
- Top = 48
- Width = 20
- Height = 21
- Associate = Edit2
- Min = -100
- Position = 9
- TabOrder = 8
- end
- object UpDown3: TUpDown
- Left = 66
- Top = 72
- Width = 20
- Height = 21
- Associate = Edit3
- Min = -100
- Position = 6
- TabOrder = 9
- end
- object Edit4: TEdit
- Left = 91
- Top = 24
- Width = 56
- Height = 21
- TabOrder = 10
- Text = '10'
- OnChange = Edit1Change
- end
- object Edit5: TEdit
- Left = 91
- Top = 48
- Width = 56
- Height = 21
- TabOrder = 11
- Text = '10'
- OnChange = Edit1Change
- end
- object Edit6: TEdit
- Left = 91
- Top = 72
- Width = 56
- Height = 21
- TabOrder = 12
- Text = '10'
- OnChange = Edit1Change
- end
- object UpDown4: TUpDown
- Left = 147
- Top = 24
- Width = 20
- Height = 21
- Associate = Edit4
- Position = 10
- TabOrder = 13
- end
- object UpDown5: TUpDown
- Left = 147
- Top = 48
- Width = 20
- Height = 21
- Associate = Edit5
- Position = 10
- TabOrder = 14
- end
- object UpDown6: TUpDown
- Left = 147
- Top = 72
- Width = 20
- Height = 21
- Associate = Edit6
- Position = 10
- TabOrder = 15
- end
- object Edit7: TEdit
- Left = 10
- Top = 152
- Width = 56
- Height = 21
- TabOrder = 16
- Text = '7'
- OnChange = Edit1Change
- end
- object Edit8: TEdit
- Left = 10
- Top = 176
- Width = 56
- Height = 21
- TabOrder = 17
- Text = '-1'
- OnChange = Edit1Change
- end
- object Edit9: TEdit
- Left = 10
- Top = 200
- Width = 56
- Height = 21
- TabOrder = 18
- Text = '6'
- OnChange = Edit1Change
- end
- object UpDown7: TUpDown
- Left = 66
- Top = 152
- Width = 20
- Height = 21
- Associate = Edit7
- Min = -100
- Position = 7
- TabOrder = 19
- end
- object UpDown8: TUpDown
- Left = 66
- Top = 176
- Width = 20
- Height = 21
- Associate = Edit8
- Min = -100
- Position = -1
- TabOrder = 20
- end
- object UpDown9: TUpDown
- Left = 66
- Top = 200
- Width = 20
- Height = 21
- Associate = Edit9
- Min = -100
- Position = 6
- TabOrder = 21
- end
- object Edit10: TEdit
- Left = 93
- Top = 152
- Width = 56
- Height = 21
- TabOrder = 22
- Text = '5'
- OnChange = Edit1Change
- end
- object UpDown10: TUpDown
- Left = 149
- Top = 152
- Width = 20
- Height = 21
- Associate = Edit10
- Position = 5
- TabOrder = 23
- end
- object Button3: TButton
- Left = 40
- Top = 344
- Width = 75
- Height = 25
- Caption = 'Recalc'
- TabOrder = 24
- OnClick = Button3Click
- end
- object Button4: TButton
- Left = 11
- Top = 98
- Width = 158
- Height = 25
- Caption = 'Random box rotation'
- Default = True
- TabOrder = 25
- OnClick = Button4Click
- end
- end
- object GLScene: TGLScene
- Left = 216
- Top = 16
- object DCCamTarget: TGLDummyCube
- CubeSize = 0.100000001490116100
- VisibleAtRunTime = True
- end
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {00007A4400004844000016440000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLLightSource2: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {0000FAC30000C8C3000096C30000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLCube1: TGLCube
- Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
- end
- object DCCube1: TGLDummyCube
- CubeSize = 1.000000000000000000
- VisibleAtRunTime = True
- end
- object GLSphere1: TGLSphere
- Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
- Radius = 0.500000000000000000
- end
- object GLSphere2: TGLSphere
- Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
- Material.PolygonMode = pmLines
- Radius = 0.500000000000000000
- end
- object GLXYZGrid1: TGLXYZGrid
- XSamplingScale.Min = -10.000000000000000000
- XSamplingScale.Max = 10.000000000000000000
- XSamplingScale.Step = 3.000000000000000000
- YSamplingScale.Min = -10.000000000000000000
- YSamplingScale.Max = 10.000000000000000000
- YSamplingScale.Step = 3.000000000000000000
- ZSamplingScale.Step = 0.100000001490116100
- end
- object GLLines1: TGLLines
- Visible = False
- LineWidth = 3.000000000000000000
- Nodes = <
- item
- Color.Color = {0000803F00000000000000000000803F}
- end
- item
- X = 1.000000000000000000
- Color.Color = {0000803F00000000000000000000803F}
- end
- item
- Color.Color = {000000000000003F000000000000803F}
- end
- item
- Y = 1.000000000000000000
- Color.Color = {0AD7A33E48E1FA3E1F85EB3E0000803F}
- end
- item
- end
- item
- Z = 1.000000000000000000
- end>
- NodesAspect = lnaInvisible
- SplineMode = lsmSegments
- Options = [loUseNodeColorForLines]
- end
- object GLLines3: TGLLines
- LineColor.Color = {0000803F0000803F000000000000803F}
- LineWidth = 10.000000000000000000
- Nodes = <>
- NodesAspect = lnaInvisible
- Division = 1
- SplineMode = lsmSegments
- Options = []
- end
- object GLCamera1: TGLCamera
- DepthOfView = 500.000000000000000000
- FocalLength = 50.000000000000000000
- NearPlaneBias = 0.100000001490116100
- TargetObject = DCCamTarget
- Position.Coordinates = {0000A04000000040000040400000803F}
- Direction.Coordinates = {000000000000803F0000008000000000}
- Up.Coordinates = {00000000000000000000803F00000000}
- Left = 256
- Top = 144
- end
- end
- object GLCadencer: TGLCadencer
- Scene = GLScene
- OnProgress = GLCadencerProgress
- Left = 280
- Top = 16
- end
- end
|