<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Does anyone have a spec-compliant working example of, say, a simple
Bump Map? In XML format?<br>
<br>
The reason I ask is, I have seen all kinds of coding and errors,
nothing working so far.<br>
<br>
Ex:<br>
The MultiTextureCoordinate is shown in the spec thus:<br>
<br>
<pre class="listing" style="font-family: monospace; color: rgb(0, 0, 0); font-size: 11px; margin-left: 15px; font-weight: bold; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"> texCoord MultiTextureCoordinate {
texCoord [
TextureCoordinate { ... }
TextureCoordinate { ... }
]
}
</pre>
<br>
<br>
But the example file I found on the X3D.org site looks like this:<br>
<br>
<span style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;"><</span><span
class="element" style="color: navy; font-family: 'Times New
Roman'; font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;">MultiTextureCoordinate</span><span
style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;"> </span><span
class="attribute" style="color: green; font-family: 'Times New
Roman'; font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;">containerField</span><span
style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;">='</span><span
class="value" style="color: teal; font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">texCoord</span><span
style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;">'></span>
<div class="indent" style="margin-left: 25px; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-size: medium; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;"><span title="XML comment"><!--
TODO add multiple TextureCoordinate nodes here, match
corresponding MultiTexture children --></span><span
class="Apple-converted-space"> </span><br>
<<span class="element" style="color: navy;">TextureCoordinate</span> <span
class="attribute" style="color: green;">point</span>='<span
class="value" style="color: teal;">0 0 1 0 1 1 0 1</span>'/><span
class="Apple-converted-space"> </span><br>
<<span class="element" style="color: navy;">TextureCoordinate</span> <span
class="attribute" style="color: green;">point</span>='<span
class="value" style="color: teal;">0 0 1 0 1 1 0 1</span>'/><span
class="Apple-converted-space"> </span><br>
<<span class="element" style="color: navy;">TextureCoordinate</span> <span
class="attribute" style="color: green;">point</span>='<span
class="value" style="color: teal;">0 0 1 0 1 1 0 1</span>'/></div>
<span style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;"></</span><span
class="element" style="color: navy; font-family: 'Times New
Roman'; font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;">MultiTextureCoordinate</span><span
style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;">><br>
<br>
Note, no containerFields on individual TextureCoordinate elements.<br>
<br>
I found this at <a class="moz-txt-link-freetext"
href="http://forum.instantreality.org/index.php?topic=417.0">http://forum.instantreality.org/index.php?topic=417.0</a><br>
<br>
</span><br>
<div class="code" style="font-family: 'courier new', 'times new
roman', monospace; font-size: 12px; line-height: 1.3em; margin:
1px auto; padding: 1px; width: 549.4375px; white-space: nowrap;
overflow: auto; max-height: 24em; color: rgb(0, 0, 0);
background-color: rgb(238, 238, 238); border: 1px solid rgb(0, 0,
0); font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; widows: 2; word-spacing:
0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px;"><MultiTextureCoordinate containerField='texCoord'><br>
<TextureCoordinate containerField='texCoord' point='...
'/><br>
<TextureCoordinate containerField='texCoord' point='
...'/><br>
</MultiTextureCoordinate><br>
</div>
<br style="color: rgb(0, 0, 0); font-family: verdana, sans-serif;
font-size: small; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
16.890625px; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(221, 233,
247);">
<span style="color: rgb(0, 0, 0); font-family: verdana, sans-serif;
font-size: small; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
16.890625px; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(221, 233,
247); display: inline !important; float: none;">(Do not try to
reuse the TextureCoordinate node by using DEF/USE, that also does
not work in Instant Player, you have to repeat the
TextureCoordinate node, even if it contains the same coordinates.)<br>
<br>
But when I try this in Contact, it gives me errors.<br>
<br>
The Bitmanagement Site has an example, but it appears to be
broken. I have Contact installed, but at least in Chrome, it says
I need to install it. I did. BROKEN. <a
class="moz-txt-link-freetext"
href="http://www.bitmanagement.com/developer/contact/labs/multitexture.html">http://www.bitmanagement.com/developer/contact/labs/multitexture.html</a><br>
<br>
Vivaty Studio doesn't even export MultiTextureCoordinates. Just
TextureCoordinates<br>
<br>
I'm quite lost<br>
<br>
Dave A<br>
<br>
<br>
<br>
<br>
<br>
</span>
</body>
</html>