Monday, December 31, 2012

osg: setPixelBufferObject and fbo




Pixel Buffer Object
http://www.opengl.org/wiki/Pixel_Buffer_Object


VBOs, PBOs and FBOs
http://hacksoflife.blogspot.com/2006/10/vbos-pbos-and-fbos.html


http://stackoverflow.com/questions/748162/what-are-the-differences-between-a-frame-buffer-object-and-a-pixel-buffer-object

A FBO (Framebuffer object) is a target where you can render images other than the default frame buffer or screen.

A PBO (Pixel Buffer Object) allows asynchronous transfers of pixel data to and from the device. This can be helpful to improve overall performance when rendering if you have other things that can be done while waiting for the pixel transfer.

======================================================

What is the difference between FBO and PBO?

A better question is how are they similar. The only thing that is similar about them is their names.

A Framebuffer Object (note the capitalization: framebuffer is one word, not two) is an object that contains multiple images which can be used as render targets.

A Pixel Buffer Object is:

A Buffer Object. FBOs are not buffer objects. Again: framebuffer is one word.
A buffer object that is used for asynchronous uploading/downloading of pixel data to/from images.
If you want to render to a texture or just a non-screen framebuffer, then you use FBOs. If you're trying to read pixel data back to your application asynchronously, or you're trying to transfer pixel data to OpenGL images asynchronously, then you use PBOs.

They're nothing alike.




OpenSceneGraph Tutorial



http://forum.openscenegraph.org/viewtopic.php?t=5100



OpenSceneGraph Texture2D image “dirty” vs “setImage” performance


http://stackoverflow.com/questions/7857724/openscenegraph-texture2d-image-dirty-vs-setimage-performance


http://stackoverflow.com/questions/10948124/updating-textures-on-runtime-in-openscenegraph


OSG3.0 book
http://www.denizyuret.com/bib/wang/Wang2010osg/OpenSceneGraph.3.0.Beginners.Guide.Dec.2010.pdf



Open Scene Graph States and StateSets part 1


http://www.bricoworks.com/articles/stateset/stateset.html


OpenSceneGraph Tutorials (Index)
https://www.movesinstitute.org/Sullivan/OSGTutorials/osgStateSet.htm




http://www.arcsynthesis.org/gltut/Texturing/Tutorial%2014.html



http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-September/044986.html


multiple textures and one geometry
http://www.mail-archive.com/osg-users@openscenegraph.net/msg10106.html





Blending Multiple Texture on one triangle mesh with coordinate control

http://forum.openscenegraph.org/viewtopic.php?t=6622

Friday, December 21, 2012

osg::Texture


http://stackoverflow.com/questions/10948124/updating-textures-on-runtime-in-openscenegraph

Thursday, December 13, 2012

how to revert itunes?

1. uninstall the new version.
2. search the old version at apple.com
3. follow this instruction, http://www.jailbreakmovies.com/2011/06/08/how-to-fix-the-itunes-library-itl-cannot-be-read-because-it-was-created-by-a-newer-version-of-itunes-error/