<div dir="ltr">Hi Andy,<div><br></div><div>if the subject is the earth, the geo-nodes should be useful, and I believe they were. The advantage here was mostly that GeoElevationGrid allows partial grids to be used, and that one an use the real dimension of the earth in meters. If you look closely you can see that the GeoElevationGrid is actually an ellipsoid: there is a small gap at the equator between the surface and the crust layer.</div><div><br></div><div>ArcClose2D actually has startAngle and endAngle:</div><div><br></div><div><a href="https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry2D/ArcClose2D.js">https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry2D/ArcClose2D.js</a><br></div><div><br></div><div>although it is left out in the documentation:</div><div><br></div><div><a href="http://doc.x3dom.org/author/Geometry2D/ArcClose2D.html">http://doc.x3dom.org/author/Geometry2D/ArcClose2D.html</a><br></div><div><br></div><div>Disk2D has innerRadius and outerRadius but not startAngle and endAngle:</div><div><br></div><div><a href="http://doc.x3dom.org/author/Geometry2D/Disk2D.html">http://doc.x3dom.org/author/Geometry2D/Disk2D.html</a><br></div><div><a href="https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry2D/Disk2D.js">https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry2D/Disk2D.js</a><br></div><div><br></div><div>This is how the spec. defines the node. But it would be nice to a have a startAngle and endAngle for Disk2D as well. It seems like a small, natural extension to be able to define incomplete disks. x3dom could implement it first and then it could be added to the spec. officially.</div><div><br></div><div>-Andreas</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 10, 2015 at 11:41 AM, Andy Yeh <span dir="ltr"><<a href="mailto:a.yeh@qut.edu.au" target="_blank">a.yeh@qut.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Andreas,
<div><br>
</div>
<div>Thanks for the example. Good to know the Geo- nodes work.</div>
<div><br>
</div>
<div>I guess Disk2D is an ArcClose2D with endAngle as 2*pi, so Disk2D does not have endAngle, it is to be a disk. The startAngle will be useful though for ArcClose2D and Arc2D. But there does not seem to have startAngle for them in x3dom??</div>
<div><br>
</div>
<div>
<div>—<br>
Andy </div>
<br>
<div>
<blockquote type="cite">
<div>On 10 May 2015, at 12:10 pm, Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi there,
<div><br>
</div>
<div>here is a x3dom only way to show the sections. It uses GeoElevationGrids for the full southern hemisphere and the partial northern hemisphere, and a DEF group of layered ArcClose2Ds for the section which is then reUSEd in transforms. </div>
<div><br>
</div>
<div><a href="http://plaza-omega.codio.io/x3dom/planet/index.xhtml" target="_blank">http://plaza-omega.codio.io/x3dom/planet/index.xhtml</a></div>
<div><br>
</div>
<div>One could add onmouseover handlers to show info for each layer.</div>
<div><br>
</div>
<div>It is curious that there is a ArcClose2D node but that the Disk2D node has not an option for a startAngle and endAngle which would have been useful here.</div>
<div><br>
</div>
<div>-Andreas</div>
<div><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, May 9, 2015 at 12:31 PM, John Carlson <span dir="ltr">
<<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><br>
<div>
<blockquote type="cite">
<div>On May 9, 2015, at 10:58 AM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
</blockquote>
<blockquote type="cite">
<div>
<div style="word-wrap:break-word">
<div>Perhaps you could describe how to do prototypes with VRmath2 with Logo.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
In other words, can you do it in Logo, only mentioning DISH once and PIE once.</div>
<div><br>
<blockquote type="cite">
<div>
<div style="word-wrap:break-word">
<div>John<br>
<blockquote type="cite">
<div>
<div style="word-wrap:break-word">
<div></div>
<div>Best,<br>
<div>—<br>
Andy :-)</div>
<br>
<div>
<blockquote type="cite">
<div>On 9 May 2015, at 10:04 am, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Andy.  Thanks for your way.  It has helped.  I devised a little animation with X3DOM and D3.js based on your ideas: <a href="http://coderextreme.net/earth/world.html" target="_blank">http://coderextreme.net/earth/world.html</a>
<div><br>
</div>
<div>John<br>
<div>
<blockquote type="cite">
<div>On May 8, 2015, at 9:15 AM, Andy Yeh <<a href="mailto:a.yeh@qut.edu.au" target="_blank">a.yeh@qut.edu.au</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Hi John,
<div><br>
</div>
<div>I used a different way to construct the earth cross section.</div>
<div>See my blog at <a href="https://vrmath2.net/content/earth-cross-section" target="_blank">https://vrmath2.net/content/earth-cross-section</a></div>
<div><br>
</div>
<div>
<div>—<br>
Andy :-)</div>
<br>
<div>
<blockquote type="cite">
<div>On 8 May 2015, at 6:51 pm, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Thinking about this, it seems like this could be done with 2 extrusions, one per hemisphere.  Anyone want to give it a try?  I may get to it eventually.
<div><br>
</div>
<div>John<br>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 11:28 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">The earth.png is included in this email.   The source code is
<a href="http://coderextreme.net/eart" target="_blank">http://coderextreme.net/eart</a>h/<span><earth.png></span><br>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 11:17 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Based on the blog below, I developed a CSG Earth cross section with Three.js.  Here it is
<a href="http://coderextreme.net/earth/earth.png" target="_blank">http://coderextreme.net/earth/earth.png</a>  Note that I’d like to make my “addShell” function a part of some declarative code (JSON, Collada, gilt, X3D or X3DOM, if they aren’t already
 there.
