<div dir="auto">Oh, cool, I wasn’t aware one could set gamma correction with an Environment element.  Good info!   Is this a cross-browser feature yet?</div><div dir="auto"><br></div><div dir="auto">These are examples from the archives, I’ve just had them stashed for early testing, probably in 2017.   I don’t know if any authors are in the files yet.</div><div dir="auto"><br></div><div dir="auto">I guess it’s time to separate myself from kinematics and get back to normal stuff.</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Aug 7, 2025 at 9:05 PM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">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">Hi John,<div><br></div><div>after some attempts, I could get the pixeltexture examples to load in both viewers.</div><div><br></div><div>The difference is due to the 'DEFAULT' value of magnificationFilter in TextureProperties: <a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureProperties" target="_blank">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureProperties</a></div><div><br></div><div>x3dom has the webgl default (I think 'FASTEST') and x_ite probably has "NEAREST_PIXEL" which was probably the traditional default.</div><div><br></div><div>For a more specific prescription of desired rendering an author has to explicitly set magnificationFilter to a value other than 'DEFAULT'.</div><div><br></div><div>Cheers, -Andreas</div><div><br></div><div>PS: for better color correspondence, switch off gamma correction in x3dom with</div><div><br></div><div><a href="https://doc.x3dom.org/tutorials/lighting/gamma/index.html" target="_blank">https://doc.x3dom.org/tutorials/lighting/gamma/index.html</a></div><div><br></div><div>eg.,</div><div><br></div><div><pre style="box-sizing:border-box;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;padding:16px;margin:16px 0px;line-height:1.42857;word-break:break-all;color:rgb(51,51,51);background-color:rgb(245,245,245);border:1px solid rgb(170,170,170);border-radius:0px"><code style="box-sizing:border-box;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;padding:0px;color:inherit;background-color:transparent;border-radius:0px"><span style="box-sizing:border-box">    </span><span style="box-sizing:border-box"><Environment</span><span style="box-sizing:border-box"> </span><span style="box-sizing:border-box">id</span><span style="box-sizing:border-box">=</span><span style="box-sizing:border-box">"gamma"</span><span style="box-sizing:border-box"> </span><span style="box-sizing:border-box">gammaCorrectionDefault</span><span style="box-sizing:border-box">=</span><span style="box-sizing:border-box">"none"</span><span style="box-sizing:border-box">></Environment></span><span style="box-sizing:border-box"> 
</span></code></pre>Cheers, -Andreas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 7, 2025 at 9:16 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">It occurred to me that you can pick up data files here: <div><a href="https://coderextreme.net/X3DJSONLD/src/main/data/" target="_blank">https://coderextreme.net/X3DJSONLD/src/main/data/</a></div><div dir="auto"><br></div><div dir="auto">Mouse over a link to get the filename, I think.</div><div dir="auto"><br></div><div dir="auto">I know it’s clunky.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">John</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 7, 2025 at 7:59 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Please look at these examples on <div dir="auto"><a href="https://coderextreme.net/X3DJSONLD/src/main/html/main_viewer.html" target="_blank">https://coderextreme.net/X3DJSONLD/src/main/html/main_viewer.html</a> under NavigationInfo type menu at right.  There’s a difference between X3DOM and X_ITE, but I don’t know which is correct yet.  If needed, I can track down the .x3d files.  They’re in this folder which is huge:  <div><a href="https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data" target="_blank">https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/data</a></div></div></div><ul style="list-style-type:none;padding-left:20px;display:block;font-family:arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)" dir="auto"><li style="padding:2px 0px;text-decoration:underline;font-family:arial,sans-serif;color:blue"><br></li><li style="padding:2px 0px;text-decoration:underline;font-family:arial,sans-serif;color:blue">indexedfaceset_pixeltexture_entire.json</li><li style="padding:2px 0px;text-decoration:underline;font-family:arial,sans-serif;color:blue">indexedfaceset_pixeltexture_part.json</li><li style="padding:2px 0px;text-decoration:underline;font-family:arial,sans-serif;color:blue">indexedfaceset_pixeltexture_plus.json</li><li style="padding:2px 0px;text-decoration:underline;font-family:arial,sans-serif;color:blue">indexedfaceset_pixeltexture_whole.json</li></ul><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">John</div><div dir="auto"><br></div><div dir="auto">P.S.: if all else fails, I will attach them.</div>
</div>
</blockquote></div></div>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</blockquote></div></div>