fCameraC.dfm 2.7 KB

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