Hi Mick/Jens,

our small research group is experimenting with osgCompute to expand the capabilities of our existing GLSL framework for doing real-time image processing.

I've looked through the examples and we made a few simple tests using osg::Image as input like in osgTexDemo. What we'd like to do though is use an existing texture (already uploaded to GPU and possibly already passed through some RTT passes) as input to osgCompute. That is, we'd like to copy data as little as possible and avoid any CPU<->GPU copies.

I've seen calls to cudaGraphicsGLRegisterImage in osgCuda/Texture, but I'm not sure if it is possible to set a mapping in osgCompute so that an existing texture is only used as an input and not synced or copied to host memory at all. Is it possible?

regards
jp

--
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to