Skip to content
Prev 236488 / 398500 Next

RGL and Windows 7

On 01/10/2010 2:12 AM, Sven Wagner wrote:
You don't give any code to reproduce what you did, but the following 
just worked for me on Windows 7:

example(plot3d)
rgl.snapshot("c:/temp/test.png")

The usual reasons rgl.snapshot fails are these:

  - Bugs in your graphics card or its driver.  Try updating the driver.
  - The rgl graphics window being hidden at the time you call 
rgl.snapshot().  Some graphics drivers don't update the buffer if it's 
not visible, so rgl.snapshot() grabs junk.

If you have the problem with my two lines above and neither suggestion 
above fixes it, then I don't know what's going on, and I wouldn't be 
very optimistic you'll be able to fix it.

Duncan Murdoch