<div dir="auto">Any chance we can see a fix in X3DOM?   I've been waiting...<div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 19, 2017 8:31 PM, "Don Brutzman" <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Congratulations and big thanks to Dr. Sungmin Kwon who fixed challenging Extrusion anomalies in Xj3D v2.1, correcting not one but seven bugs in the open source.<br>
<br>
Interesting slideset describing his analysis and corrections is now available online, along with demonstration screenshots.  Slideset is attached for the email archives since these techniques may be quite useful to other implementers as well.  Indeed since some of these bugs interact or occur only intermittently (such as incorrect ordering of matrix multiplications) the symptoms were often contradictory and corrections have eluded a number of people for a long time.<br>
<br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Xj3DViewerExtrusionBugFix.pdf" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/Xj3DViewerExt<wbr>rusionBugFix.pdf</a><br>
<br>
Torus example from VRML Sourcebook attached. Note that closed spine not only results in proper mesh stitching, but also normal vectors are accounted for on both ends that share points so seam-rendering artifacts don't appear.<br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Figure15_12TorusXj3D.png" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/Figure15_12To<wbr>rusXj3D.png</a><br>
<br>
Results of Xj3D improvements are also reflected in scene thumbnails and viewpoint captures for all scenes in the X3D Example Archives.<br>
        <a href="http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/X3dResources.html#<wbr>Examples</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/index.html" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/index.html</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/viewpointSlideshow.html" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/viewpointSlid<wbr>eshow.html</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/_thumbnails/Figure15_12TorusWithAxesThumbnail.png" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/_thumbnails/<wbr>Figure15_12TorusWithAxesThumbn<wbr>ail.png</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/_viewpoints/Figure15_12TorusWithAxes.x3d._VP_Torus.png" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion/_viewpoints/<wbr>Figure15_12TorusWithAxes.x3d._<wbr>VP_Torus.png</a><br>
<br>
So here is a strong nominee for *X3D bugfix of the decade!*  8)<br>
<br>
Steady work on Xj3D improvements continues.  Latest greatest is checked into SourceForge trunk, details at<br>
        <a href="https://sourceforge.net/projects/xj3d" rel="noreferrer" target="_blank">https://sourceforge.net/projec<wbr>ts/xj3d</a><br>
        <a href="https://savage.nps.edu/Savage/developers.html#Xj3D" rel="noreferrer" target="_blank">https://savage.nps.edu/Savage/<wbr>developers.html#Xj3D</a><br>
<br>
Corresponding X3D-Edit updates have also occurred.  X3D-Edit is a free, open-source Extensible 3D (X3D) Graphics authoring tool for simple high-quality editing, authoring and validation of X3D scenes.  Xj3D viewer is embedded, with workflow and launch support included for numerous X3D browsers and X3D-capable authoring tools.<br>
        <a href="https://savage.nps.edu/X3D-Edit" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t</a><br>
<br>
Download and auto-update instructions:<br>
      <a href="https://savage.nps.edu/X3D-Edit/#Downloads" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/#Downloads</a><br>
<br>
X3D-Edit includes improvements to the Extrusion editing pane that show whether crossSection and spine are open or closed, along with edit buttons to open/close either.<br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ExtrusionAttributesPanel.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ExtrusionAttributesPa<wbr>nel.png</a><br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ExtrusionCrossSectionPanel.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ExtrusionCrossSection<wbr>Panel.png</a><br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ExtrusionSpineScalePanel.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ExtrusionSpineScalePa<wbr>nel.png</a><br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ExtrusionOrientationsPanel.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ExtrusionOrientations<wbr>Panel.png</a><br>
<br>
An embedded comment within the edited Extrusion can be helpful for keeping track of the declared geometry's computed open/closed properties. Example:<br>
<br>
        <Extrusion crossSection='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1' scale='1 1 1 1 0.2 0.2' spine='0 0 0 0 1 0 0 1.6 0'><br>
          <!-- spine is open, crossSection is closed --><br>
        </Extrusion><br>
