home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / 09_02.iso / software / jwd / files / wdw102ev.exe / Data.Cab / F2074_clouds.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-03-11  |  1.3 KB  |  40 lines

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.     
  7.    <filter id="Clouds" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  8.       <feTurbulence id="turbulence" type="fractalNoise" baseFrequency="0.02" numOctaves="3" result="I1a0"/>
  9.       <feDisplacementMap in="I1a0" in2="I1a0" scale="50" xChannelSelector="R" yChannelSelector="G" result="I1a"/>
  10.       <feColorMatrix in="I1a" type="matrix" values="0 0 0 1 0    0 0 0 1 0    0 0 0 1 0    0 0 0 0 1" result="I2"/>
  11.       <feComposite operator="in" in="I2" in2="SourceAlpha" result="I3"/>
  12.       <feComposite operator="arithmetic" in="I3" in2="SourceGraphic" k2="1" k3="1" result="I5"/>
  13.       <feComposite operator="in" in="I5" in2="SourceAlpha" result="I6"/>
  14.    </filter>
  15.         
  16.     </svg>
  17.  
  18.  
  19.     <dialog caption="Clouds">
  20.  
  21.       <label caption="Frequency:"
  22.               x="10" y="10" width="90" height="30"/>
  23.         <numberControl type="numericedit"
  24.                 xlink:href="#turbulence" attributeName="baseFrequency"
  25.                 min="0.01" max="0.1"
  26.                 x="110" y="10" width="66" height="30" />
  27.  
  28.       <label caption="Octaves:"
  29.               x="10" y="50" width="90" height="30"/>
  30.       <integerControl type="numericedit"
  31.                   xlink:href="#turbulence" attributeName="numOctaves"
  32.                 min="1" max="10"
  33.                   x="110" y="50" width="66" height="30"/>
  34.  
  35.     </dialog>
  36.     
  37. </effect>
  38.  
  39.  
  40.