[osg-users] Problems with TBO Texture Buffer Object's
robert.osfield at gmail.com
Mon Nov 30 03:58:26 PST 2009
Oooh,, thanks for the link. Looks like texture_buffer_object is a new
extension from NVidia that complete slipped beneath my radar.
As for using PBO's with GLSL, I'm not sure what gave the idea that you
couldn't use the two together, GLSL use of textures and how the data
is passed to the texture objects is completely orthogonal - as far as
standard GLSL is concerned a texture is a texture no matter how you
passed the data to it. PBO's just help with getting the data to and
from the GPU efficiently.
In contrast, looking at the extension spec, the texture_buffer_object
looks to be like a new type of texture object that allows array like
access, rather than the traditional type of look up that one uses with
textures. I don't know enough about the extension to say for sure but
I'd guess that it may well be compatible with PBO rather than an
On Mon, Nov 30, 2009 at 11:44 AM, Johannes Schüth <account at jotschi.de> wrote:
> I'm not quite sure but it seems that
> is something different than:
> Although the way of binding the buffer seems initially the same.
> I just want to use float's within my shader and beeing able to exchange the values quite fast.
> When storing floats within a sampler2d uniforms you have to reinitalise the texture each time you change a piece of your data (texture).
> When using texture buffer objects you just have to rebind the data object which is in my mind faster than texture reinitialization. See http://www.jotschi.de/?p=424 for a opengl example.
> I belive pbo's can't be used within glsl? Tbo's can. Maybe thats the difference?
> Thank you!
> Read this topic online here:
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users