From cf8ede3565aa340fa63ef1968e74d29d07fac7f4 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Sat, 11 Dec 2004 00:18:47 +0000 Subject: Updated javadocs for 1.4 shaders git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@91 ba19aa83-45c5-6ac9-afd3-db810772062c --- www/j3d1_4/shaders.html | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'www/j3d1_4/shaders.html') diff --git a/www/j3d1_4/shaders.html b/www/j3d1_4/shaders.html index cca439a..ea88188 100644 --- a/www/j3d1_4/shaders.html +++ b/www/j3d1_4/shaders.html @@ -13,14 +13,14 @@ programmable shading specification for Java 3DTM 1.4 that you can review, you are in the wrong place; or more accurately, the right -place at the wrong time. Come back in about 2 months and things should +place at the wrong time. Come back in about 1-2 months and things should be in state where you can review a fairly complete draft specification. If, on the other hand, you'd like to help us define and evolve the programmable shading API in Java 3D 1.4, please read on.

-

This is a very rough first draft of what we are thinking in terms +

This is a rough first draft of what we are thinking in terms of programmable shader support in Java 3D 1.4. As we mentioned at JavaOne, we plan to do the 1.4 API specification under the auspices of the Java Community Process (JCP). However, we very much want to @@ -45,18 +45,18 @@ in Java 3D is:

public abstract class Shader extends NodeComponent -
  • Concrete GL2 shader classes:
  • +
  • Concrete GLSL shader classes:
  • Shader Parameters

    @@ -144,7 +144,7 @@ etc. Several Java 3D state attributes are automatically available to the shader program as pre-defined uniform parameters. The application doesn't need to do anything to pass these parameters in to the shader program. The implementation of each shader language (e.g., -Cg, GL2) defines its own mapping from Java 3D attribute to uniform +Cg, GLSL) defines its own mapping from Java 3D attribute to uniform variable name.

    We need additional API to allow applications to pass in uniform @@ -165,7 +165,7 @@ Attribute
    Cg shader variable
    -GL2 +GLSL shader variable
    @@ -205,5 +205,7 @@ varying parameters...
    TODO: Finish this...

    TODO: more info here.

    +

    Page last updated — $Date$ +

    -- cgit v1.2.3