[X3D-Public] Support for submeshes?

Dave A dave at realmofconcepts.com
Fri Feb 1 09:22:47 PST 2013

Right. I'm just trying to use X3D as an interchange for this project, 
and unfortunately, submeshes are a 'must'.

So anyone up for a MultiMesh node, which would basically do the job of 
the Group node I mentioned but make it clear
that this contains a mesh with submeshes?

On 2/1/2013 8:53 AM, Michalis Kamburelis wrote:
> Dave A wrote:
>> Hey all,
>> Been a while since I parsed the spec, but is there support for 
>> submeshes?
>> You know, where one set of vertices is shared by different poly or
>> triangle lists, and each of those lists
>> corresponds to a different Appearance?
>> Or would I have to create a Group under which I would put Shapes, with
>> the first Shape's geometry containing the coordinate list (and first
>> submesh's indices),
>> then subsequent Shapes would USE that coordinate list, providing their
>> own indices (and Appearances of course)?
> Yes, to share vertices you can reuse the Coordinate node by DEF/USE 
> like you described. If you want a different Appearance or indices, you 
> have to make a different Shape node, so there is no way around it.
> (You could alternatively create a PROTO that expands to a Shape with a 
> default coordinate list. But since prototypes are expanded this may be 
> worse for memory use.)
> Michalis
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.2897 / Virus Database: 2639/6070 - Release Date: 01/31/13

More information about the X3D-Public mailing list