<style class="ke-style">
[list-style-type] {padding-left:20px;list-style-position:inside}
[list-style-type] li {margin:0}
[list-style-type] li:before, span.ke-list-item-matter {font-family:"sans serif",tahoma,verdana,helvetica}
[list-style-type] li p,[list-style-type] li h1,[list-style-type] li h2,[list-style-type] li h3,[list-style-type] li h4,[list-style-type] li h5,[list-style-type] li div,[list-style-type] li blockquote{display:inline;word-break:break-all}
[list-style-type] li table {display:inline-block;vertical-align:top}
p{margin:0}
td {word-break: break-word}
.default-font-1758574920852{
}
</style><div class="default-font-1758574920852" dir="ltr"><p style="font-size:14px;">Thanks for your answer. I have two more issues.</p><p><span style="font-size:14px;">1.<span style="color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;">The </span></span><span style="font-size:14px;"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/lighting.html#LightingUnlit" rel="nofollow" style="box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(9, 105, 218); text-underline-offset: 0.2rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; text-wrap-mode: wrap; text-decoration: none;" title="Original URL: https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#LightingUnlit
Hold down Ctrl and click to open the link" target="_blank"><span style="font-size:14px;text-decoration:none;">Unlit lighting model</span></a></span><span style="font-size:14px;"><span style="color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;"> formula has changed in v4.0/4.1: </span><code class="notranslate" style="box-sizing:border-box;font-family:"Monaspace Neon", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;font-size:11.9px;tab-size:4;padding:0.2em 0.4em;margin:0px;white-space:break-spaces;background-color:rgba(129, 139, 152, 0.12);border-radius:6px;color:#1F2328;">fragmentColor = applyFog(mixTexture(applyColorPerVertex(emissiveParameter), emissiveTextureParameter))</code><span style="color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;">. This differs from</span></span><span style="font-size:14px;color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;"> the definition in</span><span style="font-size:14px;"><span style="color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;"> v3.3. However, the default value of <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#Material" target="_blank" title="Original URL: https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#Material
Hold down Ctrl and click to open the link">Material.diffuseColor</a> remains </span><code class="notranslate" style="box-sizing:border-box;font-family:"Monaspace Neon", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;font-size:11.9px;tab-size:4;padding:0.2em 0.4em;margin:0px;white-space:break-spaces;background-color:rgba(129, 139, 152, 0.12);border-radius:6px;color:#1F2328;">0.8 0.8 0.8</code><span style="color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;">, which may results in a darkened diffuseTexture.</span></span></p><p><span style="font-size:14px;">2.</span><span style="font-size:14px;color:#1F2328;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";text-wrap-mode:wrap;background-color:#FFFFFF;">normalTexture should be useless for <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#UnlitMaterial" target="_blank" title="Original URL: https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#UnlitMaterial
Hold down Ctrl and click to open the link">UnlitMaterial</a>. Should it be removed from UnlitMaterial?</span></p><p style="font-size:14px;"><br></p><p style="font-size:14px;"><br></p><blockquote name="replyContent" class="ReferenceQuote" style="font-size:14px;padding-left:5px;margin-left:5px;border-left:2px solid #B6B6B6;margin-right:0px;">-----Original Messages-----<br>
<b>From:</b> <span id="rc_from">"Holger Seelig" <holger.seelig@yahoo.de></span><br>
<b>Send time:</b> <span id="rc_senttime">Wednesday, 10/09/2025 02:35:10</span><br>
<b>To:</b> X3D <x3d-public@web3d.org><br>
<b>Cc:</b> microaaron@pku.edu.cn<br>
<b>Subject:</b> Re: [x3d-public] Should the emissiveColor field be defined in X3DOneSidedMaterialNode?<br><br><div style="overflow-wrap:break-word;-webkit-nbsp-mode:space;line-break:after-white-space;">In the latest version of the spec (4.1), the base class X3DOneSidedMaterialNode does not include the field emissiveColor in this class. It is first defined In derived classes of this base class with indeed different <span style="caret-color:#000000;color:#000000;">and deliberately other</span> values.<br><div><br></div><div>X3DOneSidedMaterialNode (Draft):</div><div><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#X3DOneSidedMaterialNode" title="Original URL: https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#X3DOneSidedMaterialNode
Hold down Ctrl and click to open the link">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#X3DOneSidedMaterialNode</a></div><div><br></div><div>Best regards,</div><div>Holger</div><div><br id="lineBreakAtBeginningOfMessage"><div>
<div dir="auto" style="caret-color:#000000;color:#000000;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;overflow-wrap:break-word;-webkit-nbsp-mode:space;line-break:after-white-space;"><div>—<br>Holger Seelig<br>Leipzig, Germany<br><br>holger.seelig@yahoo.de<br>https://create3000.github.io/x_ite/<br>https://patreon.com/X_ITE<br></div><div><br></div></div><br class="Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>Am 09.09.2025 um 19:36 schrieb microaaron via x3d-public <x3d-public@web3d.org>:</div><br class="Apple-interchange-newline"><div><div class="default-font-1757439329361" dir="ltr" style="font-size:14px;caret-color:#000000;font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;"><div style="margin:0px;">There are contradictions in the V4.0 specification.</div><div style="margin:0px;"><a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#X3DOneSidedMaterialNode" target="_blank" title="原始URL: https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#X3DOneSidedMaterialNode
按住Ctrl并单击可访问链接">12.3.4 X3DOneSidedMaterialNode</a><span class="Apple-converted-space"> </span>says "The emissiveColor field is defined in implementing nodes".</div><div style="margin:0px;">But <a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#UnlitMaterial" target="_blank" title="原始URL: https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#UnlitMaterial
按住Ctrl并单击可访问链接">12.4.10 UnlitMaterial</a><span class="Apple-converted-space"> </span>says "This node inherits the emissiveColor field from the X3DOneSidedMaterialNode ancestor, but the default value of this field changes: only for UnlitMaterial, the default emissiveColor is 1 1 1 (white), instead of 0 0 0 (black, default of X3DOneSidedMaterialNode.emissiveColor)".</div><div style="margin:0px;">Should the emissiveColor field be defined in X3DOneSidedMaterialNode and default to black?</div></div><span style="caret-color:#000000;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;float:none;display:inline !important;">_______________________________________________</span><br style="caret-color:#000000;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;"><span style="caret-color:#000000;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;float:none;display:inline !important;">x3d-public mailing list</span><br style="caret-color:#000000;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;"><a href="mailto:x3d-public@web3d.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:auto;text-align:start;text-indent:0px;text-transform:none;white-space:normal;widows:auto;word-spacing:0px;-webkit-text-stroke-width:0px;">x3d-public@web3d.org</a><br style="caret-color:#000000;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;"><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:auto;text-align:start;text-indent:0px;text-transform:none;white-space:normal;widows:auto;word-spacing:0px;-webkit-text-stroke-width:0px;">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></div></blockquote></div><br></div></div></blockquote></div>