Unit1.dfm 2.7 KB

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