Hmm maybe my rendering knowledge is out of date. Well if you are correct than the only reason to have X3D support submesh materials is so that it's truly one object for the purposes of picking and so on. And even then maybe it's only an efficiency, since the input sensors only return hitPoint, hitNormal etc. and those values would be the same whether you have one or more Shape nodes in that part of the hierarchy.<br>
<br>Tony<br><br><div class="gmail_quote">On Tue, Feb 5, 2013 at 10:27 AM, Michalis Kamburelis <span dir="ltr"><<a href="mailto:michalis.kambi@gmail.com" target="_blank">michalis.kambi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Tony Parisi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I guess if it's just for interchange, Michalis and Cecile are correct;<br>
you can use Shape nodes all you want. It just won't render the way<br>
expected in a compliant X3D player (you'll likely see seams).<br>
</blockquote>
<br></div>
Why? You will not see seams if you use exactly the same sets of coordinates, sharing them by DEF/USE, for all shapes. GPUs guarantee a proper pixel fill here, if all the shapes are under the same transformation, and rendered internally by the same method (e.g. all by OpenGL display lists, or none by OpenGL display lists, all by shaders or none by shaders).<br>

<br>
Otherwise, the seams would be unavoidable, regardless if X3D has a special node for submeshes or not.<span class="HOEnZb"><font color="#888888"><br>
<br>
Michalis<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Tony Parisi                             <a href="mailto:tparisi@gmail.com" target="_blank">tparisi@gmail.com</a><br>CTO at Large                         415.902.8002<br>
Skype                                     auradeluxe<br>Follow me on Twitter!             <a href="http://twitter.com/auradeluxe" target="_blank">http://twitter.com/auradeluxe</a><br>Read my blog at                     <a href="http://www.tonyparisi.com/" target="_blank">http://www.tonyparisi.com/</a><br>
<br>Read my book! <i>WebGL, Up and Running</i><br>
<a href="http://shop.oreilly.com/product/0636920024729.do" target="_blank">http://shop.oreilly.com/product/0636920024729.do</a><br><a href="http://www.amazon.com/dp/144932357X" target="_blank">http://www.amazon.com/dp/144932357X</a><br>
<br>