The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

SurfaceMesh Examples

Daniel Wollschläger (wollschlaeger@uni-mainz.de)

Oktober 30, 2026

Geometric Meshes

The geometric meshes included in package SurfaceMesh were originally part of R packages SurfaceReconstruction and cgalMeshes, developed and copyright by Stéphane Laurent. Please see the following directory for the .R scripts that generate the meshes.

## package installation directory depends on system
d <- system.file("data-raw", package="SurfaceMesh")
list.files(d)
##  [1] "00_GenerateMeshes.R"        "00_SurfaceReconstruction.R"
##  [3] "Cyclide.R"                  "EntzenStar.R"              
##  [5] "HopfTorus.R"                "ICN5Deight.R"              
##  [7] "IsoCuboid.R"                "Oloid.R"                   
##  [9] "OrthoCircle.R"              "PentaPrism.R"              
## [11] "Septuaginta.R"              "SolidMobiusStrip.R"        
## [13] "Sphere.R"                   "SpiderCage.R"              
## [15] "Tetrahedron.R"              "ToroidalHelix.R"           
## [17] "Torus.R"                    "TruncIcosahedron.R"        
## [19] "TubularKnot.R"

Dupin Cyclide

view3d(0, -35, zoom=0.8)
shade3d(dataCyclide, color="orangered")

Entzensberger Star

view3d(-55, -20, zoom=0.8)
shade3d(dataEntzenStar, col="steelblue2")

Hopf Torus

view3d(35, -20, zoom=0.8)
shade3d(toRGL(dataHopfTorus), color="darkred")

ICN5D Eight

view3d(35, -20, zoom=0.8)
shade3d(dataICN5Deight, color="violetred")

Oloid

view3d(20, 15, zoom=0.8)
shade3d(toRGL(dataOloid), color="darkviolet")

OrthoCircle

Paul Bourke OrthoCircle

view3d(-15, -10, zoom=0.8)
shade3d(dataOrthoCircle, color="darkolivegreen4")

Pentagrammic Prism

meshPentaPrism <- makeMesh(dataPentaPrism, triangulate=TRUE)
view3d(-15, -15, zoom=0.8)
shade3d(toRGL(meshPentaPrism), color="forestgreen")

Septuaginta

view3d(-10, -20, zoom=0.8)
shade3d(dataSeptuaginta, color="orangered")

Solid Möbius strip

view3d(-10, -20, zoom=0.8)
shade3d(dataSolidMobiusStrip, color="darkred")

Sphere

view3d(-25, -45, zoom=0.8)
shade3d(dataSphere, color="darkgoldenrod")
wire3d(dataSphere)

Spider Cage

view3d(-25, -45, zoom=0.8)
shade3d(dataSpiderCage, color="mediumseagreen")

Toroidal Helix

view3d(15, -20, zoom=0.8)
shade3d(dataToroHelix, color="violetred")

Torus

view3d(-20, -20, zoom=0.75)
shade3d(dataTorus, color="green")
wire3d(dataTorus)

Truncated Icosahedron

meshTruncIcos <- makeMesh(dataTruncIcosahedron, triangulate=TRUE)
view3d(-15, -10, zoom=0.8)
shade3d(toRGL(meshTruncIcos), color="wheat2")

Tubular Knot

view3d(-15, -15, zoom=0.8)
shade3d(dataTubularKnot, color="royalblue3")

Corner

f_mesh   <- system.file("extdata", "dataCorner.off", package="SurfaceMesh")
mesh     <- makeMesh(f_mesh, verbose=FALSE)
mesh_rgl <- toRGL(mesh)

view3d(85, -65, zoom=0.8)
shade3d(mesh_rgl, col="turquoise4")

Human Heart Contoured from CT Images

Heart by Observer 1

view3d(-5, -90, zoom=0.8)
shade3d(toRGL(dataHeart1), color="tomato")

Heart by Observer 2

view3d(-5, -90, zoom=0.8)
shade3d(toRGL(dataHeart2), color="gray")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.