<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div></div>
<div>
<div>Thanks for great analysis, Andreas.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">At this point, I would only add that our design objective is to enable authors to achieve the highest possible quality renderings, consistently across every platform, regardless of whether the software libraries used by an underlying implementation
 are capable of matching the correct result in the current version. Note that this approach is also testable, checkable and repeatable when an off-line  renderer produces a reference image.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">If we pay careful attention to all related standards and specifications, it seems like this is the best modeling solution that results in correct quality for models using our archival standard </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Have fun with X3D! šŸ˜Ž</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
<div>v/r Don</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Andreas Plesch <andreasplesch@gmail.com><br>
<b>Sent:</b> Thursday, September 21, 2023 12:58:52 PM<br>
<b>To:</b> Brutzman, Donald (Don) (CIV) <brutzman@nps.edu><br>
<b>Cc:</b> Holger Seelig <holger.seelig@yahoo.de>; Michalis Kamburelis <michalis.kambi@gmail.com>; puk Richard <puk@igraphics.com>; X3D <x3d-public@web3d.org><br>
<b>Subject:</b> Re: [x3d-public] Need for colorspaceConversion field in ImageTexture, glTF compatibility</font>
<div> </div>
</div>
<div>
<p></p>
<div style="background-color:#004679; width:100%; border-style:solid; border-color:#004679; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Yellow; text-align:left">
<span style="color:Yellow">NPS WARNING:</span> *external sender* verify before acting.</div>
<br>
<p></p>
<div>
<div dir="ltr">
<div>I dug deeper into the motivation of why glTF ignores embedded color profiles and found this in an earlier glTF spec. draft:</div>
<div><br>
</div>
<a href="https://github.com/KhronosGroup/glTF/blame/7420e21a23feee17831f07a682275967c755ec7f/specification/2.0/Specification.adoc#L1386" originalsrc="https://github.com/KhronosGroup/glTF/blame/7420e21a23feee17831f07a682275967c755ec7f/specification/2.0/Specification.adoc#L1386" shash="E72jESuW4Bc4e5/nGPYLfHM+afsnYkN3vVAh8NJ3eKyoETptrKjv5dJUBxbFDTnkR6SDXYCqn3pYbFknHCwLoUD6vOaKSKmvTfULcrUSeui+t6X1kaEDUiZQjuHAXEoCrfoAQrmGhYSGPBJQkFfQO7KZ/k41SMv7zRH9EBhGHtI=">https://github.com/KhronosGroup/glTF/blame/7420e21a23feee17831f07a682275967c755ec7f/specification/2.0/Specification.adoc#L1386</a><br>
<div><br>
</div>
<div>So the motivation appears to be that while it is possible to ignore such profiles in webGL without too much effort, some image libraries on some platforms cannot deal with such embedded color profiles.</div>
<div><br>
</div>
<div>Thus, ignoring embedded profiles is the lowest common denominator.</div>
<div><br>
</div>
<div>Note that the latest glTF spec. does not contain this explanation, probably because it is not essential.</div>
<div><br>
</div>
<div>The same argument could be made for X3D as evidenced by view3dscene which I believe uses image libraries which do not apply embedded color profiles.</div>
<div><br>
</div>
<div>On the other hand, traditionally other X3D browsers do apply embedded color profiles as this is what an author most likely intended.</div>
<div><br>
</div>
<div>In other words there would be no large need for explicitly defining how images are decoded but glTF translation to X3D now requires it anyways.</div>
<div><br>
</div>
<div>Here is a list of items to address for X3D 4.1 candidature:</div>
<div><br>
</div>
<div>- agree on field name "colorSpaceConversion"</div>
<div>- agree on signature: probably only init, eg. there is no use case for [in,out]</div>
<div>- agree on text: draft "The SFBool colorSpaceConversion field determines if color profile information embedded in the source asset/image file is applied to raw image colors (TRUE), or is ignored (FALSE)."</div>
<div>- MovieTexture: not aware if standard movie formats also can embed color profile information, or if WebGL can ignore those. Let's focus only on ImageTexture.</div>
<div><br>
</div>
<div>Found this: <a href="https://video.stackexchange.com/questions/6902/do-video-formats-support-colour-profiles" originalsrc="https://video.stackexchange.com/questions/6902/do-video-formats-support-colour-profiles" shash="vhXJVpMbjkfCtShW2ELAmmCbbIchQIqfbEBEqWZjOER63cSh8i5s00MOmuES1DjIfg95EQpXUOp9sNbXmh7fwjNyDmwQl7OIevXzd2YqChHMxTmfy+M7I3WmBJ47G3qjHck/Rtggmb5xu6DOu6Htq5Lt9XfPc8fyNkxU3bVOVp8=">https://video.stackexchange.com/questions/6902/do-video-formats-support-colour-profiles</a>;
 mp4 can request a decoder to use one out of a list of standard color profiles. But X3D may just have to rely on browsers doing their best.</div>
