<HTML>
<HEAD>
<TITLE>Re: [Paraview] Emissive polygons?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>No, they are different (although you might be able to get a similar effect). The ambient light represents a base level of lighting coming from all directions that is formed (in real life) by light coming actual light sources and bouncing around the objects in the room. It is the light that illuminates an object that is in shadow from all light sources. Because OpenGL does not compute the amount of light that gets scattered around the scene, for each light you specify an ambient parameter representing the amount you expect the light to be bouncing around the scene. OpenGL also allows you to specify different colors for ambient and diffuse reflection of materials. In real life, these are always the same, but changing them sometimes allows you to work around some of the approximations that OpenGL makes.<BR>
<BR>
Emission is light that originates directly from an object. It is a color that is completely impendent of any lights (because the light is coming from the object itself). Objects like turned on light bulbs or glow-in-the-dark toys have emission. Unlike in real life, light from polygons with emission in OpenGL do not affect other objects (another approximation introduced by OpenGL).<BR>
<BR>
For more information, check out the chapter on Lighting in the red OpenGL book.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/19/09 7:45 AM, "Berk Geveci" <<a href="berk.geveci@kitware.com">berk.geveci@kitware.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I am probably confused here but isn't setting ambient to larger than 0<BR>
in vtkProperty supposed to do that?<BR>
<BR>
-berk<BR>
<BR>
On Wed, Feb 18, 2009 at 4:23 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>> wrote:<BR>
> I'm afraid not. It looks like that functionality is not even support in<BR>
> VTK. Implementing light emission that is constant for whole objects would<BR>
> be pretty straightforward, but would require modifying code all the way to<BR>
> VTK's rendering layer.<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 2/18/09 1:55 PM, "Eric E. Monson" <<a href="emonson@cs.duke.edu">emonson@cs.duke.edu</a>> wrote:<BR>
><BR>
> Hello,<BR>
><BR>
> I'm not sure if I'm using the proper terminology, but is it possible<BR>
> in ParaView to give polygons or 3d cells an "emissive" property for<BR>
> the lighting, so they "give off" light instead of reflecting it?<BR>
><BR>
> Thanks,<BR>
> -Eric<BR>
><BR>
> ------------------------------------------------------<BR>
> Eric E Monson<BR>
> Duke Visualization Technology Group<BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>