Direct X/ OpenGL 3D model capture

i was wondering if there was any software for capturing 3d objects rendered on the gpu. the reson why i wonder this is i got a psp emulator that runs on java with a 3d screenshot mode if i use it i get a file i can load in 3d max that had modles from the game and chucks of maps that was visible at the time of the screen shot.