Hello everybody,

1) im new to osg, hello ;)

2) i want to compute an average image out of several camera images.

My plan is using glsl:
draw the cam image as a texture to a screen-filling rectangle, set orthographic projection. render the rectangle several times, and divide the pixels by the number of render passes in the fragment shader. The results of the render passes need to be saved & added up in a pixelbuffer.

question: how can i render to the pixelbuffer? (and is the plan ok? ;))
And is there something like a pixelbuffer?

i looked through several mailinglist posts, but found nothing concrete, and no tutorial at all concerning the buffer question..
so pls help!

cheers,
Fabian

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to