<br>
Some curiosities about Extrusion remain, we are further considering "edge cases" presented originally by Seva, see scene links in exemplar scene.<br>
<br>
        <a href="http://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ExtrusionEdgeCases.x3d" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Basic/X3dSpecifica<wbr>tions/ExtrusionEdgeCases.x3d</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ExtrusionEdgeCasesIndex.html" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Basic/X3dSpecifica<wbr>tions/ExtrusionEdgeCasesIndex.<wbr>html</a><br>
        <a href="http://web3d.org/pipermail/x3d-public_web3d.org/2016-January/004184.html" rel="noreferrer" target="_blank">http://web3d.org/pipermail/x3d<wbr>-public_web3d.org/2016-January<wbr>/004184.html</a><br>
        <a href="http://www.web3d.org/member-only/mantis/view.php?id=923" rel="noreferrer" target="_blank">www.web3d.org/member-only/mant<wbr>is/view.php?id=923</a><br>
<br>
Additional X3D-Edit improvements to be thankful for:<br>
-  improved cursor/caret handling when editing scenes (hooray, finally) and<br>
- consistent Viewpoint Rotation Calculator interfaces for Viewpoint, OrthoViewpoint and GeoViewpoint.  Authors are provided a similar option to save lookAt point as an embedded comment within the Viewpoint (also reloaded at relaunch).<br>
<br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ViewpointCalculator.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ViewpointCalculator.<wbr>png</a><br>
        <a href="https://savage.nps.edu/X3D-Edit/images/ViewpointCalculatorComposed.png" rel="noreferrer" target="_blank">https://savage.nps.edu/X3D-Edi<wbr>t/images/ViewpointCalculatorCo<wbr>mposed.png</a><br>
<br>
        <Viewpoint DEF='ViewUpClose' centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'><br>
          <!-- local lookat point: 0 -1 0 --><br>
        </Viewpoint><br>
<br>
The latest validation improvements for X3D XML Schema and Schematron rules are also added to the X3D Validator, both internal to X3D-Edit (checkmark button in author workflow) and online.<br>
      <a href="https://savage.nps.edu/X3dValidator" rel="noreferrer" target="_blank">https://savage.nps.edu/X3dVali<wbr>dator</a><br>
<br>
Authors can learn more about Extrusion node at<br>
<br>
        <a href="http://www.web3d.org/x3d/content/X3dTooltips.html#Extrusion" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/X3dTooltips.html#Extrusion</a><br>
        <a href="http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/Vrml2Sourcebook/Ch<wbr>apter15Extrusion</a><br>
        <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons" rel="noreferrer" target="_blank">http://x3dgraphics.com/example<wbr>s/X3dForWebAuthors/Chapter06Ge<wbr>ometryPointsLinesPolygons</a><br>
        <a href="http://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons.pdf" rel="noreferrer" target="_blank">http://x3dgraphics.com/slidese<wbr>ts/X3dForWebAuthors/Chapter06G<wbr>eometryPointsLinesPolygons.pdf</a><br>
        <a href="https://www.movesinstitute.org/Video/Courses/X3dForWebAuthors/X3dForWebAuthorsVideo.html#6" rel="noreferrer" target="_blank">https://www.movesinstitute.org<wbr>/Video/Courses/X3dForWebAuthor<wbr>s/X3dForWebAuthorsVideo.html#6</a><br>
        <a href="https://www.youtube.com/watch?v=OezdubjTbqE&list=PLuSIsM-86silXbPFOJ43Qgn47Pw6RufeB&index=6" rel="noreferrer" target="_blank">https://www.youtube.com/watch?<wbr>v=OezdubjTbqE&list=PLuSIsM-86s<wbr>ilXbPFOJ43Qgn47Pw6RufeB&index=<wbr>6</a><br>
<br>
So, lots of excellent progress.  Again thanks Sungmin for this important work.<br>
<br>
Have fun with X3D Extrusion!<br>
<br>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   <a href="tel:%2B1.831.656.2149" value="+18316562149" target="_blank">+1.831.656.2149</a><br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzma<wbr>n</a><br>
<br>______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/<wbr>listinfo/x3d-public_web3d.org</a><br>
<br></blockquote></div></div>