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

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.     
  7.        <filter id="Beveled-Marble" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  8.           <feTurbulence baseFrequency="0.15" numOctaves="1" result="I0A"/>
  9.           <feDisplacementMap in="I0A" in2="I0A" scale="25" xChannelSelector="R" yChannelSelector="G" result="I0"/>
  10.           <feColorMatrix in="I0" type="matrix" values="0 0 0 1 0    0 0 0 1 0    0 0 0 1 0    0 0 0 0 255" result="I1"/>
  11.           <feComposite in="SourceGraphic" in2="I1" operator="arithmetic" k1="1" result="I2"/>
  12.           <feGaussianBlur in="I2" stdDeviation="1" result="I3"/>
  13.           <feGaussianBlur id="gaussian_blur" in="SourceAlpha" stdDeviation="3" result="I4"/>
  14.               <feSpecularLighting id="specular_lighting" in="I4" surfaceScale="5.0" specularConstant="0.5"
  15.                      specularExponent="20" lighting-color="#ffffff" result="I5">
  16.             <fePointLight x="-5000" y="-10000" z="20000"/>
  17.               </feSpecularLighting>
  18.           <feComposite in="I3" in2="I5" operator="arithmetic" k2="1" k3="1" result="I6"/>
  19.           <feComposite in="I6" in2="SourceGraphic" operator="in" result="I7"/>
  20.        </filter>
  21.         
  22.     </svg>
  23.  
  24.  
  25.     <dialog caption="Beveled_Marble">
  26.  
  27.       <label caption="Height:"
  28.               x="10" y="10" width="90" height="30"/>
  29.         <numberControl type="numericedit"
  30.                 xlink:href="#gaussian_blur" attributeName="stdDeviation"
  31.                 min="0.5" max="5"
  32.                 x="110" y="10" width="66" height="30" />
  33.  
  34.       <label caption="Color:"
  35.               x="10" y="50" width="90" height="30"/>
  36.       <colorControl
  37.               xlink:href="#specular_lighting" attributeName="lighting-color"
  38.               x="110" y="50" width="66" height="30"/>
  39.  
  40.     </dialog>
  41.     
  42. </effect>
  43.  
  44.  
  45.