Re: [osg-users] [osgCompute] Question about map() of index buffer

2011-09-21 Thread Mick Keller
Dear Zhen, yes you are right. osgCompute::MAP_DEVICE_INDICES is already documented and it will be included in the code in the upcoming release. We are sorry for any confusion. Best regards, Mick SVT Group -- Read this topic online here:

[osg-users] [osgCompute] Question about map() of index buffer

2011-08-26 Thread Zhen Xu
Hi, From web of osgCompute, I find a geometrie's index buffer can be mapped, as follows: osg::ref_ptrosgCompute::Memory memory = memoryAdapter-getMemory(); void* devInd = memory-map( osgCompute::MAP_DEVICE_INDICES ); When I read the source code of osgCuda::Geometry, I found some problem as