<div><br>
</div>
<div>John<br>
<div>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 3:06 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Here’s the example from the Learning Three.js blog.  Seems performant enough: <a href="http://learningthreejs.com/data/constructive-solid-geometry-with-csg-js/" target="_blank">http://learningthreejs.com/data/constructive-solid-geometry-with-csg-js/</a> 
 I want to visualize the inner part of the earth.
<div><br>
</div>
<div>John<br>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 2:48 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">This may be an alternate solution:
<div><br>
</div>
<div><a href="http://learningthreejs.com/blog/2011/12/10/constructive-solid-geometry-with-csg-js/" target="_blank">http://learningthreejs.com/blog/2011/12/10/constructive-solid-geometry-with-csg-js/</a></div>
<div><br>
</div>
<div><a href="http://evanw.github.io/csg.js/" target="_blank">http://evanw.github.io/csg.js/</a></div>
<div><br>
</div>
<div>Is there any chance we can get X3DOM to support this, at least for a limited number of shapes?  I want to build a cross section of the earth in D3.js and X3DOM.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>John<br>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 2:19 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Also:  <a href="https://www.comp.nus.edu.sg/~lowkl/publications/realtime_csg_vrst2010.pdf" target="_blank">https://www.comp.nus.edu.sg/~lowkl/publications/realtime_csg_vrst2010.pdf</a> I think for my visualization,
 spheres may be sufficient.
<div><br>
</div>
<div>John</div>
<div><br>
<div>
<blockquote type="cite">
<div>On May 7, 2015, at 1:55 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Given <a href="http://www.cc.gatech.edu/~jarek/blister/Blister.pdf" target="_blank">http://www.cc.gatech.edu/~jarek/blister/Blister.pdf</a>
<div><br>
</div>
<div>Is the comment about constructive solid geometry (CSG) below still valid?<br>
<div><br>
</div>
<div><a href="http://www.web3d.org/wiki/index.php/CAD_Working_Group_Strategy" target="_blank">http://www.web3d.org/wiki/index.php/CAD_Working_Group_Strategy</a></div>
</div>
<div><br>
</div>
<div>Is it a matter of IP?  Graphics cards?</div>
<div><br>
</div>
<div>Is anyone doing CSG with X3D or X3DOM?  Thanks!</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>John</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
------------------------------------------------------------------------------<br>
One dashboard for servers and applications across Physical-Virtual-Cloud <br>
Widest out-of-the-box monitoring support with 50+ applications<br>
Performance metrics, stats and reports that give you Actionable Insights<br>
Deep dive visibility with transaction tracing using APM Insight.<br>
<a href="http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________" target="_blank">http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________</a><br>
X3dom-users mailing list<br>
<a href="mailto:X3dom-users@lists.sourceforge.net" target="_blank">X3dom-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/x3dom-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/x3dom-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
------------------------------------------------------------------------------<br>
One dashboard for servers and applications across Physical-Virtual-Cloud<br>
Widest out-of-the-box monitoring support with 50+ applications<br>
Performance metrics, stats and reports that give you Actionable Insights<br>
Deep dive visibility with transaction tracing using APM Insight.<br>
<a href="http://ad.doubleclick.net/ddm/clk/290420510;117567292;y" target="_blank">http://ad.doubleclick.net/ddm/clk/290420510;117567292;y</a><br>
_______________________________________________<br>
X3dom-users mailing list<br>
<a href="mailto:X3dom-users@lists.sourceforge.net" target="_blank">X3dom-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/x3dom-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/x3dom-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all"><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div>Andreas Plesch<br>
39 Barbara Rd.<br>
Waltham, MA 02453</div>
</font></span></div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div>