diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/j3d1_4/api-changes.html | 35 | ||||
-rw-r--r-- | www/j3d1_4/proposed-changes.html | 20 |
2 files changed, 38 insertions, 17 deletions
diff --git a/www/j3d1_4/api-changes.html b/www/j3d1_4/api-changes.html index b058b38..6f52187 100644 --- a/www/j3d1_4/api-changes.html +++ b/www/j3d1_4/api-changes.html @@ -49,6 +49,12 @@ to the Java 3D API. <pre> I. New/deprecated fields, constructors, methods + Canvas3D + -------- + New methods: + public boolean isShadingLanguageSupported(int shadingLanguage) + + SceneGraphObject ---------------- New methods: @@ -69,13 +75,11 @@ I. New/deprecated fields, constructors, methods int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, - int[] vertexAttrSizes, - String[] vertexAttrNames) + int[] vertexAttrSizes) New methods: public int getVertexAttrCount() public void getVertexAttrSizes(int[] vertexAttrSizes) - public void getVertexAttrNames(String[] vertexAttrNames) public void setVertexAttr(int vertexAttrNum, int index, float[] vertexAttr) public void setVertexAttr(int vertexAttrNum, int index, @@ -137,8 +141,7 @@ I. New/deprecated fields, constructors, methods int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, - int[] vertexAttrSizes, - String[] vertexAttrNames) + int[] vertexAttrSizes) Node @@ -195,6 +198,28 @@ I. New/deprecated fields, constructors, methods public void getRead(Transform3D read, long deltaT) + RenderingAttributes + ----------- + New fields: + public static final int ALLOW_DEPTH_TEST_FUNCTION_READ + public static final int ALLOW_DEPTH_TEST_FUNCTION_WRITE + + New constructors: + public RenderingAttributes(boolean depthBufferEnable, + boolean depthBufferWriteEnable, + int depthTestFunction, + float alphaTestValue, + int alphaTestFunction, + boolean visible, + boolean ignoreVertexColors, + boolean rasterOpEnable, + int rasterOp) + + New methods: + public void setDepthTestFunction(int function) + public int getDepthTestFunction() + + II. Reparented classes NONE diff --git a/www/j3d1_4/proposed-changes.html b/www/j3d1_4/proposed-changes.html index 4ef95ed..a0d33fd 100644 --- a/www/j3d1_4/proposed-changes.html +++ b/www/j3d1_4/proposed-changes.html @@ -70,8 +70,14 @@ to be called on live/compiled scene graph</li> method and <a href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/Node.html#ALLOW_LOCALE_READ"><code>ALLOW_LOCALE_READ</code></a> capability bit to <code>Node</code> -class<br> - </li> +class</li> + <li>Add a new attribute for depth test function to +RenderingAttributes: public <a + href="http://javadesktop.org/java3d/javadoc/1.4.0-latest/javax/media/j3d/RenderingAttributes.html#setDepthTestFunction%28int%29"><code>get/setDepthTestFunction(int function)</code></a> +methods that takes as values one of: <code>ALWAYS, NEVER, +EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER, GREATER_OR_EQUAL</code>. +The default value is <code>LESS_OR_EQUAL</code> for backward +compatibility.</li> </ul> <p>This is a list of features that we propose to <a href="#Footnote_1">deprecate<sup>1</sup></a> in @@ -114,16 +120,6 @@ will not happen without an someone from the community volunteering to drive it.</span></li> - <li>Add a new attribute for depth test function to -RenderingAttributes: public <code>get/setDepthTestFunction(int function)</code> -methods that takes as values one of: <code>ALWAYS, NEVER, -EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER, GREATER_OR_EQUAL</code>. -The default value would be <code>LESS_OR_EQUAL</code> for backward -compatibility. <span style="color: rgb(204, 0, 0);">Note: this feature -will not -happen -without an someone from the community volunteering -to drive it.</span></li> <li>Method to retrieve the geometry data from the tessellation of a glyph in a 3D font: a |