fCameraD.dfm 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. object FormCamera: TFormCamera
  2. Left = 299
  3. Top = 129
  4. BorderWidth = 6
  5. Caption = 'Camera'
  6. ClientHeight = 450
  7. ClientWidth = 602
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'MS Sans Serif'
  13. Font.Style = []
  14. Position = poScreenCenter
  15. OnKeyPress = FormKeyPress
  16. OnMouseWheel = FormMouseWheel
  17. DesignSize = (
  18. 602
  19. 450)
  20. TextHeight = 13
  21. object GLSceneViewer1: TGLSceneViewer
  22. Left = 0
  23. Top = 0
  24. Width = 602
  25. Height = 450
  26. Camera = GLCamera1
  27. VSync = vsmSync
  28. Buffer.BackgroundColor = clTeal
  29. FieldOfView = 154.942382812500000000
  30. PenAsTouch = False
  31. Align = alClient
  32. OnMouseDown = GLSceneViewer1MouseDown
  33. OnMouseMove = GLSceneViewer1MouseMove
  34. TabOrder = 0
  35. ExplicitWidth = 509
  36. ExplicitHeight = 427
  37. end
  38. object RadioGroup1: TRadioGroup
  39. Left = 4
  40. Top = 378
  41. Width = 181
  42. Height = 73
  43. Anchors = [akLeft, akBottom]
  44. Caption = 'Style'
  45. ItemIndex = 0
  46. Items.Strings = (
  47. 'Perspective'
  48. 'Infinite perspective'
  49. 'Perspective, keep field of view'
  50. 'Custom')
  51. TabOrder = 1
  52. OnClick = RadioGroup1Click
  53. ExplicitTop = 348
  54. end
  55. object RadioGroup2: TRadioGroup
  56. Left = 446
  57. Top = 394
  58. Width = 145
  59. Height = 57
  60. Anchors = [akRight, akBottom]
  61. Caption = 'Keep mode'
  62. ItemIndex = 0
  63. Items.Strings = (
  64. 'Horizontal'
  65. 'Vertical')
  66. TabOrder = 2
  67. OnClick = RadioGroup2Click
  68. ExplicitLeft = 309
  69. ExplicitTop = 364
  70. end
  71. object GLScene1: TGLScene
  72. Left = 32
  73. Top = 8
  74. object GLLightSource1: TGLLightSource
  75. ConstAttenuation = 1.000000000000000000
  76. Position.Coordinates = {0000204100002041000020410000803F}
  77. SpotCutOff = 180.000000000000000000
  78. end
  79. object Teapot1: TGLTeapot
  80. Material.FrontProperties.Diffuse.Color = {9493133F0000803F9291113F0000803F}
  81. Direction.Coordinates = {0000803F000000000000000000000000}
  82. Scale.Coordinates = {00000040000000400000004000000000}
  83. Up.Coordinates = {00000080000000000000803F00000000}
  84. end
  85. object DummyCube1: TGLDummyCube
  86. ShowAxes = True
  87. CubeSize = 1.000000000000000000
  88. VisibleAtRunTime = True
  89. object GLCamera1: TGLCamera
  90. DepthOfView = 10.000000000000000000
  91. FocalLength = 50.000000000000000000
  92. TargetObject = DummyCube1
  93. OnCustomPerspective = GLCamera1CustomPerspective
  94. Position.Coordinates = {00004040000000400000803F0000803F}
  95. Direction.Coordinates = {2EF964BF2EF9E43E0000000000000000}
  96. Up.Coordinates = {00000000000000000000803F00000000}
  97. end
  98. end
  99. end
  100. object GLCadencer1: TGLCadencer
  101. Scene = GLScene1
  102. OnProgress = GLCadencer1Progress
  103. Left = 112
  104. Top = 8
  105. end
  106. end