Hello, I set up an orthographic camera with the OSG::OrthographicCameraPtr and added it to my viewport. What i like to do is to get the frame which is rendered through this camera into some kind of grayscale image-array to do image-processing like edge-detection. So actually i need the output from the fragment shader or a part of the framebuffer... I thought about using glsl to get access to the fragment-shader. Maybe giving a 2D-texture to the fragment-shader so that i can somehow store the depth-values into it would work. But i am not sure how this could be realized. If there is an easier way to access the framebuffer or someone could recommend an example how to pass arrays to the fragment shader i would be glad to get a hint.
Kind regards Sebastian B. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
