[X3D-Public] Support for submeshes?

Tony Parisi tparisi at gmail.com
Tue Feb 5 10:05:37 PST 2013

I guess if it's just for interchange, Michalis and Cecile are correct; you
can use Shape nodes all you want. It just won't render the way expected in
a compliant X3D player (you'll likely see seams). And I guess wrapping it
in a PROTO would make it really explicit that you are trying to do
something else. So maybe this will just work.


On Tue, Feb 5, 2013 at 9:57 AM, Michalis Kamburelis <
michalis.kambi at gmail.com> wrote:

> Dave A wrote:
>> So, this means that no X3D player could really understand the modern(?)
>> concept of a mesh with several materials (actually, modelling programs
>> been making them for a long time, was something I faced on the Max to
>> X3D exporter).
>> I think it's time for a new node to be added to the spec!
> I see your point, but I also like the current simplicity of X3D.
> New Material => new X3D Shape, this makes implementing rendering easier,
> as you only need to change GPU (OpenGL etc.) state before each shape.
> The bottom line is: GPUs do not understand a concept of a submesh, I mean:
> you have to split your 3D objects into chunks that have the same material
> to pass them efficiently to OpenGL/Direct3D. This splitting *must* happen
> somewhere: in the X3D exporter from 3ds/Blender (in the current situation
> with simple X3D Shape) or in the X3D browser (if we add a submesh support
> to X3D Shape).
> That is not to say that I am against extending X3D to add submeshes, I
> guess I'm "on the fence" here. I just don't think it's something
> critical... Like Cecile and me mentioned: you can use PROTOs to make
> something like this yourself, using X3D Shape underneath.
> Michalis

Tony Parisi                             tparisi at gmail.com
CTO at Large                         415.902.8002
Skype                                     auradeluxe
Follow me on Twitter!             http://twitter.com/auradeluxe
Read my blog at                     http://www.tonyparisi.com/

Read my book! *WebGL, Up and Running*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20130205/eba6e9ed/attachment.html>

More information about the X3D-Public mailing list