Hi,
On 02/02/11 09:52, Serkan Ergun wrote:
J.P. Delport wrote:
Hi,
I've recently been fiddling/debugging with a similar setup, nl RTT to
osgCuda. From what I've seen in the code (r314) the copy step is missing
for osgCompute::MAP_DEVICE_SOURCE. Allocation of a copy happens, but if
the texture does not have an osg::Image, no sync is taking place.
Sending my test app to the osgCuda devs is on my todo list that does not
seem to want to get shorter. I was also not sure if I have to attach
some kind of callback.
cheers
jp
Hi,
Is there any fix or workaround for this that you've found?
No, I haven't had time to look at this further. I expect that a
cudaMemCpy from the RTT texture to the allocated osgCuda copy will fix it.
jp
cheers
Serkan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=36253#36253
_______________________________________________
osg-users mailing list
[email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org