Earth Cross Section

  • Email
  • Sharebar
  • Email
Andy's picture

In the X3DOM mailing list, there was a discussion about constructing solid geometry. One application of solid geometry is to model the cross section of Earth. Unfortunately, solid geometry is not supported in X3DOM. However, the cross section can be achieved by using other geometry available in X3DOM. Here is an example.

The geometry nodes used to achieve the above model are DISH and PIE, there are not included in the normal x3dom.js but as extra components in Geometry2D.js and Geometry3DExt.js, which can be downloaded from http://x3dom.org/download/dev/components/. In VRMath2 I have included them by default. 

I construct the above Earth cross section in my VRMath2 Editor using Logo programming language. It is actually quite easy to construct. Interactions and animations such as add shell or remove shell can also be easily added. Leave a comment below and let me know your ideas about what interaction and animation you would like to see. Below are the Logo program to create the Earth cross section 3D world.

The above program can be open in VRMath2 Editor's Logo Editor (get from Window menu). Or you may wish to download the logo and x3d files below.

Filesearth_cross_section.logo  earth_cross_section.x3d

Comments

Andy's picture

Another cool cross section model

Here is another cool cross section model by John Carlson at http://coderextreme.net/earth  (using three.js). A x3dom example by John is at http://coderextreme.net/earth/world.html.

Another interactive model in VRMath2 can be found at https://vrmath2.net/content/interactive-earth-cross-section