<div dir="ltr">I have extended the three-x3d-loader (see original email) to load my JSON.  So I'm somewhat familiar with loaders.<div><br></div><div>I would rather be limited by what Three.js (if not open ended) has rather than trying to support the full range of X3D.  That is, I probably won't write exporters for all x3d encodings. Picking what encoding to use would be important.<br></div><div><br></div><div>I do know we can convert to another format to export/import from/into Three.js. I think we need to measure.</div><div><br></div><div>I agree that using the VRML parse structures and exporting from them would be a good approach, but I just want to peek at a few other exporters.  I am pretty sure that Three.JS does not support X3D exporters out of the box.</div><div><br></div><div>I have not done a lot of research into VRML, so I will accept looking into the VRML Loader as a good 2nd task.</div><div><br></div><div>I'm not doing any coding until a design is arrived at.</div><div><br></div><div>I don't even know if Three.js has a common internal structure for all encodings!</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 11, 2022 at 4:26 PM Nicholas Polys <<a href="mailto:npolys@vt.edu">npolys@vt.edu</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">An alternative ,<div dir="auto">Perhaps if new to the</div><div dir="auto">Three.js internals , would be to examine the data structures that are populated from the current three<div dir="auto">J's vrml loader and  bolt in an xml parsing front end to pull those data structures from the </div><div dir="auto">X3d file</div><div dir="auto"><br></div><div dir="auto">Then expand node support ...</div><div dir="auto">?</div><div dir="auto"><br></div><div dir="auto">This is fun and there are lots of little projects in x3dom and blender as well... </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 11, 2022, 4:51 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">Ok!   I have 1-2 hours a day to work on it.</div><div dir="auto">Nicholas,</div><div dir="auto"><br></div><div dir="auto">Here are my initial thoughts.</div><div dir="auto"><br></div><div dir="auto">1.  Determine which object model to use. </div><div dir="auto"><br></div><div dir="auto">2.  Possibly use a preprocessor/post-processor</div><div dir="auto"><br></div><div dir="auto">3.  Which profile to target</div><div dir="auto"><br></div><div dir="auto">4. Come up with a good design </div><div dir="auto"><br></div><div dir="auto">5.  Investigate previous attempts, formats</div><div dir="auto"><br></div><div dir="auto">6.   Develop an exporter, then an importer.  So far, I have only worked on Three.js importers.  I do know not know if this will be green field programming or not.</div><div dir="auto"><br></div><div dir="auto">My next step will be looking at three.js exporters.</div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 11, 2022 at 8:41 AM Nicholas Polys <<a href="mailto:npolys@vt.edu" rel="noreferrer" target="_blank">npolys@vt.edu</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">Sure!</div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 11, 2022, 6:23 AM John Carlson <<a href="mailto:yottzumm@gmail.com" rel="noreferrer" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="https://threejs.org/editor/" rel="noreferrer noreferrer" target="_blank">https://threejs.org/editor/</a><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="https://threejs.org/examples/#webgl_loader_vrml" rel="noreferrer noreferrer" target="_blank">https://threejs.org/examples/#webgl_loader_vrml</a><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="https://github.com/coderextreme/three-x3d-loader" rel="noreferrer noreferrer" target="_blank">https://github.com/coderextreme/three-x3d-loader</a><br></div></div></div></div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" rel="noreferrer noreferrer" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer noreferrer noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>