<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;}
span.schemasubdata
{mso-style-name:schemasubdata;}
.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><o:p> </o:p></p><p class=MsoNormal>Hi John, </p><p class=MsoNormal>This error set is telling you there is some user code somewhere(s) that does not have the right number of something(s) and the pattern(s) used repeatedly from the same DEF-USE or other maybe some simple copy and paste syntax. </p><p class=MsoNormal>Is this from JohnJoint5.x3d? </p><p class=MsoNormal>If Yes, these warnings show in view3dscene and don’t render some markers but are ok and seem to work in another. </p><p class=MsoNormal>Some user code you might suspect. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <IndexedFaceSet DEF='DiamondIFS' creaseAngle='0.5' solid='false' </p><p class=MsoNormal> 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'></p><p class=MsoNormal> <ColorRGBA DEF='HAnimSiteColorRGBA' </p><p class=MsoNormal> color='1 1 0 1, 1 1 0 0.1'/></p><p class=MsoNormal> <Coordinate point='0 0.01 0, -0.01 0 0, 0 0 0.01, 0.01 0 0, 0 0 -0.01, 0 -0.01 0'/></p><p class=MsoNormal> </IndexedFaceSet></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Note IFS default colorPerVertex TRUE. So, tool might expect since 6 vertex, then 6 colors. </p><p class=MsoNormal>Field colorPerVertex is TRUE by default. So if you have some number of points then you should have the same numbers of colors. RGBA uses special field <span class=schemasubdata>SFColorRGBA 4-tuples, where each color value is an RGBA 4-tuple of floating point numbers in range [0,1]. Alpha (opacity) values = (1 - transparency). <o:p></o:p></span></p><p class=MsoNormal><span class=schemasubdata>So, try:<o:p></o:p></span></p><p class=MsoNormal><span class=schemasubdata><o:p> </o:p></span></p><p class=MsoNormal> color='1 1 0 1, 1 1 0 0.1, 1 1 0 1, 1 1 0 0.1, 1 1 0 1, 1 1 0 0.1'/></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Forgiving browsers may give a clue and then go ahead and just keep using the last color for the remaining points. That is a feature you can use to search meshes to find points. Others may not work because they don’t do a kind of courtesy autofill that I especially like to see for some MF types. The downside is that forgiving browsers will give you something to at least look at so to see what happened.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So that gets rid of some hundred or so of these and the little boxes show as expected. Fixed what I might call spurious warnings with result of the bad things fail to render.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Now to see if that is what you really wanted to do; fix if necessary. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Now onward to look for some 244 faulty warnings for some field of LineSet. However, I can see from the rendering that some nice lines are rendered in spite of some 244 warnings about bad vertex count. At least I might be seeing what the tool thinks is wrong. I hope this ends up to be a simple search and replace. More later. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Side usability topic: Consistent use of Warnings. Where some may cause to not render node because child is bad and some may cause to render with Warning for bad field? </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><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:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Wednesday, January 18, 2023 3:54 AM<br><b>To: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] IFS example to fix.</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Here is a small example that shows the potential issue, attached.</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>view3dscene reports errors, Schematron does not. I will attempt JSON next.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>John</p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Jan 18, 2023 at 5:41 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>This may interest people working with IFS in *some* HAnim examples, particularly mine!</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>JOhn</p><div><div><p class=MsoNormal>---------- Forwarded message ---------<br>From: <strong><span style='font-family:"Calibri",sans-serif'>John Carlson</span></strong> <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br>Date: Wed, Jan 18, 2023 at 5:22 AM<br>Subject: IFS example to fix.<br>To: Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><p class=MsoNormal> <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'></p></div><div><p class=MsoNormal> <ColorRGBA DEF='HAnimSiteColorRGBA' color='1 1 0 1 1 1 0 0.1'/></p></div><div><p class=MsoNormal> <Coordinate point='0 0.01 0 -0.01 0 0 0 0 0.01 0.01 0 0 0 0 -0.01 0 -0.01 0'/></p></div><div><p class=MsoNormal> </IndexedFaceSet></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The way I'm reading above, the IFS has 6 coordinates and 2 colors. There should be more colors, correct? view3dscene detected this. I'll look up the IFS spec.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks!</p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></blockquote></div><p class=MsoNormal style='margin-left:4.8pt'>John</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>