home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / plug-in-lighting.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  20.4 KB  |  544 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>7.4.¬† Lighting Effects</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="filters-light-and-shadow.html" title="7.¬† Light and Shadow Filters" />
  14.     <link rel="prev" href="plug-in-flarefx.html" title="7.3.¬† Lens Flare" />
  15.     <link rel="next" href="plug-in-sparkle.html" title="7.5.¬† Sparkle" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">7.4.¬†
  22.     <span lang="en" xml:lang="en">Lighting Effects</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="plug-in-flarefx.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">7.¬†
  28.     <span lang="en" xml:lang="en">Light and Shadow Filters</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="plug-in-sparkle.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="plug-in-lighting"></a>7.4.¬†
  40.     <span lang="en" xml:lang="en">Lighting Effects</span>
  41.   </h3>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2360 $</td>
  53.                   <td align="left">2007-01-02</td>
  54.                   <td align="left">j.h</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2743304" class="indexterm"></a>
  62.       <a id="id2743322" class="indexterm"></a>
  63.       <div class="sect3" lang="en" xml:lang="en">
  64.         <div class="titlepage">
  65.           <div>
  66.             <div>
  67.               <h4 class="title"><a id="id2743331"></a>7.4.1.¬†
  68.       <span lang="en" xml:lang="en">Overview</span>
  69.     </h4>
  70.             </div>
  71.           </div>
  72.         </div>
  73.         <div class="figure">
  74.           <a id="id2743341"></a>
  75.           <p class="title">
  76.             <b>Figure¬†16.75.¬†
  77.         <span lang="en" xml:lang="en">
  78.           The same image, before and after applying Lighting filter
  79.         </span>
  80.       </b>
  81.           </p>
  82.           <div class="figure-contents">
  83.             <div class="mediaobject">
  84.               <img src="../images/filters/examples/taj_orig.jpg" alt="The same image, before and after applying Lighting filter" />
  85.               <div class="caption">
  86.                 <p>Original image</p>
  87.               </div>
  88.             </div>
  89.             <div class="mediaobject">
  90.               <img src="../images/filters/examples/light-taj-lighting.jpg" alt="The same image, before and after applying Lighting filter" />
  91.               <div class="caption">
  92.                 <p>Filter ‚Äú<span class="quote">Lighting Effects</span>‚Äù applied</p>
  93.               </div>
  94.             </div>
  95.           </div>
  96.         </div>
  97.         <br class="figure-break" />
  98.         <p>
  99.       This filter simulates the effect you get when you light up a wall with
  100.       a spot. It doesn't produce any drop shadows and, of course, doesn't
  101.       reveal any new details in dark zones.
  102.     </p>
  103.       </div>
  104.       <div class="sect3" lang="en" xml:lang="en">
  105.         <div class="titlepage">
  106.           <div>
  107.             <div>
  108.               <h4 class="title"><a id="id2743418"></a>7.4.2.¬†
  109.       <span lang="en" xml:lang="en">Activate the filter</span>
  110.     </h4>
  111.             </div>
  112.           </div>
  113.         </div>
  114.         <p>
  115.       This filter is found in the image window menu under
  116.       <span class="guimenu">Filte<span class="accel">r</span>s</span> ‚Üí <span class="guisubmenu"><span class="accel">L</span>ight and Shadow</span> ‚Üí <span class="guimenuitem"><span class="accel">L</span>ighting Effects</span>.
  117.     </p>
  118.       </div>
  119.       <div class="sect3" lang="en" xml:lang="en">
  120.         <div class="titlepage">
  121.           <div>
  122.             <div>
  123.               <h4 class="title"><a id="id2743469"></a>7.4.3.¬†
  124.       <span lang="en" xml:lang="en">Options</span>
  125.     </h4>
  126.             </div>
  127.           </div>
  128.         </div>
  129.         <div class="variablelist">
  130.           <dl>
  131.             <dt>
  132.               <span class="term">Preview</span>
  133.             </dt>
  134.             <dd>
  135.               <p>
  136.             When <span class="guilabel">Interactive</span> is checked, parameter
  137.             setting results are interactively displayed in preview without
  138.             modifying the image until you click on <span class="guilabel">OK</span>
  139.             button.
  140.           </p>
  141.               <p>
  142.             If <span class="guilabel">Interactive</span> is not checked, changes are
  143.             displayed in preview only when you click on the
  144.             <span class="guilabel">Update</span> button.
  145.             This option is useful with a slow computer.
  146.           </p>
  147.             </dd>
  148.             <dt>
  149.               <span class="term">General Options</span>
  150.             </dt>
  151.             <dd>
  152.               <div class="figure">
  153.                 <a id="id2743544"></a>
  154.                 <p class="title">
  155.                   <b>Figure¬†16.76.¬†
  156.               <span lang="en" xml:lang="en">
  157.                 ‚Äú<span class="quote">Lighting</span>‚Äù filter general options
  158.               </span>
  159.             </b>
  160.                 </p>
  161.                 <div class="figure-contents">
  162.                   <div class="mediaobject">
  163.                     <img src="../images/filters/options-light-lighting1.png" alt="Lighting filter general options" />
  164.                   </div>
  165.                 </div>
  166.               </div>
  167.               <br class="figure-break" />
  168.               <div class="variablelist">
  169.                 <dl>
  170.                   <dt>
  171.                     <span class="term">Transparent Background</span>
  172.                   </dt>
  173.                   <dd>
  174.                     <p>
  175.                    Makes destination image transparent when bumpmap height
  176.                    is zero (height is zero in black areas of the bumpmapped
  177.                    image).
  178.                 </p>
  179.                   </dd>
  180.                   <dt>
  181.                     <span class="term">Create New Image</span>
  182.                   </dt>
  183.                   <dd>
  184.                     <p>
  185.                    Creates a new image when applying filter.
  186.                 </p>
  187.                   </dd>
  188.                   <dt>
  189.                     <span class="term">High Quality Preview</span>
  190.                   </dt>
  191.                   <dd>
  192.                     <p>
  193.                    For quick CPU...
  194.                 </p>
  195.                   </dd>
  196.                   <dt>
  197.                     <span class="term">Distance</span>
  198.                   </dt>
  199.                   <dd>
  200.                     <p>
  201.                   You can specify the distance of the light source from the
  202.                   center of the image with this slider. The range of values
  203.                   is from 0.0 to 2.0.
  204.                 </p>
  205.                   </dd>
  206.                 </dl>
  207.               </div>
  208.             </dd>
  209.             <dt>
  210.               <span class="term">Light</span>
  211.             </dt>
  212.             <dd>
  213.               <div class="figure">
  214.                 <a id="id2743675"></a>
  215.                 <p class="title">
  216.                   <b>Figure¬†16.77.¬†
  217.               <span lang="en" xml:lang="en">
  218.                 ‚Äú<span class="quote">Light</span>‚Äù Options of the Lighting filter
  219.               </span>
  220.             </b>
  221.                 </p>
  222.                 <div class="figure-contents">
  223.                   <div class="mediaobject">
  224.                     <img src="../images/filters/options-light-lighting2.png" alt="Light Options of the Lighting filter" />
  225.                   </div>
  226.                 </div>
  227.               </div>
  228.               <br class="figure-break" />
  229.               <p>
  230.             In this tab, you can set light parameters. With
  231.             <span class="guilabel">Light 1, 2,...6</span>: You can create six light
  232.             sources and work on each of them separately.
  233.           </p>
  234.               <div class="variablelist">
  235.                 <dl>
  236.                   <dt>
  237.                     <span class="term">Light Type</span>
  238.                   </dt>
  239.                   <dd>
  240.                     <p>
  241.                   This filter provides several <span class="guilabel">Light Types
  242.                   </span> in a drop-down list:
  243.                 </p>
  244.                     <p>
  245.                   <span class="emphasis"><em>Point</em></span>: displays a blue point at center
  246.                   of preview. You can click and drag it to move light all
  247.                   over the preview.
  248.                 </p>
  249.                     <p>
  250.                   <span class="emphasis"><em>Directional</em></span>: the blue point is linked
  251.                   to preview center by a line which indicates the direction
  252.                   of light.
  253.                 </p>
  254.                     <p>
  255.                   <span class="emphasis"><em>None</em></span>: This deletes the light source
  256.                   (light may persist...).
  257.                 </p>
  258.                   </dd>
  259.                   <dt>
  260.                     <span class="term">Light Source Color</span>
  261.                   </dt>
  262.                   <dd>
  263.                     <p>
  264.                   When you click on the color swatch, you bring a dialog up
  265.                   where you can select the light source color.
  266.                 </p>
  267.                   </dd>
  268.                   <dt>
  269.                     <span class="term">Intensity</span>
  270.                   </dt>
  271.                   <dd>
  272.                     <p>
  273.                   With this option, you can set light intensity.
  274.                 </p>
  275.                   </dd>
  276.                   <dt>
  277.                     <span class="term">Position</span>
  278.                   </dt>
  279.                   <dd>
  280.                     <p>
  281.                   Determines the light point
  282.                   position according to three coordinates: X coordinate for
  283.                   horizontal position, Y for vertical position, Z for source
  284.                   distance (the light darkens when distance increases). Values
  285.                   are from -1 to +1.
  286.                 </p>
  287.                   </dd>
  288.                   <dt>
  289.                     <span class="term">Direction</span>
  290.                   </dt>
  291.                   <dd>
  292.                     <p>
  293.                   This option should allow you to fix the light direction in
  294.                   its three <span class="guilabel">X</span>, <span class="guilabel">Y</span>
  295.                   and <span class="guilabel">Z</span> coordinates.
  296.                 </p>
  297.                   </dd>
  298.                   <dt>
  299.                     <span class="term">Isolate</span>
  300.                   </dt>
  301.                   <dd>
  302.                     <p>
  303.                   With this option, you can decide whether all light sources
  304.                   must appear in the Preview, or only the source you are
  305.                   working on.
  306.                 </p>
  307.                   </dd>
  308.                   <dt>
  309.                     <span class="term">Lighting Preset</span>
  310.                   </dt>
  311.                   <dd>
  312.                     <p>
  313.                   You can save your settings with the <span class="guibutton">Save
  314.                   </span> and get them back later with the
  315.                   <span class="guibutton">Open</span>.
  316.                 </p>
  317.                   </dd>
  318.                 </dl>
  319.               </div>
  320.             </dd>
  321.             <dt>
  322.               <span class="term">Material</span>
  323.             </dt>
  324.             <dd>
  325.               <div class="figure">
  326.                 <a id="id2743956"></a>
  327.                 <p class="title">
  328.                   <b>Figure¬†16.78.¬†
  329.               <span lang="en" xml:lang="en">
  330.                 ‚Äú<span class="quote">Material</span>‚Äù tab of the Lighting filter
  331.               </span>
  332.             </b>
  333.                 </p>
  334.                 <div class="figure-contents">
  335.                   <div class="mediaobject">
  336.                     <img src="../images/filters/options-light-lighting3.png" alt="Material tab of the Lighting filter" />
  337.                   </div>
  338.                 </div>
  339.               </div>
  340.               <br class="figure-break" />
  341.               <p>
  342.             These options don't concern light itself, but light reflected by
  343.             objects.
  344.           </p>
  345.               <p>
  346.             Small spheres, on both ends of the input boxes, represent the
  347.             action of every option, from its minimum (on the left) to its
  348.             maximum (on the right). Help pop ups are more useful.
  349.           </p>
  350.               <div class="variablelist">
  351.                 <dl>
  352.                   <dt>
  353.                     <span class="term">Glowing</span>
  354.                   </dt>
  355.                   <dd>
  356.                     <p>
  357.                   With these option, you can set the amount of original
  358.                   color to show where no direct light falls.
  359.                 </p>
  360.                   </dd>
  361.                   <dt>
  362.                     <span class="term">Bright</span>
  363.                   </dt>
  364.                   <dd>
  365.                     <p>
  366.                   With this option, you can set the intensity of original
  367.                   color when hit directly by a light source.
  368.                 </p>
  369.                   </dd>
  370.                   <dt>
  371.                     <span class="term">Shiny</span>
  372.                   </dt>
  373.                   <dd>
  374.                     <p>
  375.                   This option controls how intense the highlight will be.
  376.                 </p>
  377.                   </dd>
  378.                   <dt>
  379.                     <span class="term">Hell</span>
  380.                   </dt>
  381.                   <dd>
  382.                     <p>
  383.                   With this option, higher values make the highlight more
  384.                   focused.
  385.                 </p>
  386.                   </dd>
  387.                   <dt>
  388.                     <span class="term">Metallic</span>
  389.                   </dt>
  390.                   <dd>
  391.                     <p>
  392.                   When this option is checked, surfaces look metallic.
  393.                 </p>
  394.                   </dd>
  395.                 </dl>
  396.               </div>
  397.             </dd>
  398.             <dt>
  399.               <span class="term">Bump Map</span>
  400.             </dt>
  401.             <dd>
  402.               <div class="figure">
  403.                 <a id="id2744130"></a>
  404.                 <p class="title">
  405.                   <b>Figure¬†16.79.¬†
  406.               <span lang="en" xml:lang="en">
  407.                 ‚Äú<span class="quote">Bumpmap</span>‚Äù options of the Lighting filter
  408.               </span>
  409.             </b>
  410.                 </p>
  411.                 <div class="figure-contents">
  412.                   <div class="mediaobject">
  413.                     <img src="../images/filters/options-light-lighting4.png" alt="Bumpmap options of the Lighting filter" />
  414.                   </div>
  415.                 </div>
  416.               </div>
  417.               <br class="figure-break" />
  418.               <p>
  419.             In this tab, you can set filter options that give relief to the
  420.             image.  See <a class="link" href="glossary.html#glossary-bumpmapping" title="Bump mapping">Bumpmapping</a>.
  421.           </p>
  422.               <div class="variablelist">
  423.                 <dl>
  424.                   <dt>
  425.                     <span class="term">Enable Bump Mapping</span>
  426.                   </dt>
  427.                   <dd>
  428.                     <p>
  429.                   With this option, bright parts of the image will appear
  430.                   raised and dark parts will appear depressed. The aspect
  431.                   depends on the light source position.
  432.                 </p>
  433.                   </dd>
  434.                   <dt>
  435.                     <span class="term">Bump Map Image</span>
  436.                   </dt>
  437.                   <dd>
  438.                     <p>
  439.                   You have to select there the grey-scale image that will
  440.                   act as a bump map.
  441.                 </p>
  442.                   </dd>
  443.                   <dt>
  444.                     <span class="term">Curve</span>
  445.                   </dt>
  446.                   <dd>
  447.                     <p>
  448.                   Four curve types are available:
  449.                   <span class="emphasis"><em>Linear</em></span>,
  450.                   <span class="emphasis"><em>Logarithmic</em></span>,
  451.                   <span class="emphasis"><em>Sinusoidal</em></span> and
  452.                   <span class="emphasis"><em>Spherical</em></span>. See <a class="link" href="plug-in-bump-map.html" title="10.2.¬† Bump Map">Bump Map</a> plug-in for
  453.                   explanations.
  454.                 </p>
  455.                   </dd>
  456.                   <dt>
  457.                     <span class="term">Maximum Height</span>
  458.                   </dt>
  459.                   <dd>
  460.                     <p>
  461.                   This is the maximum height of bumps.
  462.                 </p>
  463.                   </dd>
  464.                 </dl>
  465.               </div>
  466.             </dd>
  467.             <dt>
  468.               <span class="term">Environment Map</span>
  469.             </dt>
  470.             <dd>
  471.               <div class="figure">
  472.                 <a id="id2744300"></a>
  473.                 <p class="title">
  474.                   <b>Figure¬†16.80.¬†
  475.               <span lang="en" xml:lang="en">
  476.                 ‚Äú<span class="quote">Environment map</span>‚Äù options
  477.               </span>
  478.             </b>
  479.                 </p>
  480.                 <div class="figure-contents">
  481.                   <div class="mediaobject">
  482.                     <img src="../images/filters/options-light-lighting5.png" alt="Environment map options" />
  483.                   </div>
  484.                 </div>
  485.               </div>
  486.               <br class="figure-break" />
  487.               <div class="variablelist">
  488.                 <dl>
  489.                   <dt>
  490.                     <span class="term">Enable Environment Mapping</span>
  491.                   </dt>
  492.                   <dd>
  493.                     <p>
  494.                   When you check this box, the following option is enabled:
  495.                 </p>
  496.                   </dd>
  497.                   <dt>
  498.                     <span class="term">Environment Image</span>
  499.                   </dt>
  500.                   <dd>
  501.                     <p>
  502.                   You have to select there a RGB image, present on your
  503.                   screen. Please note that for this option to work you
  504.                   should load another image with gimp
  505.                   <span class="emphasis"><em>before</em></span> using it.
  506.                 </p>
  507.                   </dd>
  508.                 </dl>
  509.               </div>
  510.             </dd>
  511.           </dl>
  512.         </div>
  513.       </div>
  514.     </div>
  515.     <div class="navfooter">
  516.       <hr />
  517.       <table width="100%" summary="Navigation footer">
  518.         <tr>
  519.           <td width="40%" align="left"><a accesskey="p" href="plug-in-flarefx.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  520.           <td width="20%" align="center">
  521.             <a accesskey="u" href="filters-light-and-shadow.html">
  522.               <img src="../images/up.png" alt="Up" />
  523.             </a>
  524.           </td>
  525.           <td width="40%" align="right">¬†<a accesskey="n" href="plug-in-sparkle.html"><img src="../images/next.png" alt="Next" /></a></td>
  526.         </tr>
  527.         <tr>
  528.           <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-flarefx.html">7.3.¬†
  529.     <span lang="en" xml:lang="en">Lens Flare</span>
  530.   </a>¬†</td>
  531.           <td width="20%" align="center">
  532.             <a accesskey="h" href="index.html">
  533.               <img src="../images/home.png" alt="Home" />
  534.             </a>
  535.           </td>
  536.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="plug-in-sparkle.html">7.5.¬†
  537.     <span lang="en" xml:lang="en">Sparkle</span>
  538.   </a></td>
  539.         </tr>
  540.       </table>
  541.     </div>
  542.   </body>
  543. </html>
  544.