Questions tagged [rgl]

`rgl` is a 3D visualization device system for R, using OpenGL as the rendering backend.

The rgl package is a 3D visualization device system for R based on OpenGL. An rgl device at its core is a real-time 3D engine written in C++. It provides an interactive viewpoint navigation facility (mouse + wheel support) and an R programming interface.

Features:

  • Cross-platform (Mac OS X, Win32, Unix/X11)
  • R programming interface
  • Interactive viewpoint navigation
  • Automatic data focus Geometry primitives: points, lines, triangles, quads, texts, spheres, 3D sprites, particles, terrain
  • Up to eight light sources
  • Alpha-blending (transparency)
  • Side-dependant rendering
  • Texture-mapping with mipmap support
  • Environmental effects: fogging, background sphere
  • Bounding box with axis ticks marks
  • Undo operation

Resources:

558 questions
-2
votes
1 answer

Is there a way to create an interactive .html file for a forest stand using the LiDARForestStandFunction in the rLiDAR pakcage?

I am using the rLiDAR package to plot a forest stand using the LiDARForestStand function, my goal for today is to create an interactive .html file for the forest stand using the rgl.widget function, but I am not sure how to embed the for loop and…
-2
votes
1 answer

how to appear multiple line in r(package plot3d)?

How can I draw multiple lines(splines) in plot3d?? I have a 3-dim coordinate. I tried one 3d line graph so far. Here is my sample data. x <- c(2,3,4,6,2,4) y <- c(2,4,5,3,3.43,5.2) z <- c(5.2,4,8.1,2.8,5.5,5.5) x1 <- c(2,5,2,5,6) y1 <-…
Lee Leon
  • 1
  • 1
-3
votes
1 answer

rgl install failure in Rstudio on mac

rgl installed Error : .onLoad failed in loadNamespace() for 'rgl', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgl/libs/rgl.so': …
1 2 3
37
38