diff options
author | eteq <[email protected]> | 2006-08-17 06:52:46 +0000 |
---|---|---|
committer | eteq <[email protected]> | 2006-08-17 06:52:46 +0000 |
commit | 81592f66a3d9f4ff3ca75acb879ede0a1dc75259 (patch) | |
tree | f97320cb33cb0fcbd3c1a7417f4c5ba2a6e39502 /doc/javadoc/net | |
parent | e78a70eba667f9fffb0624a7b7a76739728d3b2a (diff) |
updated build and javadocs for phong changes to Light class
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@13 83d24430-9974-4f80-8418-2cc3294053b9
Diffstat (limited to 'doc/javadoc/net')
24 files changed, 353 insertions, 91 deletions
diff --git a/doc/javadoc/net/java/joglutils/GLJFrame.html b/doc/javadoc/net/java/joglutils/GLJFrame.html index 9f7ded6..201f31e 100644 --- a/doc/javadoc/net/java/joglutils/GLJFrame.html +++ b/doc/javadoc/net/java/joglutils/GLJFrame.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:06 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:14 CDT 2006 -->
<TITLE>
GLJFrame
</TITLE>
@@ -297,9 +297,19 @@ A JFrame containing a heavyweight <CODE>GLCanvas</CODE> with a single attached < Creates new form GLJFrame</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../net/java/joglutils/GLJFrame.html#GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLContext)">GLJFrame</A></B>(java.lang.String title,
+<TD><CODE><B><A HREF="../../../net/java/joglutils/GLJFrame.html#GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLCapabilitiesChooser)">GLJFrame</A></B>(java.lang.String title,
javax.media.opengl.GLEventListener listener,
javax.media.opengl.GLCapabilities capabilities,
+ javax.media.opengl.GLCapabilitiesChooser chooser)</CODE>
+
+<BR>
+ Creates new form GLJFrame</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../net/java/joglutils/GLJFrame.html#GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLCapabilitiesChooser, javax.media.opengl.GLContext)">GLJFrame</A></B>(java.lang.String title,
+ javax.media.opengl.GLEventListener listener,
+ javax.media.opengl.GLCapabilities caps,
+ javax.media.opengl.GLCapabilitiesChooser chooser,
javax.media.opengl.GLContext contextToShareWith)</CODE>
<BR>
@@ -660,45 +670,61 @@ public <B>GLJFrame</B>(java.lang.String title, </DL>
<HR>
-<A NAME="GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities)"><!-- --></A><H3>
+<A NAME="GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLCapabilitiesChooser, javax.media.opengl.GLContext)"><!-- --></A><H3>
GLJFrame</H3>
<PRE>
public <B>GLJFrame</B>(java.lang.String title,
javax.media.opengl.GLEventListener listener,
- javax.media.opengl.GLCapabilities capabilities)</PRE>
+ javax.media.opengl.GLCapabilities caps,
+ javax.media.opengl.GLCapabilitiesChooser chooser,
+ javax.media.opengl.GLContext contextToShareWith)</PRE>
<DL>
<DD>Creates new form GLJFrame
<P>
<DL>
-<DT><B>Parameters:</B><DD><CODE>title</CODE> - title for the window<DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>capabilities</CODE> - the GLCapabilities to request for the GLCanvas</DL>
+<DT><B>Parameters:</B><DD><CODE>caps</CODE> - the GLCapabilities to request for the GLCanvas<DD><CODE>chooser</CODE> - the capabilities chooser to use in creating the GLCanvas on this frame<DD><CODE>title</CODE> - the title for the window<DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>contextToShareWith</CODE> - the context to share with</DL>
</DL>
<HR>
-<A NAME="GLJFrame(javax.media.opengl.GLEventListener, javax.media.opengl.GLContext)"><!-- --></A><H3>
+<A NAME="GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities)"><!-- --></A><H3>
GLJFrame</H3>
<PRE>
-public <B>GLJFrame</B>(javax.media.opengl.GLEventListener listener,
- javax.media.opengl.GLContext contextToShareWith)</PRE>
+public <B>GLJFrame</B>(java.lang.String title,
+ javax.media.opengl.GLEventListener listener,
+ javax.media.opengl.GLCapabilities capabilities)</PRE>
<DL>
<DD>Creates new form GLJFrame
<P>
<DL>
-<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>contextToShareWith</CODE> - the context to share with<DT><B>See Also:</B><DD><CODE>javax.media.opengl.GLCanvas#javax.media.opengl.GLCanvas(javax.media.opengl.GLCapabilities,javax.media.opengl.GLCapabilitiesChooser,javax.media.opengl.GLContext,javax.media.opengl.GraphicsDevice)</CODE></DL>
+<DT><B>Parameters:</B><DD><CODE>title</CODE> - title for the window<DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>capabilities</CODE> - the GLCapabilities to request for the GLCanvas</DL>
</DL>
<HR>
-<A NAME="GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLContext)"><!-- --></A><H3>
+<A NAME="GLJFrame(java.lang.String, javax.media.opengl.GLEventListener, javax.media.opengl.GLCapabilities, javax.media.opengl.GLCapabilitiesChooser)"><!-- --></A><H3>
GLJFrame</H3>
<PRE>
public <B>GLJFrame</B>(java.lang.String title,
javax.media.opengl.GLEventListener listener,
javax.media.opengl.GLCapabilities capabilities,
+ javax.media.opengl.GLCapabilitiesChooser chooser)</PRE>
+<DL>
+<DD>Creates new form GLJFrame
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>title</CODE> - title for the window<DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>capabilities</CODE> - the GLCapabilities to request for the GLCanvas<DD><CODE>chooser</CODE> - the capabilities chooser to use in creating the GLCanvas on this frame</DL>
+</DL>
+<HR>
+
+<A NAME="GLJFrame(javax.media.opengl.GLEventListener, javax.media.opengl.GLContext)"><!-- --></A><H3>
+GLJFrame</H3>
+<PRE>
+public <B>GLJFrame</B>(javax.media.opengl.GLEventListener listener,
javax.media.opengl.GLContext contextToShareWith)</PRE>
<DL>
<DD>Creates new form GLJFrame
<P>
<DL>
-<DT><B>Parameters:</B><DD><CODE>title</CODE> - title for the window<DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>capabilities</CODE> - the GLCapabilities to request for the GLCanvas<DD><CODE>contextToShareWith</CODE> - the context to share with<DT><B>See Also:</B><DD><CODE>javax.media.opengl.GLCanvas#javax.media.opengl.GLCanvas(javax.media.opengl.GLCapabilities,javax.media.opengl.GLCapabilitiesChooser,javax.media.opengl.GLContext,javax.media.opengl.GraphicsDevice)</CODE></DL>
+<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the GLEventListener to attach to the GLCanvas<DD><CODE>contextToShareWith</CODE> - the context to share with<DT><B>See Also:</B><DD><CODE>javax.media.opengl.GLCanvas#javax.media.opengl.GLCanvas(javax.media.opengl.GLCapabilities,javax.media.opengl.GLCapabilitiesChooser,javax.media.opengl.GLContext,javax.media.opengl.GraphicsDevice)</CODE></DL>
</DL>
<HR>
diff --git a/doc/javadoc/net/java/joglutils/JPanelDialog.html b/doc/javadoc/net/java/joglutils/JPanelDialog.html index 50a6ad4..bbce974 100644 --- a/doc/javadoc/net/java/joglutils/JPanelDialog.html +++ b/doc/javadoc/net/java/joglutils/JPanelDialog.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:07 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:15 CDT 2006 -->
<TITLE>
JPanelDialog
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/class-use/GLJFrame.html b/doc/javadoc/net/java/joglutils/class-use/GLJFrame.html index 6f1b2e8..6f24514 100644 --- a/doc/javadoc/net/java/joglutils/class-use/GLJFrame.html +++ b/doc/javadoc/net/java/joglutils/class-use/GLJFrame.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:20 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.GLJFrame
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/class-use/JPanelDialog.html b/doc/javadoc/net/java/joglutils/class-use/JPanelDialog.html index 1687f58..cd2b4e0 100644 --- a/doc/javadoc/net/java/joglutils/class-use/JPanelDialog.html +++ b/doc/javadoc/net/java/joglutils/class-use/JPanelDialog.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:20 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.JPanelDialog
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/ColorButton.html b/doc/javadoc/net/java/joglutils/lighting/ColorButton.html index 378f8a2..b2a5bf8 100644 --- a/doc/javadoc/net/java/joglutils/lighting/ColorButton.html +++ b/doc/javadoc/net/java/joglutils/lighting/ColorButton.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:08 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:16 CDT 2006 -->
<TITLE>
ColorButton
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/Light.html b/doc/javadoc/net/java/joglutils/lighting/Light.html index b174540..4765631 100644 --- a/doc/javadoc/net/java/joglutils/lighting/Light.html +++ b/doc/javadoc/net/java/joglutils/lighting/Light.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:08 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:17 CDT 2006 -->
<TITLE>
Light
</TITLE>
@@ -162,7 +162,7 @@ This class encapsulates the settings for an OpenGL light. It has two modes: <TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#apply(javax.media.opengl.GL)">apply</A></B>(javax.media.opengl.GL gl)</CODE>
<BR>
- Applies the settings on this Light to the specified OpenGL context, + Applies the settings on this Light to the specified OpenGL context, using the light number stored in the Light.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -172,7 +172,7 @@ This class encapsulates the settings for an OpenGL light. It has two modes: int lightNumber)</CODE>
<BR>
- Applies the settings on this Light to the specified OpenGL context, + Applies the settings on this Light to the specified OpenGL context, using the requested light number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -371,6 +371,30 @@ This class encapsulates the settings for an OpenGL light. It has two modes: </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#initializePhongShader()">initializePhongShader</A></B>()</CODE>
+
+<BR>
+ Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading) on the current OpenGL context.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#initializePhongShader(javax.media.opengl.GL)">initializePhongShader</A></B>(javax.media.opengl.GL gl)</CODE>
+
+<BR>
+ Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isAmbientPhongColorMaterial()">isAmbientPhongColorMaterial</A></B>()</CODE>
+
+<BR>
+ Determines if color material is used for ambient in the Phong shader</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isAttached()">isAttached</A></B>()</CODE>
@@ -379,6 +403,22 @@ This class encapsulates the settings for an OpenGL light. It has two modes: </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isDiffusePhongColorMaterial()">isDiffusePhongColorMaterial</A></B>()</CODE>
+
+<BR>
+ Determines if color material is used for diffuse in the Phong shader</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isPhongShaded()">isPhongShaded</A></B>()</CODE>
+
+<BR>
+ Tells if this Light is using Phong shading</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#makeDirectional()">makeDirectional</A></B>()</CODE>
@@ -403,12 +443,28 @@ This class encapsulates the settings for an OpenGL light. It has two modes: </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#removePhongShader()">removePhongShader</A></B>()</CODE>
+
+<BR>
+ Removes the Phong Shader program from the current GL Context</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#removePhongShader(javax.media.opengl.GL)">removePhongShader</A></B>(javax.media.opengl.GL gl)</CODE>
+
+<BR>
+ Removes the Phong Shader program from the specified GL Context</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#retrieve()">retrieve</A></B>()</CODE>
<BR>
- Reconfigure the settings for this Light from the state of the - attached <CODE>GL</CODE> Context.</TD>
+ Reconfigure the settings for this Light from the state of the attached + <CODE>GL</CODE> Context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -416,7 +472,7 @@ This class encapsulates the settings for an OpenGL light. It has two modes: <TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#retrieve(javax.media.opengl.GL)">retrieve</A></B>(javax.media.opengl.GL gl)</CODE>
<BR>
- Reconfigures the settings on this Light from the state of the specified + Reconfigures the settings on this Light from the state of the specified OpenGL context, using the light number stored in the Light.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -426,7 +482,7 @@ This class encapsulates the settings for an OpenGL light. It has two modes: int lightNumber)</CODE>
<BR>
- Reconfigures the settings on this Light from the state of the specified + Reconfigures the settings on this Light from the state of the specified OpenGL context, using the requested light number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -514,6 +570,23 @@ This class encapsulates the settings for an OpenGL light. It has two modes: <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setPhongColorMaterial(boolean, boolean)">setPhongColorMaterial</A></B>(boolean ambient,
+ boolean diffuse)</CODE>
+
+<BR>
+ Sets whether or not the opengl color should be used for the phong color shader</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setPhongShaded(boolean)">setPhongShaded</A></B>(boolean usePhongShading)</CODE>
+
+<BR>
+ Sets if phong per-fragment shading (as opposed to fixed-functionality per-vertex shading) is to be used with this Light.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setQuadraticAttenuation(float)">setQuadraticAttenuation</A></B>(float quadraticAttenuation)</CODE>
<BR>
@@ -605,8 +678,7 @@ public <B>Light</B>(javax.media.opengl.GL gl) <DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach the light to
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if all lights in the specified OpenGL context are already attached. Light is detached from any OpenGL Context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number is invalid or is already in use by another Light. Light is detached from any OpenGL Context.</DL>
</DL>
<HR>
@@ -622,8 +694,7 @@ public <B>Light</B>(javax.media.opengl.GL gl, <DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach the light to<DD><CODE>lightNumber</CODE> - the light number to be used (must be on [0,7])
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number is invalid or is already in use by another Light. Light is detached from any OpenGL Context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number is invalid or is already in use by another Light. Light is detached from any OpenGL Context.</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
@@ -691,8 +762,7 @@ public void <B>setLightNumber</B>(int lightNumber) <DD><DL>
<DT><B>Parameters:</B><DD><CODE>lightNumber</CODE> - the light number to apply to this Light (must be on [0,7])
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number is invalid or is already in use by another Light object on the attached OpenGL Context. Light is detached from any OpenGL Context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - in use by another Light object on the attached OpenGL Context. Light is detached from any OpenGL Context.</DL>
</DD>
</DL>
<HR>
@@ -708,8 +778,7 @@ public void <B>setLightID</B>(int lightID) <DD><DL>
<DT><B>Parameters:</B><DD><CODE>lightID</CODE> - the OpenGL light ID (must be of the GL_LIGHTn family)
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the input is not a valid light or the light is in use by another Light on the attached OpenGL Context. Light is detached from any OpenGL Context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the input is not a valid light or the light is in use by another Light on the attached OpenGL Context. Light is detached from any OpenGL Context.</DL>
</DD>
</DL>
<HR>
@@ -725,8 +794,7 @@ public void <B>setAttachedGL</B>(javax.media.opengl.GL gl) <DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach this to
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the specified context has no free lights. Light is detached from any OpenGL Context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the specified context has no free lights. Light is detached from any OpenGL Context.</DL>
</DD>
</DL>
<HR>
@@ -777,7 +845,8 @@ apply</H3> <PRE>
public void <B>apply</B>()</PRE>
<DL>
-<DD>Applies the settings on this Light to the attached <CODE>GL</CODE> Context.
+<DD>Applies the settings on this Light to the attached <CODE>GL</CODE> Context. + Note that this will not apply Phong Shader settings.
<P>
<DD><DL>
</DL>
@@ -790,8 +859,8 @@ retrieve</H3> <PRE>
public void <B>retrieve</B>()</PRE>
<DL>
-<DD>Reconfigure the settings for this Light from the state of the - attached <CODE>GL</CODE> Context.
+<DD>Reconfigure the settings for this Light from the state of the attached + <CODE>GL</CODE> Context. Note that this will not retrieve Phong Shader settings.
<P>
<DD><DL>
</DL>
@@ -831,14 +900,13 @@ apply</H3> public void <B>apply</B>(javax.media.opengl.GL gl)
throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
<DL>
-<DD>Applies the settings on this Light to the specified OpenGL context, - using the light number stored in the Light.
+<DD>Applies the settings on this Light to the specified OpenGL context, + using the light number stored in the Light. Note that this will not apply Phong Shader settings.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number stored in this Light is invalid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -849,14 +917,13 @@ retrieve</H3> public void <B>retrieve</B>(javax.media.opengl.GL gl)
throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
<DL>
-<DD>Reconfigures the settings on this Light from the state of the specified - OpenGL context, using the light number stored in the Light.
+<DD>Reconfigures the settings on this Light from the state of the specified + OpenGL context, using the light number stored in the Light. Note that this will not retrieve Phong Shader settings.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number stored in this Light is invalid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -872,8 +939,7 @@ public void <B>enable</B>(javax.media.opengl.GL gl) <DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number stored in this Light is invalid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -889,8 +955,7 @@ public void <B>disable</B>(javax.media.opengl.GL gl) <DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the light number stored in this Light is invalid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -902,14 +967,13 @@ public void <B>apply</B>(javax.media.opengl.GL gl, int lightNumber)
throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
<DL>
-<DD>Applies the settings on this Light to the specified OpenGL context, - using the requested light number.
+<DD>Applies the settings on this Light to the specified OpenGL context, + using the requested light number. Note that this will not apply Phong Shader settings.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the requested light is not valid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -921,14 +985,13 @@ public void <B>retrieve</B>(javax.media.opengl.GL gl, int lightNumber)
throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
<DL>
-<DD>Reconfigures the settings on this Light from the state of the specified - OpenGL context, using the requested light number.
+<DD>Reconfigures the settings on this Light from the state of the specified + OpenGL context, using the requested light number. Note that this will not retrieve Phong Shader settings.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the requested light is not valid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -945,8 +1008,7 @@ public void <B>enable</B>(javax.media.opengl.GL gl, <DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the requested light is not valid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -963,8 +1025,7 @@ public void <B>disable</B>(javax.media.opengl.GL gl, <DD><DL>
<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the requested light is not valid on the specified context.
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
</DD>
</DL>
<HR>
@@ -1055,7 +1116,7 @@ setLightPosition</H3> <PRE>
public void <B>setLightPosition</B>(float[] lightPosition)</PRE>
<DL>
-<DD>Specifies the direction vector for this Light. +<DD>Specifies the direction vector for this Light. (i.e. this the first 3 components specified when setting GL_POSITION with glLight) Default is {0,0,1}.
<P>
@@ -1072,7 +1133,7 @@ public void <B>setLightPosition</B>(float lightx, float lighty,
float lightz)</PRE>
<DL>
-<DD>Specifies the direction vector for this Light. +<DD>Specifies the direction vector for this Light. (i.e. this the first 3 components specified when setting GL_POSITION with glLight) Default is {0,0,1}.
<P>
@@ -1344,8 +1405,7 @@ public static int <B>idToNum</B>(int lightID) <DT><B>Parameters:</B><DD><CODE>lightID</CODE> - the OpenGL ID (should be one of GL_LIGHTn where n is on [0,7])
<DT><B>Returns:</B><DD>the appropriate light number (on [0,7])
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the supplied lightID is not an OpenGL light ID
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the supplied lightID is not an OpenGL light ID</DL>
</DD>
</DL>
<HR>
@@ -1362,8 +1422,7 @@ public static int <B>numToID</B>(int lightNum) <DT><B>Parameters:</B><DD><CODE>lightNum</CODE> - a number on [0,7] specifying the a light
<DT><B>Returns:</B><DD>the OpenGL ID for that light number (from the GL_LIGHTn family)
<DT><B>Throws:</B>
-<DD><CODE>sddm.lighting.LightingException</CODE> - if the input is invalid
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE></DL>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the supplied lightID is not an OpenGL light ID</DL>
</DD>
</DL>
<HR>
@@ -1380,6 +1439,143 @@ public static boolean <B>hasFreeLights</B>(javax.media.opengl.GL gl)</PRE> <DT><B>Returns:</B><DD>true if another Light object can be attached to this GL context</DL>
</DD>
</DL>
+<HR>
+
+<A NAME="setPhongShaded(boolean)"><!-- --></A><H3>
+setPhongShaded</H3>
+<PRE>
+public void <B>setPhongShaded</B>(boolean usePhongShading)
+ throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
+<DL>
+<DD>Sets if phong per-fragment shading (as opposed to fixed-functionality per-vertex shading) is to be used with this Light. Must come before the light is enabled. + This uses a vertex and fragment shader, so the fixed-functionality pipeline will not function normally.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>usePhongShading</CODE> - if Phong should be used. If true and this Light is attached to a GL Context, initializes on this Light's context
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the current OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isPhongShaded()"><!-- --></A><H3>
+isPhongShaded</H3>
+<PRE>
+public boolean <B>isPhongShaded</B>()</PRE>
+<DL>
+<DD>Tells if this Light is using Phong shading
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>true if this Light is in Phong shading mode</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPhongColorMaterial(boolean, boolean)"><!-- --></A><H3>
+setPhongColorMaterial</H3>
+<PRE>
+public void <B>setPhongColorMaterial</B>(boolean ambient,
+ boolean diffuse)</PRE>
+<DL>
+<DD>Sets whether or not the opengl color should be used for the phong color shader
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ambient</CODE> - the ambient color material mode<DD><CODE>diffuse</CODE> - the diffuse color material mode</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isAmbientPhongColorMaterial()"><!-- --></A><H3>
+isAmbientPhongColorMaterial</H3>
+<PRE>
+public boolean <B>isAmbientPhongColorMaterial</B>()</PRE>
+<DL>
+<DD>Determines if color material is used for ambient in the Phong shader
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>true if color material is used for the phong ambient shader</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isDiffusePhongColorMaterial()"><!-- --></A><H3>
+isDiffusePhongColorMaterial</H3>
+<PRE>
+public boolean <B>isDiffusePhongColorMaterial</B>()</PRE>
+<DL>
+<DD>Determines if color material is used for diffuse in the Phong shader
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>true if color material is used for the phong diffuse shader</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="initializePhongShader()"><!-- --></A><H3>
+initializePhongShader</H3>
+<PRE>
+public static void <B>initializePhongShader</B>()
+ throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
+<DL>
+<DD>Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading) on the current OpenGL context. Must be called before Phong shading can be activated.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="initializePhongShader(javax.media.opengl.GL)"><!-- --></A><H3>
+initializePhongShader</H3>
+<PRE>
+public static void <B>initializePhongShader</B>(javax.media.opengl.GL gl)
+ throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
+<DL>
+<DD>Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading). Must be called on the context before Phong shading can be activated.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the openGL context on which to initialize the shader
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removePhongShader()"><!-- --></A><H3>
+removePhongShader</H3>
+<PRE>
+public static void <B>removePhongShader</B>()
+ throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
+<DL>
+<DD>Removes the Phong Shader program from the current GL Context
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if there is no Phong Shader</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removePhongShader(javax.media.opengl.GL)"><!-- --></A><H3>
+removePhongShader</H3>
+<PRE>
+public static void <B>removePhongShader</B>(javax.media.opengl.GL gl)
+ throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
+<DL>
+<DD>Removes the Phong Shader program from the specified GL Context
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to remove the Phong shader program from
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if there is no Phong Shader initialized on this context</DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
diff --git a/doc/javadoc/net/java/joglutils/lighting/LightPanel.html b/doc/javadoc/net/java/joglutils/lighting/LightPanel.html index 48fbd70..38db1b4 100644 --- a/doc/javadoc/net/java/joglutils/lighting/LightPanel.html +++ b/doc/javadoc/net/java/joglutils/lighting/LightPanel.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:09 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:17 CDT 2006 -->
<TITLE>
LightPanel
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/LightingException.html b/doc/javadoc/net/java/joglutils/lighting/LightingException.html index 4d41b7b..1b73b07 100644 --- a/doc/javadoc/net/java/joglutils/lighting/LightingException.html +++ b/doc/javadoc/net/java/joglutils/lighting/LightingException.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:09 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:17 CDT 2006 -->
<TITLE>
LightingException
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/Material.html b/doc/javadoc/net/java/joglutils/lighting/Material.html index a2e22b0..544a416 100644 --- a/doc/javadoc/net/java/joglutils/lighting/Material.html +++ b/doc/javadoc/net/java/joglutils/lighting/Material.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:09 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:18 CDT 2006 -->
<TITLE>
Material
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/MaterialPanel.html b/doc/javadoc/net/java/joglutils/lighting/MaterialPanel.html index 9badc09..be2c940 100644 --- a/doc/javadoc/net/java/joglutils/lighting/MaterialPanel.html +++ b/doc/javadoc/net/java/joglutils/lighting/MaterialPanel.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:09 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:18 CDT 2006 -->
<TITLE>
MaterialPanel
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/ColorButton.html b/doc/javadoc/net/java/joglutils/lighting/class-use/ColorButton.html index 859b29e..231cc28 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/ColorButton.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/ColorButton.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.ColorButton
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/Light.html b/doc/javadoc/net/java/joglutils/lighting/class-use/Light.html index 34b8df3..abf52ea 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/Light.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/Light.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.Light
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/LightPanel.html b/doc/javadoc/net/java/joglutils/lighting/class-use/LightPanel.html index 5416250..8263521 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/LightPanel.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/LightPanel.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.LightPanel
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/LightingException.html b/doc/javadoc/net/java/joglutils/lighting/class-use/LightingException.html index bcd590d..70874ac 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/LightingException.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/LightingException.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.LightingException
</TITLE>
@@ -120,7 +120,7 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht <TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#apply(javax.media.opengl.GL)">apply</A></B>(javax.media.opengl.GL gl)</CODE>
<BR>
- Applies the settings on this Light to the specified OpenGL context, + Applies the settings on this Light to the specified OpenGL context, using the light number stored in the Light.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -130,7 +130,7 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht int lightNumber)</CODE>
<BR>
- Applies the settings on this Light to the specified OpenGL context, + Applies the settings on this Light to the specified OpenGL context, using the requested light number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -193,6 +193,22 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#initializePhongShader()">initializePhongShader</A></B>()</CODE>
+
+<BR>
+ Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading) on the current OpenGL context.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#initializePhongShader(javax.media.opengl.GL)">initializePhongShader</A></B>(javax.media.opengl.GL gl)</CODE>
+
+<BR>
+ Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#numToID(int)">numToID</A></B>(int lightNum)</CODE>
@@ -201,6 +217,22 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht </TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#removePhongShader()">removePhongShader</A></B>()</CODE>
+
+<BR>
+ Removes the Phong Shader program from the current GL Context</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#removePhongShader(javax.media.opengl.GL)">removePhongShader</A></B>(javax.media.opengl.GL gl)</CODE>
+
+<BR>
+ Removes the Phong Shader program from the specified GL Context</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Material.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Material.html#retrieve()">retrieve</A></B>()</CODE>
@@ -213,7 +245,7 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht <TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#retrieve(javax.media.opengl.GL)">retrieve</A></B>(javax.media.opengl.GL gl)</CODE>
<BR>
- Reconfigures the settings on this Light from the state of the specified + Reconfigures the settings on this Light from the state of the specified OpenGL context, using the light number stored in the Light.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -223,7 +255,7 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht int lightNumber)</CODE>
<BR>
- Reconfigures the settings on this Light from the state of the specified + Reconfigures the settings on this Light from the state of the specified OpenGL context, using the requested light number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
@@ -258,6 +290,14 @@ Uses of <A HREF="../../../../../net/java/joglutils/lighting/LightingException.ht <BR>
Sets the number of the OpenGL light to use in subsequent method calls</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>Light.</B><B><A HREF="../../../../../net/java/joglutils/lighting/Light.html#setPhongShaded(boolean)">setPhongShaded</A></B>(boolean usePhongShading)</CODE>
+
+<BR>
+ Sets if phong per-fragment shading (as opposed to fixed-functionality per-vertex shading) is to be used with this Light.</TD>
+</TR>
</TABLE>
<P>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/Material.html b/doc/javadoc/net/java/joglutils/lighting/class-use/Material.html index 11a5712..d0bd9f3 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/Material.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/Material.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.Material
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/class-use/MaterialPanel.html b/doc/javadoc/net/java/joglutils/lighting/class-use/MaterialPanel.html index 059fe53..dcc52ce 100644 --- a/doc/javadoc/net/java/joglutils/lighting/class-use/MaterialPanel.html +++ b/doc/javadoc/net/java/joglutils/lighting/class-use/MaterialPanel.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Class net.java.joglutils.lighting.MaterialPanel
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/package-frame.html b/doc/javadoc/net/java/joglutils/lighting/package-frame.html index c4d4e72..a3a18ed 100644 --- a/doc/javadoc/net/java/joglutils/lighting/package-frame.html +++ b/doc/javadoc/net/java/joglutils/lighting/package-frame.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils.lighting
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/lighting/package-summary.html b/doc/javadoc/net/java/joglutils/lighting/package-summary.html index 2fa179e..7a608d6 100644 --- a/doc/javadoc/net/java/joglutils/lighting/package-summary.html +++ b/doc/javadoc/net/java/joglutils/lighting/package-summary.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils.lighting
</TITLE>
@@ -53,7 +53,7 @@ function windowTitle() <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/java/joglutils/package-summary.html"><B>PREV PACKAGE</B></A>
- NEXT PACKAGE</FONT></TD>
+ <A HREF="../../../../net/java/joglutils/test3ds/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/java/joglutils/lighting/package-summary.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
@@ -156,7 +156,7 @@ Package net.java.joglutils.lighting <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/java/joglutils/package-summary.html"><B>PREV PACKAGE</B></A>
- NEXT PACKAGE</FONT></TD>
+ <A HREF="../../../../net/java/joglutils/test3ds/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/java/joglutils/lighting/package-summary.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
diff --git a/doc/javadoc/net/java/joglutils/lighting/package-tree.html b/doc/javadoc/net/java/joglutils/lighting/package-tree.html index 96109d8..62b43ae 100644 --- a/doc/javadoc/net/java/joglutils/lighting/package-tree.html +++ b/doc/javadoc/net/java/joglutils/lighting/package-tree.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils.lighting Class Hierarchy
</TITLE>
@@ -52,7 +52,7 @@ function windowTitle() <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/java/joglutils/package-tree.html"><B>PREV</B></A>
- NEXT</FONT></TD>
+ <A HREF="../../../../net/java/joglutils/test3ds/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/java/joglutils/lighting/package-tree.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
@@ -146,7 +146,7 @@ Class Hierarchy <TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/java/joglutils/package-tree.html"><B>PREV</B></A>
- NEXT</FONT></TD>
+ <A HREF="../../../../net/java/joglutils/test3ds/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/java/joglutils/lighting/package-tree.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
diff --git a/doc/javadoc/net/java/joglutils/lighting/package-use.html b/doc/javadoc/net/java/joglutils/lighting/package-use.html index 2187a9b..ba6e64f 100644 --- a/doc/javadoc/net/java/joglutils/lighting/package-use.html +++ b/doc/javadoc/net/java/joglutils/lighting/package-use.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Package net.java.joglutils.lighting
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/package-frame.html b/doc/javadoc/net/java/joglutils/package-frame.html index 31efbd1..88ee597 100644 --- a/doc/javadoc/net/java/joglutils/package-frame.html +++ b/doc/javadoc/net/java/joglutils/package-frame.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/package-summary.html b/doc/javadoc/net/java/joglutils/package-summary.html index 67dd965..aca04ed 100644 --- a/doc/javadoc/net/java/joglutils/package-summary.html +++ b/doc/javadoc/net/java/joglutils/package-summary.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/package-tree.html b/doc/javadoc/net/java/joglutils/package-tree.html index 1f5dffc..04a9244 100644 --- a/doc/javadoc/net/java/joglutils/package-tree.html +++ b/doc/javadoc/net/java/joglutils/package-tree.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:19 CDT 2006 -->
<TITLE>
net.java.joglutils Class Hierarchy
</TITLE>
diff --git a/doc/javadoc/net/java/joglutils/package-use.html b/doc/javadoc/net/java/joglutils/package-use.html index e60b93e..5cdcb89 100644 --- a/doc/javadoc/net/java/joglutils/package-use.html +++ b/doc/javadoc/net/java/joglutils/package-use.html @@ -2,7 +2,7 @@ <!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Jul 27 17:37:10 CDT 2006 -->
+<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:23 CDT 2006 -->
<TITLE>
Uses of Package net.java.joglutils
</TITLE>
|