Unit1.dfm 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Particle Masking'
  5. ClientHeight = 535
  6. ClientWidth = 790
  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. WindowState = wsMaximized
  15. OnCreate = FormCreate
  16. OnMouseWheel = FormMouseWheel
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object Splitter1: TSplitter
  20. Left = 600
  21. Top = 0
  22. Width = 8
  23. Height = 499
  24. Align = alRight
  25. Beveled = True
  26. MinSize = 200
  27. ResizeStyle = rsLine
  28. ExplicitLeft = 576
  29. ExplicitTop = -65
  30. ExplicitHeight = 569
  31. end
  32. object MaskBox: TGroupBox
  33. Left = 608
  34. Top = 0
  35. Width = 182
  36. Height = 499
  37. Align = alRight
  38. Caption = 'Particle Masks'
  39. TabOrder = 0
  40. object XImage: TImage
  41. Left = 16
  42. Top = 32
  43. Width = 150
  44. Height = 150
  45. Stretch = True
  46. end
  47. object XLabel: TLabel
  48. Left = 16
  49. Top = 16
  50. Width = 33
  51. Height = 13
  52. Caption = 'X Mask'
  53. end
  54. object YLabel: TLabel
  55. Left = 16
  56. Top = 200
  57. Width = 33
  58. Height = 13
  59. Caption = 'Y Mask'
  60. end
  61. object ZLabel: TLabel
  62. Left = 16
  63. Top = 400
  64. Width = 33
  65. Height = 13
  66. Caption = 'Z Mask'
  67. end
  68. object YImage: TImage
  69. Left = 16
  70. Top = 224
  71. Width = 150
  72. Height = 150
  73. Stretch = True
  74. end
  75. object ZImage: TImage
  76. Left = 16
  77. Top = 416
  78. Width = 150
  79. Height = 150
  80. Stretch = True
  81. end
  82. object Button1: TButton
  83. Left = 64
  84. Top = 12
  85. Width = 99
  86. Height = 17
  87. Caption = 'View from XMask'
  88. TabOrder = 0
  89. OnClick = Button1Click
  90. end
  91. object Button2: TButton
  92. Left = 72
  93. Top = 196
  94. Width = 99
  95. Height = 17
  96. Caption = 'View from YMask'
  97. TabOrder = 1
  98. OnClick = Button2Click
  99. end
  100. object Button3: TButton
  101. Left = 72
  102. Top = 396
  103. Width = 99
  104. Height = 17
  105. Caption = 'View from ZMask'
  106. TabOrder = 2
  107. OnClick = Button3Click
  108. end
  109. end
  110. object SceneViewer: TGLSceneViewer
  111. Left = 0
  112. Top = 0
  113. Width = 600
  114. Height = 499
  115. Camera = Camera
  116. Buffer.BackgroundColor = clBackground
  117. FieldOfView = 175.409606933593800000
  118. Align = alClient
  119. OnMouseMove = SceneViewerMouseMove
  120. TabOrder = 1
  121. end
  122. object Panel1: TPanel
  123. Left = 0
  124. Top = 499
  125. Width = 790
  126. Height = 36
  127. Align = alBottom
  128. TabOrder = 2
  129. object Label1: TLabel
  130. Left = 8
  131. Top = 11
  132. Width = 29
  133. Height = 13
  134. Caption = 'Depth'
  135. end
  136. object Label2: TLabel
  137. Left = 88
  138. Top = 11
  139. Width = 48
  140. Height = 13
  141. Caption = 'Character'
  142. end
  143. object Label3: TLabel
  144. Left = 176
  145. Top = 11
  146. Width = 53
  147. Height = 13
  148. Caption = 'Pitch Angle'
  149. end
  150. object Label4: TLabel
  151. Left = 304
  152. Top = 11
  153. Width = 47
  154. Height = 13
  155. Caption = 'Roll Angle'
  156. end
  157. object Label5: TLabel
  158. Left = 424
  159. Top = 11
  160. Width = 52
  161. Height = 13
  162. Caption = 'Turn Angle'
  163. end
  164. object Edit1: TEdit
  165. Left = 40
  166. Top = 8
  167. Width = 33
  168. Height = 21
  169. TabOrder = 0
  170. Text = '50'
  171. end
  172. object Edit2: TEdit
  173. Left = 144
  174. Top = 8
  175. Width = 25
  176. Height = 21
  177. TabOrder = 1
  178. Text = 'A'
  179. OnChange = Edit2Change
  180. end
  181. object Edit3: TEdit
  182. Left = 240
  183. Top = 8
  184. Width = 57
  185. Height = 21
  186. TabOrder = 2
  187. Text = '0'
  188. OnChange = Edit3Change
  189. end
  190. object Edit4: TEdit
  191. Left = 360
  192. Top = 8
  193. Width = 57
  194. Height = 21
  195. TabOrder = 3
  196. Text = '0'
  197. OnChange = Edit4Change
  198. end
  199. object Edit5: TEdit
  200. Left = 488
  201. Top = 7
  202. Width = 57
  203. Height = 21
  204. TabOrder = 4
  205. Text = '0'
  206. OnChange = Edit5Change
  207. end
  208. object CheckBox1: TCheckBox
  209. Left = 551
  210. Top = 6
  211. Width = 97
  212. Height = 17
  213. Caption = 'Target Sphere'
  214. Checked = True
  215. State = cbChecked
  216. TabOrder = 5
  217. OnClick = CheckBox1Click
  218. end
  219. object Button4: TButton
  220. Left = 654
  221. Top = 3
  222. Width = 43
  223. Height = 30
  224. Caption = 'GO'
  225. TabOrder = 6
  226. OnClick = Button4Click
  227. end
  228. end
  229. object GLScene: TGLScene
  230. ObjectsSorting = osRenderFarthestFirst
  231. Left = 8
  232. Top = 8
  233. object Target: TGLDummyCube
  234. CubeSize = 1.000000000000000000
  235. EffectsData = {
  236. 0458434F4C02010201061254474C536F75726365504658456666656374020202
  237. 001200000000020002000609504C4D616E61676572050000000000000080FF3F
  238. 0206020008020008020008050000000000000000000005000000000000000000
  239. 00050000000000FAEDEBF43F02000200090500000000000000000000080200}
  240. end
  241. object XPlane: TGLPlane
  242. Material.MaterialLibrary = MatLib
  243. Material.LibMaterialName = 'XMask'
  244. Direction.Coordinates = {0000803F000000002EBD3BB300000000}
  245. Position.Coordinates = {000040C000000000000000000000803F}
  246. TurnAngle = 90.000000000000000000
  247. Up.Coordinates = {00000000FFFF7F3F0000000000000000}
  248. Height = 3.000000000000000000
  249. Width = 3.000000000000000000
  250. end
  251. object YPlane: TGLPlane
  252. Material.MaterialLibrary = MatLib
  253. Material.LibMaterialName = 'YMask'
  254. Direction.Coordinates = {000000000000803F31BD3BB300000000}
  255. PitchAngle = 90.000000000000000000
  256. Position.Coordinates = {00000000000040C0000000000000803F}
  257. RollAngle = 180.000000000000000000
  258. Up.Coordinates = {010000B331BD3B330000803F00000000}
  259. Height = 3.000000000000000000
  260. Width = 3.000000000000000000
  261. end
  262. object ZPlane: TGLPlane
  263. Material.MaterialLibrary = MatLib
  264. Material.LibMaterialName = 'ZMask'
  265. Direction.Coordinates = {00000000010000B30000803F00000000}
  266. Position.Coordinates = {0000000000000000000040C00000803F}
  267. Up.Coordinates = {000000000000803F0100003300000000}
  268. Hint = '0'
  269. Height = 3.000000000000000000
  270. Width = 3.000000000000000000
  271. end
  272. object PFXRenderer: TGLParticleFXRenderer
  273. end
  274. object Sphere: TGLSphere
  275. Direction.Coordinates = {0000000000000000FFFF7F3F00000000}
  276. Position.Coordinates = {0000004000000000000000000000803F}
  277. Visible = False
  278. Radius = 0.250000000000000000
  279. object GLArrowLine1: TGLArrowLine
  280. Direction.Coordinates = {0000803F000000002EBD3BB300000000}
  281. Position.Coordinates = {CDCCCC3D00000000000000000000803F}
  282. TurnAngle = 90.000000000000000000
  283. Up.Coordinates = {00000000FFFF7F3F0000000000000000}
  284. BottomRadius = 0.100000001490116100
  285. Height = 0.500000000000000000
  286. TopRadius = 0.100000001490116100
  287. TopArrowHeadHeight = 0.500000000000000000
  288. TopArrowHeadRadius = 0.200000002980232200
  289. BottomArrowHeadHeight = 0.500000000000000000
  290. BottomArrowHeadRadius = 0.200000002980232200
  291. end
  292. end
  293. object Camera: TGLCamera
  294. DepthOfView = 100.000000000000000000
  295. FocalLength = 10.000000000000000000
  296. TargetObject = Target
  297. CameraStyle = csOrthogonal
  298. Position.Coordinates = {0000803F00000040000040400000803F}
  299. object Light: TGLLightSource
  300. ConstAttenuation = 1.000000000000000000
  301. SpotCutOff = 180.000000000000000000
  302. end
  303. end
  304. end
  305. object GLCadencer: TGLCadencer
  306. Scene = GLScene
  307. OnProgress = GLCadencerProgress
  308. Left = 72
  309. Top = 8
  310. end
  311. object MatLib: TGLMaterialLibrary
  312. Materials = <
  313. item
  314. Name = 'XMask'
  315. Tag = 0
  316. Material.Texture.Image.Picture.Data = {07544269746D617000000000}
  317. Material.Texture.ImageAlpha = tiaInverseLuminance
  318. Material.Texture.MagFilter = maNearest
  319. Material.Texture.MinFilter = miNearest
  320. Material.Texture.Disabled = False
  321. end
  322. item
  323. Name = 'YMask'
  324. Tag = 0
  325. Material.Texture.Image.Picture.Data = {07544269746D617000000000}
  326. Material.Texture.ImageAlpha = tiaInverseLuminance
  327. Material.Texture.MagFilter = maNearest
  328. Material.Texture.MinFilter = miNearest
  329. Material.Texture.Disabled = False
  330. end
  331. item
  332. Name = 'ZMask'
  333. Tag = 0
  334. Material.Texture.Image.Picture.Data = {07544269746D617000000000}
  335. Material.Texture.ImageAlpha = tiaInverseLuminance
  336. Material.Texture.MagFilter = maNearest
  337. Material.Texture.MinFilter = miNearest
  338. Material.Texture.Disabled = False
  339. end>
  340. Left = 40
  341. Top = 8
  342. end
  343. object WinFont: TGLWindowsBitmapFont
  344. Font.Charset = DEFAULT_CHARSET
  345. Font.Color = clWhite
  346. Font.Height = -11
  347. Font.Name = 'MS Sans Serif'
  348. Font.Style = []
  349. Left = 104
  350. Top = 8
  351. end
  352. object PLManager: TGLPointLightPFXManager
  353. Cadencer = GLCadencer
  354. Renderer = PFXRenderer
  355. OnCreateParticle = PLManagerCreateParticle
  356. Friction = 1.000000000000000000
  357. ColorMode = scmFade
  358. ParticleSize = 0.200000002980232200
  359. ColorInner.Color = {00000000000000000000000000000000}
  360. LifeColors = <
  361. item
  362. ColorInner.Color = {9A99993E9A99993E0000803F0000803F}
  363. LifeTime = 3.000000000000000000
  364. SizeScale = 1.000000000000000000
  365. end>
  366. Left = 136
  367. Top = 8
  368. end
  369. object GLEParticleMasksManager1: TGLEParticleMasksManager
  370. ParticleMasks = <
  371. item
  372. Scale.Coordinates = {0000A0400000A0400000A04000000000}
  373. Name = 'mask'
  374. MaterialLibrary = MatLib
  375. XMask = 'XMask'
  376. YMask = 'YMask'
  377. ZMask = 'ZMask'
  378. BackgroundColor = clBlack
  379. MaskColor = clWhite
  380. end>
  381. Left = 168
  382. Top = 8
  383. end
  384. object AsyncTimer1: TGLAsyncTimer
  385. Enabled = True
  386. OnTimer = AsyncTimer1Timer
  387. ThreadPriority = tpNormal
  388. Left = 200
  389. Top = 8
  390. end
  391. end