One addition to this thread:
I've just committed contourLines3d() to rgl (in version 0.102.28). It
will let you display contour lines of a function on any surface in a scene.
Duncan Murdoch
On 23/10/2020 2:30 p.m., Duncan Murdoch wrote:
Good to hear you've made such progress. Just a couple
Good to hear you've made such progress. Just a couple of comments:
- You should use points3d() rather than rgl.points(). The latter is a
low level function that may have unpleasant side effects, especially
mixing it with other *3d() functions like persp3d().
- There are several ways to draw a
Dear All,
Thanks a lot for the useful help again. I manage to get it done up to a
point where I think I
just need to apply some smoothing/interpolation to get denser points, to
make it nice.
Basically, I started from Duncen's script to visualize and make the
clipping along a plane
at a slice.
Then
> 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
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 b
Hello,
this is very close to exactly what I need! I have tried it and it works
nicely, I just have to map some values onto to the polygon or 2D plane that
cuts into the 3D object.
Thanks!
Balint
On Thu 22. Oct 2020 at 21:28, Duncan Murdoch
wrote:
> On 21/10/2020 8:45 a.m., Balint Radics wrote
Hi
Thanks a lot for this pointer, I will need to look at it. I did indeed
google but did not find an example. In the meantime some additional
solutions were suggested, that I also need to try.
Cheers,
Balint
On Thu 22. Oct 2020 at 20:56, Bert Gunter wrote:
> 1. Have you looked here:
> https://
If you have "value" as a function of latitude and radius, isn't that a
2D (not 3D) scalar field?
Which can be plotted using a regular heatmap.
If you want a curved edge where depth=0 (radius=?), that's not too
difficult to achieve.
Not quite sure what continent boundaries mean in this context, but
On 21/10/2020 8:45 a.m., Balint Radics wrote:
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 g
1. Have you looked here:
https://cran.r-project.org/web/views/Spatial.html
(I assume you have done some web searches on possible terms like "3D Earth
Data R" or whatever)
2. You might try posting on the r-sig-geo list rather than here, where
relative expertise may more likely be available.
Cheers
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, fi
11 matches
Mail list logo