blob: 64db9ad927bfd283df8f9c61b26d99fbd594cb66 (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Java 3D 1.4: ViewSpecificGroup View Set Operation</title>
</head>
<body>
<h2>Java 3D<sup><font size="-2">TM</font></sup> 1.4:
ViewSpecificGroup View Set Operation<br>
</h2>
<p>This page describes a possible enhancement to Java 3D 1.4 to
allow the application to specify the operation used to compute the set
of views for nested
ViewSpecificGroup (VSG) nodes. Currently, the set of views used to
render descendants of nested VSG nodes is the intersection of the set
of views
inherited from its
parent(s) and the set of views specified in the child VSG node. We
propose to
add an attribute to VSG such that the resulting set of views is either
as the intersection or the union of the set of views inherited from its
parent(s) and the set of views specified in the child VSG node, or
simply the set of views specified in the child VSG node. More formally,
we plan to define three modes as follows:
</p>
<ul>
<table border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td><code>INTERSECT</code></td>
<td><code>:</code></td>
<td><code>viewSet[n]
=
viewSet[n-1] ∩ VSG[n].viewSet</code></td>
</tr>
<tr>
<td><code>UNION</code></td>
<td><code>:</code></td>
<td><code>viewSet[n]
=
viewSet[n-1] ∪ VSG[n].viewSet</code></td>
</tr>
<tr>
<td><code>REPLACE</code></td>
<td><code>:</code></td>
<td><code>viewSet[n]
=
VSG[n].viewSet</code> </td>
</tr>
</tbody>
</table>
<br>
where <code>n</code> is the nesting level (the number of ancestor VSG
nodes in the
scene graph path).<br>
The default mode is <code>INTERSECT</code>.
</ul>
<p>Note that the set of views used to render descendants of a top-level
VSG node (that is, a VSG node that is not itself a descendant of
another VSG node) is the set of views specified in the VSG node,
regardless of the mode. More
formally: <code>viewSet[0] = VSG[0].viewSet</code> for all
values of <code>viewSetOp</code>.<br>
</p>
<p>The proposed API is:</p>
<ul>
<li>New methods in existing classes:<br>
</li>
<ul>
<pre>ViewSpecificGroup<br> method: setViewSetOp(int op) // one of: INTERSECT, UNION, REPLACE<br></pre>
</ul>
</ul>
<ol>
</ol>
<p><font color="gray">Page last updated —
$Date$
</font></p>
</body>
</html>
|