When I use rgl::spheres3d()
, the rendered spheres have clunky facetted edges.
spheres = data.frame(x = c(1,2,3), y = c(1,3,1),
color = c("#992222" , "#222299", "#229922"))
open3d()
spheres3d(spheres$x, spheres$y, radius = 1, color = spheres$color)
Setting material3d(smooth = TRUE, line_antialias = TRUE)
does not improve this. Increasing the radius does not help either. Is there any way to increase the smoothness with which they are drawn?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…