<div><br>
</div>
<div>Note that embedded profiles only make sense for image textures intended to carry actual color information. For textures intended to carry other information (normals, etc.), it is the responsibility of the authors to prepare such images suitably (eg. without
 embedded profiles). Thus, there is no need for further clarification in the spec.</div>
<div><br>
</div>
<div>The same is true for gamma correction. It does not make sense to apply gamma correction to textures carrying data other than color/grey scale information. Thus there is no expectation by authors that gamma correction is applied to such data textures, and
 thus no need for clarification.</div>
<div><br>
</div>
<div>There may be other color space related clarifications for the spec. . For example, the lighting equations typically assume that the input colors are given in a linear color space. So there may be a requirement to convert from source color space (typically
 sRGB) to linear color space and then after lighting to an output color space (typically also sRGB) (which a rendering device may further convert to a device calibrated color space). But this may be out of scope for X3D and could be left to browser behaviour.</div>
<div><br>
</div>
<div>Any feedback or thought always welcome,</div>
<div><br>
</div>
<div>Andreas</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, Sep 21, 2023 at 7:42ā€ÆAM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">
<div>Hi Don,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Here is the relevant glTF reference:</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a href="https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#images" originalsrc="https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#images" shash="rZMksjAi0iKAH/2uKdw0UEeQEwPtUwoSm6VrCS9ZkgD3Fgfe5j3Glo989asjinkAxtJvw5Dn+mMzV8I0CCraStc+pp1y/ihdfd3iX3YttuEz4br1dkQ18CpEtXcLG9JcepvDTGloVd9nKsIUNGR9hpmNPZUg+LqFW0ZBrwO6ehs=" target="_blank">https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#images</a></div>
<div dir="auto"><br>
</div>
<div dir="auto">"<span style="color:rgb(34,34,34); font-size:16px; background-color:rgb(255,255,255)">Any colorspace information (such as ICC profiles, intents, gamma values, etc.) from PNG or JPEG images </span><strong style="line-height:inherit; color:rgb(34,34,34); font-size:16px; background-color:rgb(255,255,255)">MUST</strong><span style="color:rgb(34,34,34); font-size:16px; background-color:rgb(255,255,255)"> be
 ignored. Effective transfer function (encoding) is defined by a glTF object that refers to the image (in most cases itā€™s a texture that is used by a material)."</span></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px"><br>
