[x3d-public] New description fields

Joseph D Williams joedwil at earthlink.net
Thu Feb 9 05:48:39 PST 2023


> X3D: Invalid number of items in an attribute array for shape
> "Joe_Humanoid/Joe_Kick/Joe_Shape/IndexedFaceSet(Joe_skin_IndexedFaceSet)":
> Invalid index: 9, but we have 4 items in 2D texture coordinates
>
> ... and the error is valid from what I can see. TextureCoordinate has
> too few points.


Is this back to telling me I have to have all texcoords for all points? 

Thanks, 
Joe


From: Michalis Kamburelis
Sent: Thursday, February 9, 2023 5:23 AM
To: John Carlson
Cc: Don Brutzman; GPU Group; Joe D Williams; X3D Graphics public mailing list
Subject: Re: New description fields

To other X3D browser implementors adding "description":

If you also have been implementing RenderedTexture node (not in X3D
spec, but common extension, at least in InstantReality, Xj3d, and
CGE/view3dscene), note that you should remove the
"RenderedTexture.description" field. It can (and should) now inherit
"X3DSingleTextureNode.description".

Sometimes automatic tests catch real errors :) (This nuance was caught
by CGE automatic tests.)

Regards,
Michalis

czw., 9 lut 2023 o 14:04 Michalis Kamburelis
<michalis.kambi at gmail.com> napisał(a):
>
> I added to view3dscene/Castle Game Engine handling of "description" field on
>
> - X3DSingleTextureNode
> - HAnimDisplacer
> - HAnimHumanoid
> - HAnimJoint
> - HAnimSegment
> - HAnimSite
>
> I also added HAnimHumanoid.loa .
>
> As usual, the fix will be available in snapshot view3dscene versions
> on https://castle-engine.io/view3dscene.php (also part of larger CGE
> download, https://castle-engine.io/download ). Please give Jenkins a
> 6-8 hours to process it and run all automated tests.
>
> Note that these "description" fields seem unrelated to
> http://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/JoeKick.x3d
> . That file only used "description" on Viewpoint, which we already
> handled.
>
> After adding "HAnimHumanoid.loa", this file reports just this error
> (many times) in view3dscene:
>
> X3D: Invalid number of items in an attribute array for shape
> "Joe_Humanoid/Joe_Kick/Joe_Shape/IndexedFaceSet(Joe_skin_IndexedFaceSet)":
> Invalid index: 9, but we have 4 items in 2D texture coordinates
>
> ... and the error is valid from what I can see. TextureCoordinate has
> too few points.
>
> Regards,
> Michalis
>
>
> śr., 8 lut 2023 o 03:45 John Carlson <yottzumm at gmail.com> napisał(a):
> >
> > 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).
> >
> >
> > I’ll double check the tooltips while I am at it.
> >
> > https://www.web3d.org/x3d/content/X3dTooltips.html#ImageTexture.description
> >
> > (Yellow)
> >
> > https://www.web3d.org/x3d/content/X3dTooltips.html#HAnimDisplacer.description
> >
> > (Yellow)
> >
> > If there are examples of HAnimDisplacer in the community, consider donating them to our testing effort.
> >
> > 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.
> >
> > 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).
> >
> > Thanks!
> >
> > John
> >
> >
> > On Tue, Feb 7, 2023 at 2:18 PM GPU Group <gpugroup at gmail.com> wrote:
> >>
> >> No. I'm finished with that project, its somewhere in web3d. I think I referred to tooltips, which has v4 added fields in yellow.
> >> -Doug
> >>
> >>
> >> On Tue, Feb 7, 2023 at 12:40 PM John Carlson <yottzumm at gmail.com> wrote:
> >>>
> >>> Doug,
> >>>
> >>> could you add nodes which have a new description field to your browser builder guide?
> >>>
> >>> Thanks!
> >>>
> >>> John and Don

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230209/5f1dade1/attachment.html>


More information about the x3d-public mailing list