<div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">There’s something with line 364 of io_utils.py I tried to patch.   With that exception being tested for (thanks Don for your suggestion on the python error), I got decimated textures in all later round trips, in all collada, fbx, glTF and X3D. I tried running the .x3d in a browser under both X_ITE and X3DUOM—no luck.</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">At this point I don’t know how to replace the texture in the exported X3D,  but it’s likely one can replace decimated textures (data url?), but without a url attribute, this is more difficult.   If you have multiple textures, which do you replace if there’s no names to your images?</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">So the good news is, export textures are somewhat working for me (in blender) but changes to the exported textures to add a comment with the image file name in it would be welcome.   Ideally one should be able to configure export to add url attributes instead of using decimated textures.   So don’t provide images, just provide a spot to put a file name in.  Make it optional.  Note, I’m a blender noob.</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">So one can patch the loop in io_utils.py by testing if the iterable is None,  but you might get decimated images.  A way forward is to test exports of unpatched versions of blender.   If all exports show decimated textures, then Blender team has work which X3D may benefit from.</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">I may need to upgrade my blend file.   I recommend starting with a fresh cube and a text to adequately test this deficiency.   I believe Don did this.   The Blender file may have historical issues that newer version may deprecated</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)">John</div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></div><div style="border-color:rgb(0,0,0);color:rgb(0,0,0)" dir="auto"><br><div class="gmail_quote" style="width:343px;border-color:rgb(0,0,0)"><div dir="ltr" class="gmail_attr" style="border-color:rgb(0,0,0)">On Wed, Dec 29, 2021 at 11:03 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="width:343px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-color:rgb(0,0,0) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204)"><div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word;border-color:rgb(0,0,0)"><div class="m_-3358770133254513996WordSection1" style="border-color:rgb(0,0,0)"><p class="MsoNormal" style="border-color:rgb(0,0,0)">Blender 3.0 is released, online at<u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><ul type="disc" style="margin-top:0in;border-color:rgb(0,0,0)"><li class="m_-3358770133254513996MsoListParagraph" style="margin-left:0in;border-color:rgb(0,0,0)"><a href="https://blender.org" target="_blank" style="border-color:rgb(66,133,244)">https://blender.org</a><u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></li></ul><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)">Tried to import HelloWorld.x3d<u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><ul type="disc" style="margin-top:0in;border-color:rgb(0,0,0)"><li class="m_-3358770133254513996MsoListParagraph" style="margin-left:0in;border-color:rgb(0,0,0)"><a href="https://www.web3d.org/x3d/content/examples/HelloWorld.x3d" target="_blank" style="border-color:rgb(66,133,244)">https://www.web3d.org/x3d/content/examples/HelloWorld.x3d</a><u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></li></ul><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)">That seemed to work, result is large (4KB grew to 835KB) and so pushed online at<u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><ul type="disc" style="margin-top:0in;border-color:rgb(0,0,0)"><li class="m_-3358770133254513996MsoListParagraph" style="margin-left:0in;border-color:rgb(0,0,0)"><a href="https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldImportBlender.blend" target="_blank" style="border-color:rgb(66,133,244)">https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldImportBlender.blend</a><u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></li></ul><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)">However exporting back to X3D failed, with Blender console not providing copyable text, screenshot of traceback attacked.<u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)">Wondering if anyone with Blender skills can figure out what is wrong?  Likely we should submit a bug report to Blender.  TIA for all troubleshooting.<u style="border-color:rgb(0,0,0)"></u><u style="border-color:rgb(0,0,0)"></u></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)"><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u> <u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)">all the best, Don<u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)">-- <u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank" style="font-family:"Courier New";border-color:rgb(66,133,244)">brutzman@nps.edu</a><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)">X3D graphics, virtual worlds, navy robotics https://</span> <span style="font-size:10pt;font-family:"Courier New";border-color:rgb(0,0,0)"><a href="http://faculty.nps.edu/brutzman" target="_blank" style="font-family:"Courier New";border-color:rgb(66,133,244)">faculty.nps.edu/brutzman</a><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u><u style="font-family:"Courier New";border-color:rgb(0,0,0)"></u></span></p><p class="MsoNormal" style="border-color:rgb(0,0,0)"><u style="border-color:rgb(0,0,0)"></u> <u style="border-color:rgb(0,0,0)"></u></p></div></div>_______________________________________________<br>x3d-public mailing list<br><a href="mailto:x3d-public@web3d.org" target="_blank" style="border-color:rgb(66,133,244)">x3d-public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank" style="border-color:rgb(66,133,244)">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br></blockquote><div dir="auto"><br></div></div></div>