>From: "Zach Deedler" <[EMAIL PROTECTED]> > >It looks like glReadPixels also takes about 5 Hz from me. Anybody have >experience with occlusion queries? Is it fast? It seems like this may be >the best way to go; except I can't find any good examples with Google :(
I posted the following a while ago here. -*- OpenSG (opensg.org) people have authored a new paper: Dirk Staneker, Dirk Bartz, Wolfgang Strasser Occlusion-Driven Scene Sorting for Efficient Culling ACM Afrigraph 2006, p. 99 The paper talks, e.g., about occupancy maps and opengl's occlusion query. -*- If the new GPUs have global variable memories, one could add to such a variable in the sun's fragment shader. Then the glare shader would check the size from that global variable. All would happen in the GPU only. But I have never programmed a GPU and don't know details. Juhana -- http://music.columbia.edu/mailman/listinfo/linux-graphics-dev for developers of open source graphics software _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
