[x3d-public] validator/HAnim error I don't understand

John Carlson yottzumm at gmail.com
Fri Jul 24 22:41:20 PDT 2020


Error:
<IndexedFaceSet DEF='DiamondIFS'/> missing colorIndex array for contained
ColorRGBA node
[/X3D/Scene/HAnimHumanoid/HAnimJoint[1]/HAnimSegment[1]/Switch/Shape[3]/IndexedFaceSet,
error]

Should the validator be proposing an example colorIndex for the above?

See below:

>From Validator:

<Shape DEF='HAnimSiteShape'> <IndexedFaceSet DEF='DiamondIFS'
creaseAngle='0.5' solid='false' coordIndex='0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4
1 -1 5 2 1 -1 5 3 2 -1 5 4 3 -1 5 1 4 -1'> <ColorRGBA DEF='HAnimSiteColorRGBA'
color='1 1 0 1 1 1 0 0.1'/> <Coordinate point='0 0.8 0 -0.8 0 0 0 0 0.8 0.8
0 0 0 0 -0.8 0 -0.8 0'/> </IndexedFaceSet> <Appearance> <Material
diffuseColor='1
1 0' transparency='0.3'/> </Appearance> </Shape>

My code:

                        <Shape DEF='HAnimSiteShape'>
                                <IndexedFaceSet DEF='DiamondIFS'
creaseAngle='0.5' solid='false' coordIndex='0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4
1 -1 5 2 1 -1 5 3 2 -1 5 4 3 -1 5 1 4 -1'>
                                        <ColorRGBA DEF='HAnimSiteColorRGBA'
color='1 1 0 1 1 1 0 0.1'/>
                                        <Coordinate point='0 0.8 0 -0.8 0 0
0 0 0.8 0.8 0 0 0 0 -0.8 0 -0.8 0'/>
                                </IndexedFaceSet>
                        <Appearance>
                                <Material diffuseColor='1 1 0'
transparency='0.3'/>
                        </Appearance>
                        </Shape>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200725/aa8a0042/attachment.html>


More information about the x3d-public mailing list