Re: [R] RGL 'front' upwards default in rendering image

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue 03 Oct 2006 - 02:03:23 GMT

Joe Byers wrote:
> The documentation for surface3d and rgl.surface in the package RGL states
> "'surface3d' always draws the surface with the `front' upwards
> (i.e. towards higher 'z' values). This can be used to render the
> top and bottom differently; see 'rgl.material' and the example
> below."
>
> Is there a way to override this default? I have search all the related
> methods help and the documents on RGL's website.
There are lots of ways to override it: as the docs say, rgl.surface is more flexible than surface3d, and you can draw triangles or quads arbitrarily. What sort of thing do you want to do?

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue Oct 03 12:10:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 03 Oct 2006 - 16:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.