aboutsummaryrefslogtreecommitdiffstats
path: root/www/j3d1_4/api-changes.html
blob: b058b386069f12416f9f36d0b4d2e2ddd3b77403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
/*
 * $RCSfile$
 *
 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
 *
 * Use is subject to license terms.
 *
 * $Revision$
 * $Date$
 * $State$
 */
 -->

<!--
************************************************************************
*
* NOTE: This file must be edited by hand to avoid Mozilla Composer
* putting all preformatted lines into a single line with "<br>"
* replacing ASCII newlines, making it impossible to do a meaningful
* "diff" operation.
*
************************************************************************
-->

<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>List of Proposed Java 3D 1.4 API Changes</title>
</head>
<body>
<h2>List of Proposed Java&nbsp;3D<sup><font size="-2">TM</font></sup>
1.4 API Changes</h2>
<p>This document conatains a list of the proposed API changes to the
Java&nbsp;3D<sup><font size="-2">TM</font></sup> 1.4 API
that deviate from the 1.3 API.
</p>
<p>Note: the most up-to-date version of
this list is in the <code>dev-1_4</code> branch of the
<code>docs/api-changes-1_4.txt</code>
file, which is updated to record the addition or deprecation of
any public or protected class, interface, field, constructor, or method
to the Java&nbsp;3D API.
</p>
<p>No incompatible changes to the Java&nbsp;3D 1.3 API are allowed.</p>
<pre>
I. New/deprecated fields, constructors, methods

    SceneGraphObject
    ----------------
    New methods:
	public void setName(String name)
	public String getName()


    GeometryArray (incomplete list)
    -------------
    New fields:
	public static final int ALLOW_VERTEX_ATTR_READ
	public static final int ALLOW_VERTEX_ATTR_WRITE
	public static final int VERTEX_ATTRIBUTES

    New constructors:
	public GeometryArray(int vertexCount,
			     int vertexFormat,
			     int texCoordSetCount,
			     int[] texCoordSetMap,
			     int vertexAttrCount,
			     int[] vertexAttrSizes,
			     String[] vertexAttrNames)

    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,
				  Point2f vertexAttr)
	public void setVertexAttr(int vertexAttrNum, int index,
				  Point3f vertexAttr)
	public void setVertexAttr(int vertexAttrNum, int index,
				  Point4f vertexAttr)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   float[] vertexAttrs)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point2f[] vertexAttrs)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point3f[] vertexAttrs)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point4f[] vertexAttrs)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   float[] vertexAttrs,
				   int start, int length)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point2f[] vertexAttrs,
				   int start, int length)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point3f[] vertexAttrs,
				   int start, int length)
	public void setVertexAttrs(int vertexAttrNum, int index,
				   Point4f[] vertexAttrs,
				   int start, int length)
	public void getVertexAttr(int vertexAttrNum, int index,
				  float[] vertexAttr)
	public void getVertexAttr(int vertexAttrNum, int index,
				  Point2f vertexAttr)
	public void getVertexAttr(int vertexAttrNum, int index,
				  Point3f vertexAttr)
	public void getVertexAttr(int vertexAttrNum, int index,
				  Point4f vertexAttr)
	public void getVertexAttrs(int vertexAttrNum, int index,
				   float[] vertexAttrs)
	public void getVertexAttrs(int vertexAttrNum, int index,
				   Point2f[] vertexAttrs)
	public void getVertexAttrs(int vertexAttrNum, int index,
				   Point3f[] vertexAttrs)
	public void getVertexAttrs(int vertexAttrNum, int index,
				   Point4f[] vertexAttrs)
	public void setInitialVertexAttrIndex(int vertexAttrNum,
					      int initialVertexAttrIndex)
	public int getInitialVertexAttrIndex(int vertexAttrNum)
	public void setVertexAttrRefBuffer(int vertexAttrNum, J3DBuffer vertexAttrs)
	public J3DBuffer getVertexAttrRefBuffer(int vertexAttrNum)
	public void setVertexAttrRefFloat(int vertexAttrNum, float[] vertexAttrs)
	public float[] getVertexAttrRefFloat(int vertexAttrNum)


    TriangleArray
    -------------
    New constructors:
	public TriangleArray(int vertexCount,
			     int vertexFormat,
			     int texCoordSetCount,
			     int[] texCoordSetMap,
			     int vertexAttrCount,
			     int[] vertexAttrSizes,
			     String[] vertexAttrNames)


    Node
    ----
    New fields:
	public static final int ALLOW_PARENT_READ
	public static final int ALLOW_LOCALE_READ

    New methods:
	public Locale getLocale()


    VirtualUniverse
    ---------------
    New methods:
	public void addGraphStructureChangeListener(GraphStructureChangeListener listener)
	public void removeGraphStructureChangeListener(GraphStructureChangeListener listener)
	public void addShaderErrorListener(ShaderErrorListener listener)
	public void removeShaderErrorListener(ShaderErrorListener listener)


    Locale
    ------
    New methods:
	public PickInfo[] pickAll( int mode, int flags, PickShape pickShape )
	public PickInfo[] pickAllSorted( int mode, int flags, PickShape pickShape )
	public PickInfo pickClosest( int mode, int flags, PickShape pickShape )
	public PickInfo pickAny( int mode, int flags, PickShape pickShape )


    BranchGroup
    -----------
    New methods:
	public PickInfo[] pickAll( int mode, int flags, PickShape pickShape )
	public PickInfo[] pickAllSorted( int mode, int flags, PickShape pickShape )
	public PickInfo pickClosest( int mode, int flags, PickShape pickShape )
	public PickInfo pickAny( int mode, int flags, PickShape pickShape )


    Sensor
    ------
    Deprecated fields:
	public static final int PREDICT_NONE
	public static final int PREDICT_NEXT_FRAME_TIME
	public static final int NO_PREDICTOR
	public static final int HEAD_PREDICTOR
	public static final int HAND_PREDICTOR

    Deprecated methods:
	public void setPredictor(int predictor)
	public int getPredictor()
	public void setPredictionPolicy(int policy)
	public int getPredictionPolicy()
	public void getRead(Transform3D read, long deltaT)


