search for: normal_x

Displaying 7 results from an estimated 7 matches for "normal_x".

Did you mean: normal_y
2020 Oct 22
0
3d plot of earth with cut
...t) open3d() ids <- persp3d(x, y, z, col = "white", texture = system.file("textures/worldsmall.png", package = "rgl"), specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z = z) clipFn <- function(coords) { pmax(coords[,1], coords[,2]) # Just an example... } clipObj3d(ids["surface"], clipFn) Filling in the exposed surface could be done with polygon3d(), with some work to construct the polygon. Displaying the function acr...
2011 Jun 03
1
movie3d in rgl object 'movie' not found
...ng) y <- r*cos(lat)*sin(long) z <- r*sin(lat) persp3d(x, y, z, col="white", texture=system.file("textures/world.png",package="rgl"), specular="black", axes=FALSE, box=FALSE, xlab="", ylab="", zlab="", normal_x=x, normal_y=y, normal_z=z) #I run the above, note the device ID and then enter the following with rgl.cur(1) if my device ID is 1. movie3d(par3dinterp(par3dsave(params = c("userMatrix", "scale", "zoom", "FOV"), times = FALSE, dev = rgl.cur(1))), duration =...
2020 Oct 23
2
3d plot of earth with cut
...s <- persp3d(x, y, z, col = "white", texture = system.file("textures/world.png", package = "rgl"), specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z = z) # Plot the plane across the longitude slice #planes3d(a, b, c, d, alpha = 0.6) # optionally visualize the plane # Apply clipping to only one side of the plane using the normal vector clipplanes3d(a, b, c, d) # Map something onto this plane - how? Let's try wit...
2020 Oct 23
0
3d plot of earth with cut
..., col = "white", > texture = system.file("textures/world.png", package = > "rgl"), > specular = "black", axes = FALSE, box = FALSE, xlab = "", > ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z > = z) > > # Plot the plane across the longitude slice > #planes3d(a, b, c, d, alpha = 0.6) # optionally visualize the plane > # Apply clipping to only one side of the plane using the normal vector > clipplanes3d(a, b, c, d) > > # Map something...
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
2020 Oct 22
0
3d plot of earth with cut
> It should be a 2D slice/plane embedded into a 3D space. I was able to come up with the plot, attached. My intention was to plot national boundaries on the surface of a sphere. And put the slice inside. However, I haven't (as yet) worked out how to get the coordinates for the boundaries. Let me know, if of any value. And I'll post the code. (But needs to be polished first)
2020 Oct 22
2
3d plot of earth with cut
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D space. Could be static, I just need to make a single figure from it for illustration of the Earth together with its interior in 3D. So, the interior would be a slice in 2D along a fixed longitude. And along this 2D slice would be a heatmap. Again, embedded in 3D, since it would be shown as a slice of Earth in 3D. Duncan?s