[osg-users] Some yes/no questions about VBOs

2008-07-02 Thread David Spilling
Dear All, I have a few VBO related questions; a few quick yes/no answers would be much appreciated to stop me going down dead ends... I attach a vertex array, texcoord array and normal array to a Drawable, which is using VBOs. From the code, I can see that calling dirty() on any of the arrays

Re: [osg-users] Some yes/no questions about VBOs

2008-07-02 Thread Robert Osfield
On Wed, Jul 2, 2008 at 1:43 PM, David Spilling [EMAIL PROTECTED] wrote: 1) I can't quite understand all of the BufferObject code, but just to check, it looks like all three arrays are dumped into one large contiguous buffer (i.e. one single bufferID). Is that correct? If(1) is true, and it's

Re: [osg-users] Some yes/no questions about VBOs

2008-07-02 Thread David Spilling
Robert, 2) Am I right in thinking that limiting the upload to one of the arrays would involve extending BufferObject to use glBufferSubData, as it isn't currently supported? I should already work in 2.4 onwards. Fabulous! I'm on 2.2 at the moment; I'll upgrade immediately! Thanks for

Re: [osg-users] Some yes/no questions about VBOs

2008-07-02 Thread Robert Osfield
On Wed, Jul 2, 2008 at 2:28 PM, David Spilling [EMAIL PROTECTED] wrote: I should already work in 2.4 onwards. Fabulous! I'm on 2.2 at the moment; I'll upgrade immediately! Thanks for the help, Just checking svn log, it looks like some of the Array changes happend after 2.4, so it would be