II. Reparented classes

    NONE


III. New classes and interfaces (in javax.media.j3d)

    ShaderAppearance
    ----------------
	public class ShaderAppearance extends Appearance

    ShaderAttributeSet
    ------------------
	public class ShaderAttributeSet extends NodeComponent

    ShaderAttribute
    ---------------
	public abstract class ShaderAttribute extends NodeComponent

    ShaderAttributeBinding
    ----------------------
	public class ShaderAttributeBinding extends ShaderAttribute

    ShaderAttributeObject
    ---------------------
	public abstract class ShaderAttributeObject extends ShaderAttribute

    ShaderAttributeValue
    --------------------
	public class ShaderAttributeValue extends ShaderAttributeObject

    ShaderAttributeArray
    --------------------
	public class ShaderAttributeArray extends ShaderAttributeObject

    Shader
    ------
	public abstract class Shader extends NodeComponent

    SourceCodeShader
    ----------------
	public class SourceCodeShader extends Shader

    ShaderProgram
    -------------
	public abstract class ShaderProgram extends NodeComponent

    CgShaderProgram
    ---------------
	public class CgShaderProgram extends ShaderProgram

    GLSLShaderProgram
    -----------------
	public class GLSLShaderProgram extends ShaderProgram

    ShaderError
    -----------
	public class ShaderError extends Object

    ShaderErrorListener
    -------------------
	public interface ShaderErrorListener

    GraphStructureChangeListener
    ----------------------------
	public interface GraphStructureChangeListener

    PickInfo
    --------
	public class PickInfo extends Object

    PickInfo.IntersectionInfo
    -------------------------
	public class PickInfo.IntersectionInfo extends Object


IV. Deprecated classes and interfaces (in javax.media.j3d)

    CompressedGeometry
    CompressedGeometryHeader
    PickPoint
    Morph
</pre>
<p><font color="gray">Page last updated &#8212;
$Date$
</font></p>
</body>
</html>