<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>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.</div><div><br></div><div>I can't show an example yet, because everything is still in the dev branch.</div><div><br></div><div>The signature of the new field looks like this:</div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11.05px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11.05px; background-color: rgb(255, 255, 255);">SFBool  [] colorSpaceConversion TRUE</span></div><div><br></div><div>Best regards,</div><div>Holger</div><div><br></div><div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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 dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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 dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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 dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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 dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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 dir="auto" style="text-align: start; text-indent: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">--</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">Holger Seelig</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">Leipzig, Germany</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">holger.seelig@yahoo.de</div><div>https://create3000.github.io/x_ite/</div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 21.09.2023 um 08:26 schrieb Andreas Plesch <andreasplesch@gmail.com>:</div><br class="Apple-interchange-newline"><div><div>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>https://andreasplesch.github.io/x3dom/dist/doc/author/Texturing/ImageTexture.html<br><br>It is by default true for normal X3D use and can be false for loading<br>glTF textures correctly:<br><br>https://andreasplesch.github.io/Library/Viewer/index.html?url=https://gist.githubusercontent.com/andreasplesch/817bc44089a7b7545149cf12acdd7c86/raw/75242ebfea03048d0f4939e1656c5063c9544d11/TextureEncodingTest.x3d<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 <andreasplesch@gmail.com> wrote:<br><blockquote type="cite"><br>Following up after some work:<br><br>On Thu, Aug 24, 2023 at 11:15 PM Andreas Plesch <andreasplesch@gmail.com> wrote:<br><blockquote type="cite"><br>On Thu, Aug 24, 2023 at 9:14 AM Michalis Kamburelis<br><michalis.kambi@gmail.com> wrote:<br><blockquote type="cite"><br>1. As for colorspaceConversion:<br><br>I don't think we want to avoid adding X3D field for this :)<br></blockquote><br>Well, it is worth thinking through options if it means smarter<br>solutions can be discovered.<br><br><blockquote type="cite">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.<br></blockquote><br></blockquote>...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.<br><br></blockquote></div></div></blockquote></div><br></body></html>