123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- object Form1: TForm1
- Left = 0
- Top = 0
- Caption = 'Triangle and Box Intersection'
- ClientHeight = 437
- ClientWidth = 543
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Style = []
- OldCreateOrder = False
- OnCreate = FormCreate
- OnKeyPress = FormKeyPress
- OnMouseWheel = FormMouseWheel
- OnResize = FormResize
- PixelsPerInch = 96
- TextHeight = 13
- object Viewer: TGLSceneViewer
- Left = 175
- Top = 0
- Width = 368
- Height = 437
- Camera = GLCamera1
- Buffer.BackgroundColor = clBackground
- FieldOfView = 149.595184326171900000
- Align = alClient
- OnMouseMove = ViewerMouseMove
- TabOrder = 0
- end
- object Panel2: TPanel
- Left = 0
- Top = 0
- Width = 175
- Height = 437
- Align = alLeft
- TabOrder = 1
- object CheckBox6: TCheckBox
- Left = 8
- Top = 170
- Width = 80
- Height = 17
- Caption = 'Grid'
- Checked = True
- State = cbChecked
- TabOrder = 6
- OnClick = CheckBox4Click
- end
- object Button1: TButton
- Left = 6
- Top = 80
- Width = 162
- Height = 25
- Caption = 'Find next with intersection'
- Default = True
- TabOrder = 3
- OnClick = Button1Click
- end
- object CheckBox1: TCheckBox
- Left = 8
- Top = 16
- Width = 120
- Height = 17
- Caption = 'Change box position'
- Checked = True
- State = cbChecked
- TabOrder = 0
- end
- object CheckBox2: TCheckBox
- Left = 8
- Top = 34
- Width = 120
- Height = 17
- Caption = 'Change box scale'
- Checked = True
- State = cbChecked
- TabOrder = 1
- end
- object CheckBox3: TCheckBox
- Left = 8
- Top = 52
- Width = 120
- Height = 17
- Caption = 'Change triange'
- Checked = True
- State = cbChecked
- TabOrder = 2
- end
- object Button2: TButton
- Left = 6
- Top = 112
- Width = 162
- Height = 25
- Caption = 'Find next without intersection'
- TabOrder = 4
- OnClick = Button2Click
- end
- object CheckBox4: TCheckBox
- Left = 8
- Top = 146
- Width = 80
- Height = 19
- Caption = 'Box visible'
- Checked = True
- State = cbChecked
- TabOrder = 5
- OnClick = CheckBox4Click
- end
- object CheckBox5: TCheckBox
- Left = 8
- Top = 192
- Width = 80
- Height = 17
- Caption = 'Axis'
- Checked = True
- State = cbChecked
- TabOrder = 7
- OnClick = CheckBox4Click
- end
- end
- object GLScene: TGLScene
- Left = 216
- Top = 16
- object DCCamTarget: TGLDummyCube
- CubeSize = 1.000000000000000000
- 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}
- Direction.Coordinates = {00000000000000800000803F00000000}
- 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 GLPolygon1: TGLPolygon
- Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
- Nodes = <
- item
- end
- item
- Y = 1.000000000000000000
- end
- item
- Y = 1.000000000000000000
- Z = 1.000000000000000000
- end>
- end
- object GLLines1: TGLLines
- 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 GLPoints1: TGLPoints
- NoZWrite = False
- Static = False
- Size = 6.000000000000000000
- end
- object GLLines2: TGLLines
- LineWidth = 2.000000000000000000
- Nodes = <>
- NodesAspect = lnaInvisible
- Division = 1
- 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 = 216
- Top = 64
- end
- end
|