</span></font></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px">There may be an github issue discussing this decision as well.</span></font></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px"><br>
</span></font></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px">Best regards, </span></font></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px"><br>
</span></font></div>
<div dir="auto"><font color="#222222"><span style="font-size:16px">Andreas<br>
</span></font><br>
<div class="x_gmail_quote" dir="auto">
<div dir="ltr" class="x_gmail_attr">On Thu, Sep 21, 2023, 6:54 AM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div lang="EN-US" style="">
<div>
<p class="x_MsoNormal">Thanks for an interesting candidate capability.  Some references:<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<ul type="disc" style="margin-top:0in">
<li style="margin-left:0in">Wikipedia: Color space<u></u><u></u></li><li style="margin-left:0in"><a href="https://en.wikipedia.org/wiki/Color_space" originalsrc="https://en.wikipedia.org/wiki/Color_space" shash="eW7SvsSx6bjsHucllt941mcXYxJRIXh58wHAbMXoRhpVqdRoCrbCaGYkJTgALWu+ENz7O/kgVIYBj3M9fML0d2j2NtE8O+Js1s8RAjyxdKk9JvgAOpGmL9+7aU+Nqpb+kM3CfKNQnWJJMiIzvFCLu6DQ/80Ns0jeQHBIjsV/VaM=" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Color_space</a><u></u><u></u></li></ul>
<p class="x_MsoNormal"><u></u> <u></u></p>
<ul type="disc" style="margin-top:0in">
<li style="margin-left:0in">Wikipedia: List of color spaces and their uses<u></u><u></u></li><li style="margin-left:0in"><a href="https://en.wikipedia.org/wiki/List_of_color_spaces_and_their_uses" originalsrc="https://en.wikipedia.org/wiki/List_of_color_spaces_and_their_uses" shash="XjD9f3NPzqJRAQ5vUx87F8spEJaHD5meFjumBPbeBirYUI0iO5MGj8gkBl7MdFN0qb5LeIY6hlKFsCRCfkfm50ofWDIj8fOkYiVlk2uKpigcCqvtSZGQr9+I9+rz2QKckJQdjlFcROWTngJxXBskqa3iihi5ukYFDjoBVOA8y/E=" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/List_of_color_spaces_and_their_uses</a><u></u><u></u></li></ul>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">From glTF 2.0<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<ul type="disc" style="margin-top:0in">
<li style="margin-left:0in">3.9.3. Additional Textures<u></u><u></u></li><li style="margin-left:0in">emissive : The emissive texture and factor control the color and intensity of the light being emitted by the material. The texture MUST contain 8-bit values encoded with the sRGB opto-electronic transfer function so RGB values MUST
 be decoded to real linear values before they are used for any computations. To achieve correct filtering, the transfer function SHOULD be decoded before performing linear interpolation.<u></u><u></u></li><li style="margin-left:0in"><a href="https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#additional-textures" originalsrc="https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#additional-textures" shash="h7cSSPRYBkGwbSfDekamAryxEJOjDB8nk28v6l2e1fc+MIfrX0ElyR7jnnU82da8kQB311uB2HNs6CgvR1d0aN6EFqVa8sIgIcjbnOHIjqlnVM+/c49l80Rirnsf3wgVC60PJMoBJItr08WoIgUO7inPZ6iO82b66SIK+J5S/8k=" rel="noreferrer" target="_blank">https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#additional-textures</a><u></u><u></u></li><li style="margin-left:0in">References<u></u><u></u></li><li style="color:rgb(34,34,34); margin-top:0in; margin-bottom:4.5pt; background:white">
<span style="font-size:10pt; font-family:Arial,sans-serif">IEC 61966-2-1 <em><span style="font-family:Arial,sans-serif">Default RGB colour space - sRGB</span></em> <a href="https://webstore.iec.ch/publication/6169" originalsrc="https://webstore.iec.ch/publication/6169" shash="sKSa+nVvQWhxpHKa7L1Rb61gFQQClVLgghVcm53P8e1Ojptmkv5oiLlKyJnH61q5lAd7/xFTF0JaISOTmEdDhtcL6Wum0AVG8LVnCqcbTXSS9nwC5OF9uSPealrY5hWZpOt9+giCgO2DrUH+9ZbMPTk0gq+4txhPo7W8pO/i4iA=" rel="noreferrer" target="_blank"><span style="color:rgb(0,104,176); text-decoration:none">https://webstore.iec.ch/publication/6169</span></a><u></u><u></u></span></li></ul>
<table border="0" cellpadding="0" width="622" style="width:466.5pt; box-sizing:border-box; border-spacing:0px">
<tbody>
<tr style="box-sizing:border-box">
<td width="80" style="width:60pt; padding:6.75pt 7.5pt; box-sizing:border-box; font-size:inherit; display:table-cell">
</td>
<td style="border-top:none; border-right:none; border-bottom:none; border-left:1pt solid rgb(221,221,221); padding:6.75pt 15pt 6.75pt 13.5pt; box-sizing:border-box; font-size:inherit; display:table-cell">
<p class="x_MsoNormal"><span style="font-size:9pt; color:black">Note<u></u><u></u></span></p>
<p style="margin:0in; box-sizing:border-box"><span style="font-size:9pt; color:rgb(54,94,122)">The encoding characteristics of sRGB are freely available from ICC: <a href="https://www.color.org/chardata/rgb/srgb.xalter" originalsrc="https://www.color.org/chardata/rgb/srgb.xalter" shash="jnfj34d7ub5mC/hAyY2Pfg2CSJ5GP/xUCWlKBd/CDSG7dK2ObMgDyJDOinWXJoMMFzfAIWuEneQYSzMbVb0IQdPceNJ/E5i3OTo0aq0Vuw3UkWBGVvTSey2mL4b+KFdDua4i0G7cc/L/4Y8XMZHusZqpFOfBk5U5ggFPcMaN12U=" rel="noreferrer" target="_blank"><span style="color:rgb(0,104,176); text-decoration:none">https://www.color.org/chardata/rgb/srgb.xalter</span></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<ul type="disc" style="margin-top:0in">
<li style="margin-left:0in">(which is at International Color Consortium)<u></u><u></u></li></ul>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">Additional references welcome<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">Each mention of color profile that I found in glTF indicated that SRGB profile usage was required.  Didnā€™t see any other options.  Wondering if there is further work in glTF extensions on this topic.<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">Prior attempts to permit gamma definition in X3D did not converge on an acceptable solution.<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">I did not find relevant mention of ā€œcolor spaceā€ or ā€œSRGBā€ in X3D 4.0 specification.<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">If we can align with other standards, particularly glTF evolution, then this field certainly seems like a candidate to become a Web3D Consortium Recommended Practice in anticipation of future X3D 4.1 Architecture.  No doubt we would want
 to look carefully across the specification to ensure that color was handled consistently and interoperably.<u></u><u></u></p>
