Hi all, I've gotten Yvonne's FBOViewport to work and I added support for depth texturing, and fixed the texture target issue (defaults to GL_TEXTURE_2D if it is GL_NONE).
There might be some bugs in there as well, but the new thing is that it allows you to attach a texture with internal format GL_DEPTH_COMPONENT and it will then be the depth buffer for that frame buffer object. Likewise with stencil texture. (No support for the combined format, GL_DEPTH_STENCIL_INDEX, yet though. Ought to be easy to add.) I hope you'll find it useful. /Marcus
ml_fbo.tgz
Description: GNU Unix tar archive
_______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users