Hi David,

On 13/04/10 15:03, David Spilling wrote:
Hi Robert

    I haven't tried rendering to VBO before but it's my understanding that

    the technique used to render to FBO, then copy the appropriate buffer
    to PBO, then re-assign this PBO as a VBO.  You might be able to
    implement this right now using a post draw callback attached to an
    osg::Camera set up as at RTT to FRAME_BUFFER_OBJECT.


Thanks, I will try this.

I was really wondering if anything had been done since the conversation
between you and Art Tevs from osg-submissions, 28/11/08 (thread entitled
"General PBO implementation for GPU only memory handling (usefull for
CUDA interoperability)"), in which Art said:

    This shouldn't be a big problem. The good thing with PBOs is that
    just changing its target will change its functionality. Hence I
    think, it shouldn't be a big issue to just bind the PBO as VBO
    before one does need it (assuming there is correct data in the PBO).


I'll let you know how I get on, if I get anywhere at all.

you can also maybe look at this thread for some examples of PBO use in a callback:

http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/53432

rgds
jp


Best regards,

David



_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to