<div dir="auto">Ah, sorry, I just realized that you meant that X3DOM supports also cubemaps in Background node. This is indeed not something in the spec (and CGE doesn't do it). I think it could be useful to have an alternative to Background node like BackgroundImage that contains a single field like "image" of type "X3DEnvironmentTextureNode". One could place there any cubemap (ImageCubeMapTexture with DDS or KTX, ComposedCubeMapTexture with 6 images or even GeneratedCubeMapTexture).<div dir="auto"><br></div><div dir="auto">Currently we have Background and TextureBackground nodes, TextureBackground is an improvement (has 6 texture nodes instead of 6 MFString urls, so it's more versatile) but still you cannot just provide one texture with 6 sides (which would be possible with <span style="font-family:sans-serif">X3DEnvironmentTextureNode).</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Best regards,</span></div><div dir="auto"><font face="sans-serif">Michalis</font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">wt., 6 sie 2019, 00:35 użytkownik Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com">michalis.kambi@gmail.com</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank" rel="noreferrer">andreasplesch@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>X3DOM currently has two useful but not spec. compliant features for its Background node.</div><div><br></div><div>A) support for static, single image background</div><div><br></div><div>If only a backUrl image is provided, it is used as static backdrop which stays fixed, eg. is not a part of a cube map texture.</div><div>The same effect can be achieved with web page css styling, although sometimes it is advantageous to have a static background rendered with gl.</div><div><br></div><div>B) support for cubemaps in dds format</div><div><br></div><div>dds is a popular texture format which is well defined by MS:</div><div><a href="https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dx-graphics-dds" rel="noreferrer noreferrer" target="_blank">https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dx-graphics-dds</a><br></div><div>dds has built in support for cubemaps and is compact and portable.</div><div>x3dom understands dds format for an image provided for a cube map.</div><div>Support for additional texture formats may be out of scope for X3D. There may be other Mantis reports on texture formats.</div><div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think B) is already in the specification of ImageCubeMapTexture , see </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div></div></blockquote></div></div><div dir="auto"><a href="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/env_texture.html#ImageCubeMapTexture" target="_blank" rel="noreferrer">https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/env_texture.html#ImageCubeMapTexture</a> . View3dscene / Castle Game Engine support it too ( <a href="https://castle-engine.io/x3d_implementation_cubemaptexturing.php" target="_blank" rel="noreferrer">https://castle-engine.io/x3d_implementation_cubemaptexturing.php</a> ) and I would expect that most other browsers that claim support for <span style="font-family:sans-serif">ImageCubeMapTexture do too :)</span><br></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">BTW, KTX is in some ways a better alternative to DDS, with a clear specification from Khronos. CGE also supports it (although not *yet* for cubemaps), and I would encourage anyone who supports DDS to look into providing KTX support as alternative. See </span><font face="sans-serif"><a href="https://castle-engine.io/x3d_implementation_texturing.php#section_ktx" target="_blank" rel="noreferrer">https://castle-engine.io/x3d_implementation_texturing.php#section_ktx</a> and <a href="https://github.com/michaliskambi/x3d-tests/wiki/KTX" target="_blank" rel="noreferrer">https://github.com/michaliskambi/x3d-tests/wiki/KTX</a> .</font></div><div dir="auto"><font face="sans-serif"><br></font></div><div dir="auto"><font face="sans-serif">Best regards,</font></div><div dir="auto"><font face="sans-serif">Michalis</font></div></div>
</blockquote></div>