diff options
author | Kevin Rushforth <[email protected]> | 2005-06-17 16:56:45 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2005-06-17 16:56:45 +0000 |
commit | daaabb41963d7b186efbf6fcc02d24c71a527f73 (patch) | |
tree | b9206f0ac22858fbfd408429e0b058e210caebf1 /www | |
parent | 5db098d8e0968bf2fd2fb14bfc1baeda1c02734a (diff) |
web page updates for new blend modes and for stencil buffer.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@322 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'www')
-rw-r--r-- | www/j3d1_4/proposed-changes.html | 11 | ||||
-rw-r--r-- | www/j3d1_4/stencil.html | 12 |
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 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 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> |