search for: clipobj3d

Displaying 2 results from an estimated 2 matches for "clipobj3d".

2020 Oct 22
0
3d plot of earth with cut
...tity "Value" at various depths > and latitudes in 3D. The rgl package has a full sphere of the Earth with (obsolete) political boundaries in example(persp3d). To cut it in half along the plane through a given longitude (and that longitude + 180 deg), you could use clipPlanes3d, or clipObj3d. For example, library(rgl) lat <- matrix(seq(90, -90, len = 50)*pi/180, 50, 50, byrow = TRUE) long <- matrix(seq(-180, 180, len = 50)*pi/180, 50, 50) r <- 6378.1 # radius of Earth in km x <- r*cos(lat)*cos(long) y <- r*cos(lat)*sin(long) z <- r*sin(lat) open3d() ids <- pers...
2020 Oct 21
6
3d plot of earth with cut
Hello, Could someone suggest a package/way to make a 3D raster plot of the Earth (with continent boundaries), and then make a "cut" or "slice" of it such that one can also visualize some scalar quantity as a function of the Radius/Depth across that given slice ? Formally, I would have a given, fixed longitude, and a list of vectors {latitude, radius, Value} that would show