aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/j3d1_4/proposed-changes.html11
-rw-r--r--www/j3d1_4/stencil.html12
2 files changed, 17 insertions, 6 deletions
diff --git a/www/j3d1_4/proposed-changes.html b/www/j3d1_4/proposed-changes.html
index 336f585..8be75a1 100644
--- a/www/j3d1_4/proposed-changes.html
+++ b/www/j3d1_4/proposed-changes.html
@@ -37,9 +37,14 @@ into the 1.4 version of the Java&nbsp;3D API.</p>
<ul>
<li><a href="shaders.html">Programmable
Shaders</a></li>
- <li>Additional blending functions, for example: <code>BLEND_SRC_COLOR</code>,
- <code>BLEND_ONE_MINUS_SRC_COLOR</code>, <code>BLEND_DST_COLOR</code>,
- <code>BLEND_ONE_MINUS_DST_COLOR</code>, etc.</li>
+ <li>Additional blending functions: <a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/TransparencyAttributes.html#BLEND_SRC_COLOR"><code>BLEND_SRC_COLOR</code></a>,
+ <a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/TransparencyAttributes.html#BLEND_ONE_MINUS_SRC_COLOR"><code>BLEND_ONE_MINUS_SRC_COLOR</code></a>,
+ <a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/TransparencyAttributes.html#BLEND_DST_COLOR"><code>BLEND_DST_COLOR</code></a>,
+ <a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/TransparencyAttributes.html#BLEND_ONE_MINUS_DST_COLOR"><code>BLEND_ONE_MINUS_DST_COLOR</code></a>.</li>
<li><a href="picking.html">Additional
core picking methods</a> (in
Locale and BranchGroup)</li>
diff --git a/www/j3d1_4/stencil.html b/www/j3d1_4/stencil.html
index dfa706c..440a659 100644
--- a/www/j3d1_4/stencil.html
+++ b/www/j3d1_4/stencil.html
@@ -21,7 +21,7 @@ antialiasing is needed. The GraphicsConfiguration is used in turn used
to create a Canvas3D into which Java&nbsp;3D can render.<br>
</p>
<p>We propose to add a
-new StencilSize attribute to GraphicsConfigTemplate3D that will allow
+new stencilSize attribute to GraphicsConfigTemplate3D that will allow
an application to create a Canvas3D (on-screen or off-screen) with a
stencil buffer. We also propose to add new attributes to the
RenderingAttributes object that will allow an application to control
@@ -30,13 +30,19 @@ equivalent OpenGL methods. Note that since multipass support is not yet
available, applications wishing to use stencil will need to make use of
OrderedGroup (or use mixed-mode / immediate-mode rendering).<br>
</p>
+<p>See the new javadoc for more information: <a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/GraphicsConfigTemplate3D.html#setStencilSize%28int%29">GraphicsConfigTemplate3D.setStencilSize</a>,
+<a
+ href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/RenderingAttributes.html">RenderingAttributes</a>.
+</p>
<p>The proposed API changes are:<br>
</p>
<ul>
- <li>New methods in existing classes:<br>
+ <li>New fields and set methods in existing classes (will also add get
+methods):<br>
</li>
<ul>
- <pre>GraphicsConfigTemplate3D<br> method: setStencilSize(int) // default=0<br><br>RenderingAttributes<br> method: setStencilEnable(boolean enable)<br> method: setStencilOp(int fail, int zfail, int zpass)<br> method: setStencilFunc(int func, int ref, int mask)<br> method: setStencilMask(int mask)<br></pre>
+ <pre>GraphicsConfigTemplate3D<br> method: setStencilSize(int) // default=0<br><br>RenderingAttributes<br> fields: ALLOW_STENCIL_ATTRIBUTES_READ/WRITE<br> fields: STENCIL_KEEP, STENCIL_ZERO, STENCIL_REPLACE,<br> fields: STENCIL_INCR, STENCIL_DECR, STENCIL_INVERT<br> method: setStencilEnable(boolean enable)<br> method: setStencilOp(int fail, int zfail, int zpass)<br> method: setStencilFunction(int func, int ref, int mask)<br> method: setStencilWriteMask(int mask)<br></pre>
</ul>
</ul>
<p>Issues:<br>