home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" standalone="no" ?>
-
- <effect>
-
- <svg>
-
- <filter id="Beveled-Marble" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
- <feTurbulence baseFrequency="0.15" numOctaves="1" result="I0A"/>
- <feDisplacementMap in="I0A" in2="I0A" scale="25" xChannelSelector="R" yChannelSelector="G" result="I0"/>
- <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"/>
- <feComposite in="SourceGraphic" in2="I1" operator="arithmetic" k1="1" result="I2"/>
- <feGaussianBlur in="I2" stdDeviation="1" result="I3"/>
- <feGaussianBlur id="gaussian_blur" in="SourceAlpha" stdDeviation="3" result="I4"/>
- <feSpecularLighting id="specular_lighting" in="I4" surfaceScale="5.0" specularConstant="0.5"
- specularExponent="20" lighting-color="#ffffff" result="I5">
- <fePointLight x="-5000" y="-10000" z="20000"/>
- </feSpecularLighting>
- <feComposite in="I3" in2="I5" operator="arithmetic" k2="1" k3="1" result="I6"/>
- <feComposite in="I6" in2="SourceGraphic" operator="in" result="I7"/>
- </filter>
-
- </svg>
-
-
- <dialog caption="Beveled_Marble">
-
- <label caption="Height:"
- x="10" y="10" width="90" height="30"/>
- <numberControl type="numericedit"
- xlink:href="#gaussian_blur" attributeName="stdDeviation"
- min="0.5" max="5"
- x="110" y="10" width="66" height="30" />
-
- <label caption="Color:"
- x="10" y="50" width="90" height="30"/>
- <colorControl
- xlink:href="#specular_lighting" attributeName="lighting-color"
- x="110" y="50" width="66" height="30"/>
-
- </dialog>
-
- </effect>
-
-
-