Shape component
Supported nodes:
Shape,
Appearance,
Material
VRML 1.0 and multiple materials: multiple materials
within a single VRML 1.0 Material node work 100%
correctly if you change only emissive and transparency,
or only diffuse and transparency for each index.
For complicated cases (like when you change diffuse, and specular,
and emissive...) for each material index -> they will fail.
This is a wontfix. For OpenGL fixed-function pipeline,
changing all glMaterial settings too often (like for
a vertex or a face) is prohibitively slow.
It's also terribly memory consuming (for
castle (link to vrmlengine.sf.net), display lists of animations
of spider and spider queen were eating 130 MB with naive implementation,
vs 10 MB with current implementation).
VRML 2.0 and X3D removed this idea, replacing it with much
saner Color and ColorRGBA nodes, that are implemented
fully.
TODO: FillProperties, LineProperties, TwoSidedMaterial are missing.
|