<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>> X3D: Invalid number of items in an attribute array for shape<o:p></o:p></p><p class=MsoNormal>> "Joe_Humanoid/Joe_Kick/Joe_Shape/IndexedFaceSet(Joe_skin_IndexedFaceSet)":<o:p></o:p></p><p class=MsoNormal>> Invalid index: 9, but we have 4 items in 2D texture coordinates<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> ... and the error is valid from what I can see. TextureCoordinate has<o:p></o:p></p><p class=MsoNormal>> too few points.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is this back to telling me I have to have all texcoords for all points? <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks, <o:p></o:p></p><p class=MsoNormal>Joe<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:michalis.kambi@gmail.com">Michalis Kamburelis</a><br><b>Sent: </b>Thursday, February 9, 2023 5:23 AM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Cc: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:gpugroup@gmail.com">GPU Group</a>; <a href="mailto:joedwil@earthlink.net">Joe D Williams</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: New description fields</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>To other X3D browser implementors adding "description":</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If you also have been implementing RenderedTexture node (not in X3D</p><p class=MsoNormal>spec, but common extension, at least in InstantReality, Xj3d, and</p><p class=MsoNormal>CGE/view3dscene), note that you should remove the</p><p class=MsoNormal>"RenderedTexture.description" field. It can (and should) now inherit</p><p class=MsoNormal>"X3DSingleTextureNode.description".</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sometimes automatic tests catch real errors :) (This nuance was caught</p><p class=MsoNormal>by CGE automatic tests.)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal>Michalis</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>czw., 9 lut 2023 o 14:04 Michalis Kamburelis</p><p class=MsoNormal><michalis.kambi@gmail.com> napisał(a):</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> I added to view3dscene/Castle Game Engine handling of "description" field on</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> - X3DSingleTextureNode</p><p class=MsoNormal>> - HAnimDisplacer</p><p class=MsoNormal>> - HAnimHumanoid</p><p class=MsoNormal>> - HAnimJoint</p><p class=MsoNormal>> - HAnimSegment</p><p class=MsoNormal>> - HAnimSite</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> I also added HAnimHumanoid.loa .</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> As usual, the fix will be available in snapshot view3dscene versions</p><p class=MsoNormal>> on https://castle-engine.io/view3dscene.php (also part of larger CGE</p><p class=MsoNormal>> download, https://castle-engine.io/download ). Please give Jenkins a</p><p class=MsoNormal>> 6-8 hours to process it and run all automated tests.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Note that these "description" fields seem unrelated to</p><p class=MsoNormal>> http://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/JoeKick.x3d</p><p class=MsoNormal>> . That file only used "description" on Viewpoint, which we already</p><p class=MsoNormal>> handled.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> After adding "HAnimHumanoid.loa", this file reports just this error</p><p class=MsoNormal>> (many times) in view3dscene:</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> X3D: Invalid number of items in an attribute array for shape</p><p class=MsoNormal>> "Joe_Humanoid/Joe_Kick/Joe_Shape/IndexedFaceSet(Joe_skin_IndexedFaceSet)":</p><p class=MsoNormal>> Invalid index: 9, but we have 4 items in 2D texture coordinates</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> ... and the error is valid from what I can see. TextureCoordinate has</p><p class=MsoNormal>> too few points.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Regards,</p><p class=MsoNormal>> Michalis</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> śr., 8 lut 2023 o 03:45 John Carlson <yottzumm@gmail.com> napisał(a):</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > I'm trying to collect information into one message.  Michalis, please check view3dscene 4.3, I believe ImageTexture and HAnimDisplacer were missing description field in view3dscene 4.2 and 4.3. See links below for X3D4 tooltips specifics.  The issue with view3dscene stems from adding a description fields in X3D4 using X3D-Edit (for the most part).  There are also schema issues with the file in question (JohnJoint18.x3d).</p><p class=MsoNormal>> ></p><p class=MsoNormal>> ></p><p class=MsoNormal>> > I’ll double check the tooltips while I am at it.</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > https://www.web3d.org/x3d/content/X3dTooltips.html#ImageTexture.description</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > (Yellow)</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > https://www.web3d.org/x3d/content/X3dTooltips.html#HAnimDisplacer.description</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > (Yellow)</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > If there are examples of HAnimDisplacer in the community, consider donating them to our testing effort.</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > The good news is we have one good HAnimDisplacer node from www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/JoeKick.x3d (in the file system on the x3d project our sourceforge).   Michalis, Joe, the issue is that view3dscene throws all kinds of issues with the file.</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > I was able to add the HAnimDisplacer in JoeKick to my JohnJoint18.x3d and not increase the number of errors reported by view3dscene (HAnimDisplacer without description seems to be working).</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > Thanks!</p><p class=MsoNormal>> ></p><p class=MsoNormal>> > John</p><p class=MsoNormal>> ></p><p class=MsoNormal>> ></p><p class=MsoNormal>> > On Tue, Feb 7, 2023 at 2:18 PM GPU Group <gpugroup@gmail.com> wrote:</p><p class=MsoNormal>> >></p><p class=MsoNormal>> >> No. I'm finished with that project, its somewhere in web3d. I think I referred to tooltips, which has v4 added fields in yellow.</p><p class=MsoNormal>> >> -Doug</p><p class=MsoNormal>> >></p><p class=MsoNormal>> >></p><p class=MsoNormal>> >> On Tue, Feb 7, 2023 at 12:40 PM John Carlson <yottzumm@gmail.com> wrote:</p><p class=MsoNormal>> >>></p><p class=MsoNormal>> >>> Doug,</p><p class=MsoNormal>> >>></p><p class=MsoNormal>> >>> could you add nodes which have a new description field to your browser builder guide?</p><p class=MsoNormal>> >>></p><p class=MsoNormal>> >>> Thanks!</p><p class=MsoNormal>> >>></p><p class=MsoNormal>> >>> John and Don</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>