<p class="x_MsoNormal"><u></u> <u></u></p>
<p class="x_MsoNormal">Continued scrutiny and development welcome.  Have fun with X3D color control!  8)<u></u><u></u></p>
<div>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New""><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New"">all the best, Don<u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New"">-- <u>
</u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br       
<a href="mailto:brutzman@nps.edu" rel="noreferrer" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:9pt; font-family:"Courier New"">X3D graphics, virtual worlds, navy robotics
<a href="https://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">https://faculty.nps.edu/brutzman</a><u></u><u></u></span></p>
</div>
<p class="x_MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none; border-bottom:none; border-left:none; border-top:1pt solid rgb(225,225,225); padding:3pt 0in 0in">
<p class="x_MsoNormal"><b>From:</b> x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" rel="noreferrer" target="_blank">x3d-public-bounces@web3d.org</a>>
<b>On Behalf Of </b>Holger Seelig<br>
<b>Sent:</b> Thursday, September 21, 2023 3:06 AM<br>
<b>To:</b> Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" rel="noreferrer" target="_blank">andreasplesch@gmail.com</a>><br>
<b>Cc:</b> X3D <<a href="mailto:x3d-public@web3d.org" rel="noreferrer" target="_blank">x3d-public@web3d.org</a>><br>
<b>Subject:</b> Re: [x3d-public] Need for colorspaceConversion field in ImageTexture, glTF compatibility<u></u><u></u></p>
</div>
</div>
<p class="x_MsoNormal"><u></u> <u></u></p>
<div>
<p class="x_MsoNormal">I have now also added the field `colorSpaceConversion` in X_ITE to the ImageTexture node, also in the same notation. Everything was already prepared for it.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I can't show an example yet, because everything is still in the dev branch.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">The signature of the new field looks like this:<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:8.5pt; color:black; background:white"><br>
<br>
</span><u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:8.5pt; color:black; background:white">SFBool [] colorSpaceConversion TRUE</span><u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">Best regards,<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal">Holger<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="x_MsoNormal"><span style="color:black">--<u></u><u></u></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:black">Holger Seelig<u></u><u></u></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:black">Leipzig, Germany<u></u><u></u></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:black"><a href="mailto:holger.seelig@yahoo.de" rel="noreferrer" target="_blank">holger.seelig@yahoo.de</a><u></u><u></u></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:black"><a href="https://create3000.github.io/x_ite/" originalsrc="https://create3000.github.io/x_ite/" shash="EwyhZQblCkkeXSGdSZWgkcmPgN22811mwmUCncETI5Ba0Ayi9HJ5b5kpcUvzE8hk4dK3Kjx41kjNxb88ZqMGFO8yjn01mwtldPUnlqhbI2bk4vzz5gPBCKKYgHWBpZRXrubjVLubWwbVYnb1PsAEpVLXEHxoM26WKSzNrcRRt8s=" rel="noreferrer" target="_blank">https://create3000.github.io/x_ite/</a><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="x_MsoNormal"><br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<div>
<p class="x_MsoNormal">Am 21.09.2023 um 08:26 schrieb Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" rel="noreferrer" target="_blank">andreasplesch@gmail.com</a>>:<u></u><u></u></p>
</div>
<p class="x_MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="x_MsoNormal">Coming back to color profiles potentially embedded in some important<br>
image formats, I added a colorSpaceConversion field to ImageTexture in<br>
x3dom:<br>
<br>
<a href="https://andreasplesch.github.io/x3dom/dist/doc/author/Texturing/ImageTexture.html" originalsrc="https://andreasplesch.github.io/x3dom/dist/doc/author/Texturing/ImageTexture.html" shash="wkLTl5l/J1b5cFv8OC3XMkPag+CnLEZipWjDNBhetXtHeLKNAfYYnLn8BMFGgk0eBw2heuuZ6fxotmkSMuLIeCmDuLB+1KemUIv10ug3/CtidGDvQPFtRaIUKTmgIkj+h2U8hbhv4NQiGRrzM0zVtoP9s2Wc3VqEp5fdNUJJ4o8=" rel="noreferrer" target="_blank">https://andreasplesch.github.io/x3dom/dist/doc/author/Texturing/ImageTexture.html</a><br>
<br>
It is by default true for normal X3D use and can be false for loading<br>
glTF textures correctly:<br>
<br>
<a href="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://gist.githubusercontent.com/andreasplesch/817bc44089a7b7545149cf12acdd7c86/raw/75242ebfea03048d0f4939e1656c5063c9544d11/TextureEncodingTest.x3d" originalsrc="https://andreasplesch.github.io/Library/Viewer/index.html?url=https://gist.githubusercontent.com/andreasplesch/817bc44089a7b7545149cf12acdd7c86/raw/75242ebfea03048d0f4939e1656c5063c9544d11/TextureEncodingTest.x3d" shash="wHUcv76zi9TuBt1207VNdAs6pWKwEJiHB5gUrFLcRQ4+LEYKqvl0FdzeLpVkRCkLJkaqmwHOsuD8FHN94CjrnF0TcIaxeBPt2P1K4pqDisoRKiHSvZq45uybRFwN9zgWEKNQEsXVbObYYoTC7vFKdM3ME4fU/EXbnGuu/Hwcaoo=" rel="noreferrer" target="_blank">https://andreasplesch.github.io/Library/Viewer/index.html?url=https://gist.githubusercontent.com/andreasplesch/817bc44089a7b7545149cf12acdd7c86/raw/75242ebfea03048d0f4939e1656c5063c9544d11/TextureEncodingTest.x3d</a><br>
<br>
It is trivial to change the field name if there are other suggestions.<br>
<br>
-Andreas<br>
<br>
On Tue, Aug 29, 2023 at 1:53ā€ÆPM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" rel="noreferrer" target="_blank">andreasplesch@gmail.com</a>> wrote:<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<p class="x_MsoNormal"><br>
Following up after some work:<br>
<br>
On Thu, Aug 24, 2023 at 11:15ā€ÆPM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" rel="noreferrer" target="_blank">andreasplesch@gmail.com</a>> wrote:<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<p class="x_MsoNormal"><br>
On Thu, Aug 24, 2023 at 9:14ā€ÆAM Michalis Kamburelis<br>
<<a href="mailto:michalis.kambi@gmail.com" rel="noreferrer" target="_blank">michalis.kambi@gmail.com</a>> wrote:<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<p class="x_MsoNormal"><br>
1. As for colorspaceConversion:<br>
<br>
I don't think we want to avoid adding X3D field for this :)<u></u><u></u></p>
</blockquote>
<p class="x_MsoNormal"><br>
Well, it is worth thinking through options if it means smarter<br>
solutions can be discovered.<br>
<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<p class="x_MsoNormal">I'm all after adding X3D field to account for this -- that is, say<br>
explicitly whether ICC profile should be honored or not, so that all<br>
cases are satisfied. I'm cool with colorspaceConversion name.<u></u><u></u></p>
</blockquote>
<p class="x_MsoNormal"><u></u> <u></u></p>
</blockquote>
<p class="x_MsoNormal" style="margin-bottom:12pt">...snip<br>
<br>
After some thought I do think that a new field is needed for<br>
ImageTexture (and MovieTexture, and Background ?).<br>
"colorspaceConversion" or "colorSpaceConversion" or perhaps something<br>
shorter like "colorProfile"  ?<br>
<br>
x3dom will probably use the webgl texture unpacking parameter.<u></u><u></u></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span class="x_gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>Andreas Plesch<br>
Waltham, MA 02453</div>
</div>
</div>
</div>
</div>
</body>
</html>