[osg-users] [osgCompute] Persistant texture modification using osgCompute / CUDA
jens.svt at googlemail.com
Thu Nov 5 07:12:15 PST 2009
I have taken a look at your code fragment and i have found out that you write into osgCuda::Arrays.<br> This might cause your problem because the "osgCuda::Array" class is an abstraction for "cudaArray" objects <br> which are read-only. Instead you should use "osgCuda::Buffer" objects into which kernels are allowed to write.
In the current version of osgCuda you get an error message when mapping the array as a TARGET for the DEVICE.
Read this topic online here:
More information about the osg-users