<div dir="ltr"><div>I second this. I would be best if we can simply render points *in the same, exact way, using the same texture/color/lighting equations* as all other geometric nodes.<br></div><div><br></div><div>The existing prose for rendering already says what to do with textures, colors, lighting etc. Let's let the same equations be just used for points (and lines, BTW). Of course the non-unlit lighting models are only available if explicit normals are provided. But when normals are provided, points and lines can just utilize the same rendering logic as other nodes.<br></div><div><br></div><div>This would also be consistent with glTF.</div><div><br></div><div>Regards,</div><div>Michalis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">niedz., 23 sie 2020 o 06:43 Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/shape.html#PointProperties" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/shape.html#PointProperties</a><br>
<br>
has the current draft.<br>
<br>
What is the motivation for having a colorMode field ? Should coloring<br>
not be handled the same way as it is for other geometries, eg. use<br>
color if no texture, use texture if no color, and blend if both are<br>
provided ? Other geometries do not require a colorMode field after<br>
all.<br>
<br>
Even if there is an additional benefit of having the colorMode field, I think "<br>
TEXTURE_AND_POINT_COLOR" should multiply rather than add:<br>
<br>
"TEXTURE_AND_POINT_COLOR shall display the RGBA channels of a texture<br>
added to the RGB channels of the color defined in X3DMaterialNode or<br>
X3DColorNode node, and the A channel of the texture if any."<br>
<br>
Adding introduces the problem of how to deal with oversaturated<br>
components and contradicts how combining colors is defined for other<br>
geometries.<br>
<br>
Also, only RGBA textures are mentioned. Should one component (alpha),<br>
2 component (greyscale plus alpha) and 3 component (RGB) textures also<br>
be allowed or well defined ?<br>
<br>
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#PointProperties.containerField" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/X3dTooltips.html#PointProperties.containerField</a><br>
<br>
has a copy and paste typo. It still refers to "lineProperties"<br>
<br>
-Andreas<br>
-- <br>
Andreas Plesch<br>
Waltham, MA 02453<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>