PDA

View Full Version : information from GPU



hterrolle
03-17-2016, 02:24 AM
Hi,

I will try to ask few simple question.

1) It is possible to get information from the GPU about what has beendrawed on screen

2) It is possible to read some part of memory from the GPU

3) It is possible for shader to be readable.

PS : i am new in deep learning of 3D, i am used with java3D. So i am try to anderstand what can be done by GPU or not. My goal is to implement picking. So i need to know if i have to organize my object information hierarchy in CPU processing or if i can expect some work from GPU, like ray tracing information test from a shader for example.

Thanks

Spoops
03-17-2016, 08:54 AM
Check out apitrace (https://github.com/apitrace/apitrace), it's a powerful tool for debugging OpenGL programs. You can visualize the OpenGL state, framebuffers, buffers, textures, shaders and uniforms for any call.

hterrolle
03-17-2016, 04:46 PM
Check out apitrace (https://github.com/apitrace/apitrace), it's a powerful tool for debugging OpenGL programs. You can visualize the OpenGL state, framebuffers, buffers, textures, shaders and uniforms for any call.

Thanks i will try it.