<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:2132626191;
        mso-list-type:hybrid;
        mso-list-template-ids:-1546505110 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo1'>should the color node be allowed to have less entries<o:p></o:p></li></ul><p class=MsoNormal>than the total number of points, with points lacking a corresponding<o:p></o:p></p><p class=MsoNormal>color getting assigned the last color in the color node list of colors<o:p></o:p></p><p class=MsoNormal>?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks, </p><p class=MsoNormal>Yes, that’s the way color per vertex should also work</p><p class=MsoNormal>Joe</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:andreasplesch@gmail.com">Andreas Plesch</a><br><b>Sent: </b>Sunday, November 24, 2019 12:30 PM<br><b>To: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] colorMode of PointProperties</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It looks like the PointProperties colorMode is a way to deal with</p><p class=MsoNormal>11.4.11 PointSet which says</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>"PointSet nodes are not lit, not texture-mapped, .."</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>although in fact points can now be texture-mapped.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Since this is a change for PointSet is might be necessary to correct</p><p class=MsoNormal>11.4.11 instead of introducing a workaround with colorMode.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>"PointSet nodes are not lit. Textures are applied to the full size of</p><p class=MsoNormal>each point after blending as defined in Table 17.2."</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>in 11.4.11 PointSet may suffice to address all colorMode options.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On another note, should the color node be allowed to have less entries</p><p class=MsoNormal>than the total number of points, with points lacking a corresponding</p><p class=MsoNormal>color getting assigned the last color in the color node list of colors</p><p class=MsoNormal>? This makes sense for the common scenario that there a lot of points</p><p class=MsoNormal>of the same color.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-Andreas</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On Fri, Nov 22, 2019 at 7:44 AM Andreas Plesch <andreasplesch@gmail.com> wrote:</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> I am looking at colorMode field of the new PointProperties which has these options:</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> POINT_COLOR shall display the RGB channels of the color instance defined in X3DMaterialNode or X3DColorNode, and the A channel of the texture if any. If no color is</p><p class=MsoNormal>> associated to the point, the default RGB color (0, 0, 0) shall be used.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> TEXTURE_COLOR shall display the original texture with its RGBA channels and regardless</p><p class=MsoNormal>> to the X3DMaterialNode or X3DColorNode which might be associated to the point set.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> TEXTURE_AND_POINT_COLOR shall display the RGBA channels of a texture added to the</p><p class=MsoNormal>> RGB channels of the color defined in X3DMaterialNode or X3DColorNode node, and the A</p><p class=MsoNormal>> channel of the texture if any. If no color is associated to the point, the result shall be exactly</p><p class=MsoNormal>> the same as TEXTURE_COLOR.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> What is the motivation, eg. what is the value over standard blending behaviour, multiplying color and texture if both are given ?</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Also, I do not understand how summing RGBA channels of texture and color could be useful, as required by the TEXTURE_AND_POINT_COLOR option.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> At this point, I would be in favour of removing the field. Instead, standard lighting behaviour would apply. Other than color blending, this may also include shading if normals are provided per point.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Andreas</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- </p><p class=MsoNormal>Andreas Plesch</p><p class=MsoNormal>Waltham, MA 02453</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>x3d-public mailing list</p><p class=MsoNormal>x3d-public@web3d.org</p><p class=MsoNormal>http://web3d.org/mailman/listinfo/x3d-public_web3d.org</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>