rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
OpenGL supports several different texture modes; rgl only uses GL_MODULATE. GL_REPLACE would make more sense, e.g. see #298 . When the surface to modify is white, they are the same. When it is black, GL_MODULATE causes the texture to be ignored.
OpenGL supports several different texture modes; rgl only uses GL_MODULATE. GL_REPLACE would make more sense, e.g. see #298 . When the surface to modify is white, they are the same. When it is black, GL_MODULATE causes the texture to be ignored.