[R] Re: Problems with rgl package
dmurdoch at pair.com
Wed Mar 20 13:28:09 CET 2002
On Wed, 20 Mar 2002 08:38:59 +0100, you wrote:
>By the way, I would like to say that I really like rgl,... although there is
>no possibility to save the graph in a vector format like postscript or
>wmf/emf. Is it a limitation of OpenGl libraries?
OpenGL is a raster-oriented renderer. RGL does maintain a
vector-oriented list of things to draw, but OpenGL does all the
hidden-object removal by maintaining a "z-buffer", i.e. an indicator
of the depth of each pixel in the scene. It would be quite difficult
to reproduce that properly in Postscript or wmf/emf. You could come
close by drawing things from the back to the front, but errors would
be made, e.g. when drawing intersecting polygons.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help